arcgis-osm-editor icon indicating copy to clipboard operation
arcgis-osm-editor copied to clipboard

Missing osm_domains.xml in 10.7

Open Chaz6 opened this issue 5 years ago • 9 comments

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 avatar Jun 14 '19 13:06 Chaz6

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

Chaz6 avatar Jun 14 '19 14:06 Chaz6

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

ThomasEmge avatar Jun 14 '19 19:06 ThomasEmge

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

Chaz6 avatar Jul 14 '19 14:07 Chaz6

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

simongis avatar Aug 30 '19 03:08 simongis

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

robblis avatar Aug 30 '19 16:08 robblis

This appears to have reared its head again in 10.8.

image

image

image

Chaz6 avatar Aug 03 '20 11:08 Chaz6

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 avatar Aug 03 '20 11:08 Chaz6

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

Chaz6 avatar Aug 03 '20 12:08 Chaz6

@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.

ThomasEmge avatar Aug 03 '20 23:08 ThomasEmge