OSGeo / spatialreference.org

spatialreference.org source code
https://spatialreference.org
MIT License
14 stars 6 forks source link

Projections for Iowa South are now inaccurate #12

Closed jplhomer closed 8 months ago

jplhomer commented 8 months ago

Sometime in the last 30 days (maybe longer), the projections being provided on SpatialReference.org for epsg:3418 (Iowa South) are inaccurate:

These calculations are performed using https://github.com/proj4php/proj4php which hasn't seen any changes short of changing the URL on spatialreference.org to use a .txt suffix.

I'm noticing the incorrect results on https://epsg.io/3418-1696 are incorrect, too (the map shows the new incorrect bounds, which are in Canada instead of Iowa where they used to be). Apologies if this means it's not isolated to this repository, but I'm not sure exactly where to report this.

Also wrote up some findings here: https://gis.stackexchange.com/questions/474573/projections-for-iowa-south-are-now-inaccurate-epsg-spatialreference

Thanks for your hard work on this project!

rouault commented 8 months ago

As far as I can see, both the information at https://spatialreference.org/ref/epsg/3418/prettywkt2.txt and https://spatialreference.org/ref/epsg/3418/proj4.txt is accurate, and in line with the official reference of https://epsg.org/crs/wkt/id/3418

epsg dot io is not a reference site, despite the misleading name.

This is something to check with the authors of https://github.com/proj4php/proj4php

jplhomer commented 8 months ago

Thanks @rouault - giving that a shot: https://github.com/proj4php/proj4php/issues/139

jplhomer commented 8 months ago

Update: it was indeed a Proj4PHP bug https://github.com/proj4php/proj4php/pull/140