Parse and unparse Well-known Text (WKT) strings to and from
Elm Geometry
types from elm-geojson.
Supported Geometries include POINT
, MULTIPOINT
, LINESTRING
, MULTILINESTRING
, POLYGON
,
MULTIPOLYGON
, and GEOMETRYCOLLECTION
.
read : String -> Result String GeoJson.Geometry
Attempt to read a WKT string and parse it into a Geometry
type from elm-geojson
.
write : GeoJson.Geometry -> String
Write a Geometry
type from elm-geojson
to a String
, formatted as a WKT string.