Tuesday 31 May 2016

coordinate system - How to obtain WGS84 or Projected Bounds for given EPSG in postgis?


On the http://spatialreference.org, for almost all SRS are definied WGS84 Bounds and Projected Bounds.


How to obtain this bounds from postgis? Spatial_ref_sys does not contains this information.



Answer



You'll have to download the EPSG database and pull the information you want from it. They do provide PostgreSQL-compatible downloads. http://www.epsg.org/DownloadDataset


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...