Hello,
I am having the same issue as this past question from 2013: Load Open Street Map Data. However, when I correct file paths as suggested in the thread, the run fail persists.
I am using the Load OSM File tool from the OpenStreetMap Toolbox to load a country level .osm file into a geodatabase feature class. I turned off background geoprocessing. When I run the tool, I receive the following error message:
--
Messages
Executing: OSMGPFileLoader P:\Team\Projects\SriLanka_Transport\SriLanka_Transport.gdb\sri-lanka-latest.osm_01.osm CONSERVE_MEMORY # P:\Team\Projects\SriLanka_Transport\SriLanka_Transport.gdb\LKA_OSM_1 P:\Team\Projects\SriLanka_Transport\SriLanka_Transport.gdb\LKA_OSM_1\LKA_OSM_1_osm_pt P:\Team\Projects\SriLanka_Transport\SriLanka_Transport.gdb\LKA_OSM_1\LKA_OSM_1_osm_ln P:\Team\Projects\SriLanka_Transport\SriLanka_Transport.gdb\LKA_OSM_1\LKA_OSM_1_osm_ply
Start Time: Thu Jan 2 15:42:51 2020
Counting elements in OSM file...
There is an unclosed literal string. Line 11495235, position 17.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.XmlReader.IsStartElement()
at ESRI.ArcGIS.OSM.GeoProcessing.OSMToolHelper.countOSMStuff(String osmFileLocation, Int64& nodeCapacity, Int64& wayCapacity, Int64& relationCapacity, ITrackCancel& CancelTracker)
at ESRI.ArcGIS.OSM.GeoProcessing.OSMGPFileLoader.Execute(IArray paramvalues, ITrackCancel TrackCancel, IGPEnvironmentManager envMgr, IGPMessages message)
Failed to execute (OSMGPFileLoader).
Failed at Thu Jan 2 15:46:25 2020 (Elapsed Time: 3 minutes 33 seconds)
--
Does anyone have an idea of what I could be doing wrong? Apologies in advance if this is a duplicate of another question.
Software used:
ArcMap version 10.7
ArcGIS Editor for OpenStreetMap 10.5.x for Desktop