I am trying to import OSM .bz2 file using the Load OSM file in OSM Toolbox

4353
0
08-13-2014 03:52 AM
WilliamLuscombe
New Contributor III

It is a large file as it is the world.

I am getting the following error:

 

Data at the root level is invalid. Line 1, position 1.

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   at System.Xml.XmlTextReaderImpl.Read()

   at System.Xml.XmlReader.MoveToContent()

   at ESRI.ArcGIS.OSM.GeoProcessing.OSMToolHelper.countOSMStuff(String osmFileLocation, Int32& nodeCapacity, Int32& wayCapacity, Int32& relationCapacity, ITrackCancel& CancelTracker)

   at ESRI.ArcGIS.OSM.GeoProcessing.OSMGPFileLoader.Execute(IArray paramvalues, ITrackCancel TrackCancel, IGPEnvironmentManager envMgr, IGPMessages message)

Failed to execute (OSMGPFileLoader).

 

I believe that you this is the right tool but there does not seem to be a memory error.

Tags (1)
0 Kudos
0 Replies