Esri / arcgis-osm-editor

ArcGIS Editor for OpenStreetMap is a toolset for GIS users to access and contribute to OpenStreetMap through their Desktop or Server environment.
Apache License 2.0
392 stars 129 forks source link

OSM File Loader tool causes coordinate shift #200

Closed ghost closed 5 years ago

ghost commented 5 years ago

I've successfully loaded an .osm file as feature dataset in ArcMap using the Load OSM File tool. The problem I have now is that the generated output is not properly aligned with my basemap which has projection RD New. The tool seems to cause a visible shift in the coordinates of the final output OpenStreetMap lines. Normally this is easily fixed by using the Project tool to reproject the feature dataset to the desired coordinate system. However, according to the properties, the coordinate system of the feature classes created are already set to RD New, making it impossible to reproject the data.

Any help would be more than welcome!

screenshot 2019-02-28 at 14 31 05 screenshot 2019-02-28 at 14 30 40 screenshot 2019-02-28 at 14 30 13
ThomasEmge commented 5 years ago

What was the resolution?

There is nothing really in the OSM tools that explicitly handles spatial references. The tools should be reacting to the settings in the geoprocessing environments. In other words, the default behaviour is to take the inputs as is and that is geographic WGS84. If a different spatial reference is set, then the inputs will be projected on-the-fly by the loader tool respecting the environment settings. Reprojecting the original WGS84 downloaded dataset to your custom 'RD new' projection should take of the shift.