New answers tagged

3

GDAL has methods for that. From http://www.gdal.org/classOGRSpatialReference.html: "contains methods for converting between this object organization and well known text (WKT) format". ExportToWkt is probably what you need "Convert this SRS into WKT format. Note that the returned WKT string should be freed with OGRFree() or CPLFree() when no longer ...


1

Have you tried: projected coordinate systems: https://developers.arcgis.com/javascript/jshelp/pcs.html geographic coordinate systems: https://developers.arcgis.com/javascript/jshelp/gcs.html


5

I usually look at http://epsg.io or http://spatialreference.org for all my WKT needs.


4

Try to update your script and use ST_AsGeoJSON(). You can also choose the number of digits with this function. http://postgis.net/docs/ST_AsGeoJSON.html



Top 50 recent answers are included