Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

give projection options, or default to 4326 #80

Open
mikelmaron opened this issue Sep 14, 2014 · 3 comments
Open

give projection options, or default to 4326 #80

mikelmaron opened this issue Sep 14, 2014 · 3 comments

Comments

@mikelmaron
Copy link

No description provided.

@dodobas
Copy link
Collaborator

dodobas commented Sep 14, 2014

at the moment results are "hardprojected" to the http://spatialreference.org/ref/epsg/3785/ projection at ... https://github.com/hotosm/hot-exports/blob/master/custom_data_export/cde.cpp#L75
I don't know what were the reasons to do the reprojection the in the first place, or why is epsg:4326 a better choice at the moment...

This change requires modifications to the CDE C++ utility, backend export processors and RubyOnRails frontend applcation

@pnorman
Copy link

pnorman commented Sep 16, 2014

at the moment results are "hardprojected" to the http://spatialreference.org/ref/epsg/3785/

The more common name for that string is EPSG:3857.

It's also worth noting that it only attempts the string if the SRS https://github.com/hotosm/hot-exports/blob/master/custom_data_export/cde.cpp#L72 fails.

As a projection for transferring data in, 3857 is reasonable provided you aren't working outside +/- 85 degrees latitude, particularly for OSM data when most work in creating that data will have been done in that projection.

The C++ utility does calculate way_area, which is particularly meaningless in WGS84, being a non-conformal projection.

@dodobas dodobas added the high label Oct 16, 2014
@AndrewBuck
Copy link

If we change the hardcoded projection to 4326 not only does that somewhat address this issue, but it will likely fix the bugs assosciated with issue #75 as well.

severinmenard pushed a commit to severinmenard/hot-exports that referenced this issue Apr 1, 2015
Changed deprecated EPSG:3785 PRJ non recognized by ArcGIS by EPSG:3857 tested on ArcGIS. Should solve hotosm#94, hotosm#80, hotosm#76 and
hotosm#75
severinmenard pushed a commit to severinmenard/hot-exports that referenced this issue Apr 1, 2015
Changed deprecated EPSG:3785 PRJ non recognized by ArcGIS by EPSG:3857 tested on ArcGIS. Should solve hotosm#94, hotosm#80, hotosm#76 and
hotosm#75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants