hotosm / old-export-tool

Version 1 of the Export Tool is suspended - please see V3 https://github.com/hotosm/osm-export-tool
16 stars 18 forks source link

Update export_request_processor.pl - fixing prj bug #95

Open severinmenard opened 9 years ago

severinmenard commented 9 years ago

Changed deprecated EPSG:3785 PRJ non recognized by ArcGIS by EPSG:3857 tested on ArcGIS. Should solve https://github.com/hotosm/hot-exports/issues/94, https://github.com/hotosm/hot-exports/issues/80, https://github.com/hotosm/hot-exports/issues/76 and https://github.com/hotosm/hot-exports/issues/75

pnorman commented 9 years ago

The OCG WKT for 3857 is PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["Popular Visualisation CRS",DATUM["Popular_Visualisation_Datum",SPHEROID["Popular Visualisation Sphere",6378137,0,AUTHORITY["EPSG","7059"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6055"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4055"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],AUTHORITY["EPSG","3857"],AXIS["X",EAST],AXIS["Y",NORTH]]

I would think it would be better to use that, which is just a s/3785/3857/

severinmenard commented 9 years ago

I have no problem with this one, as long as it works with ArcGIS, so it must be tested first. I do not have ArcGIS, will meet ArcGIS users in a couple of weeks, so meanwhile I would stick with my modification that uses a prj info recognized by both QGIS and ArcGIS. Le 1 avr. 2015 20:06, "Paul Norman" notifications@github.com a écrit :

The OCG WKT http://spatialreference.org/ref/sr-org/6864/ogcwkt/ for 3857 is PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["Popular Visualisation CRS",DATUM["Popular_Visualisation_Datum",SPHEROID["Popular Visualisation Sphere",6378137,0,AUTHORITY["EPSG","7059"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6055"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4055"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],AUTHORITY["EPSG","3857"],AXIS["X",EAST],AXIS["Y",NORTH]]

I would think it would be better to use that, which is just a s/3785/3857/

— Reply to this email directly or view it on GitHub https://github.com/hotosm/hot-exports/pull/95#issuecomment-88616315.