Closed bubnenkoff closed 6 years ago
wkt = new Wkt.Wkt();
wkt.read("MULTIPOLYGON...");
wkt.toJson(); // As object
JSON.stringify(wkt.toJson()); // As string
Hello, How can we do this when extracting PostgreSQL?
If using PostGIS, use ST_Astext(geometry_column)
in your select, to get the WKB binary geometry in WKT text format
I have got MULTIPOLYGON in WKT format. I need to convert it to GeoJSON. How can I do it?