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

Missing osm_domains.xml in 10.7 #206

Open Chaz6 opened 5 years ago

Chaz6 commented 5 years ago

I installed ArcGIS Editor for OSM 10.7.x Desktop (64bit) from http://www.arcgis.com/home/item.html?id=e646719bc3284a3d9d81e02b3d5abc53 and when attempting to run the "Load OSM File" tool, it fails with the message:-

[...]
Start Time: Fri Jun 14 14:05:02 2019
Counting elements in OSM file...
Counted 1122345 nodes, 145648 ways, and 2912 relations.
Unable to locate the osm_domains.xml (domain configurations) file.
Failed to execute (OSMGPFileLoader).
Failed at Fri Jun 14 14:05:05 2019 (Elapsed Time: 3.11 seconds)
Chaz6 commented 5 years ago

It appears that the path is hard-coded to C:\Program Files\ESRI\OSMEditor\Bin\osm_domains.xml which ignores the installation directory.

ThomasEmge commented 5 years ago

In ArcMap, open the Editor tool and then under the drop-down, please select the Options... entry. In the Editing Options dialog switch to the OpenStreetMap tab and there you can specify the locations on your machine. Then acknowledge with the OK button and restart the application.

image

Chaz6 commented 5 years ago

Great, thanks for the help. I hope this can be fixed in a future release.

simongis commented 5 years ago

The current build fails to install for 10.7, correct? I had an error for a fresh install againsat 10.7 so rolling back to 10.6.1 of ArcMap

robblis commented 5 years ago

The current 10.7 setup found here, http://www.arcgis.com/home/item.html?id=e646719bc3284a3d9d81e02b3d5abc53 will install on a system with ArcMap 10.7 or 10.7.1

Chaz6 commented 4 years ago

This appears to have reared its head again in 10.8.

image

image

image

Chaz6 commented 4 years ago

If I try to select the file again from the Editor options, it displays this:-

image

---------------------------
Object Not Found
---------------------------
The object named "C:\Program Files (x86)\ESRI\OSMEditor\Bin\osm_domains.xml" could not be found.
---------------------------
OK   
---------------------------

However the file is definitely there:-

C:\>dir "C:\Program Files (x86)\ESRI\OSMEditor\Bin\osm_domains.xml"
 Volume in drive C is OSDisk
 Volume Serial Number is A20E-A3FC

 Directory of C:\Program Files (x86)\ESRI\OSMEditor\Bin

18/05/2020  13:14            98,853 osm_domains.xml
               1 File(s)         98,853 bytes
               0 Dir(s)  783,298,244,608 bytes free
Chaz6 commented 4 years ago

Update: After closing and re-starting ArcMap, it is now working as expected. Perhaps it is related to first-run configuration.

ThomasEmge commented 4 years ago

@Chaz6 glad it is working now.

Correct, the configurations are only read once at the time when the applications starts. The error message you are encountering is strange indeed as you just selected the file from the dialog.