Function wktToGeoJSON

  • Parse WKT input into GeoJSON output.

    Parameters

    • wkt: string

      The WKT or EWKT content as a string.

    • options: WktUserOptions = ...

      Optional options: consult the type documentation for this. You’ll need to configure options if you want a different representation of empty geometries or to plug in a method of reprojecting EWKT.

    Returns null | Geometry

Generated using TypeDoc