[GraphHopper] Error while Importing Planet file
Peter
graphhopper at gmx.de
Mon Mar 30 16:36:07 UTC 2015
Hi,
that message indicates there is something wrong with the OSM file. Maybe
there were exceptions before this too? Did you increase the Xmx settings
properly?
Also you need to tell us the GraphHopper version, OS version and java
version.
Regards,
Peter
On 29.03.2015 23:05, David SSali wrote:
> Hi Graphhopper....
> I am trying to import a planet file but am getting the following error.
>
> ==================================================
> 2015-03-26 12:33:41,767 [main] INFO com.graphhopper.reader.OSMReader -
> finished way processing. nodes: 0, osmIdMap.size:0, osmIdMap:0MB,
> nodeFlagsMap.size:0, relFlagsMap.size:0 totalMB:889, usedMB:387
> Mar 26, 2015 12:33:41 PM com.google.inject.internal.MessageProcessor
> visit
> INFO: An exception was caught and reported. Message:
> java.lang.IllegalStateException: osm must not be empty. read 757072001
> lines and 0 locations
> java.lang.IllegalStateException: Couldn't load graph
> at
> com.graphhopper.http.DefaultModule.configure(DefaultModule.java:82)
> at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
> at
> com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
> at com.google.inject.AbstractModule.install(AbstractModule.java:118)
> at com.graphhopper.http.GHServer$1.configure(GHServer.java:114)
> at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
> at
> com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:223)
> at com.google.inject.spi.Elements.getElements(Elements.java:101)
> at
> com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:133)
> at
> com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:103)
> at com.google.inject.Guice.createInjector(Guice.java:95)
> at com.google.inject.Guice.createInjector(Guice.java:72)
> at com.google.inject.Guice.createInjector(Guice.java:62)
> at com.graphhopper.http.GHServer.start(GHServer.java:62)
> at com.graphhopper.http.GHServer.main(GHServer.java:48)
> Caused by: java.lang.IllegalStateException: osm must not be empty.
> read 757072001 lines and 0 locations
> at
> com.graphhopper.reader.OSMReader.writeOsm2Graph(OSMReader.java:327)
> at com.graphhopper.reader.OSMReader.readGraph(OSMReader.java:150)
> at com.graphhopper.GraphHopper.importData(GraphHopper.java:662)
> at com.graphhopper.GraphHopper.process(GraphHopper.java:631)
> at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:604)
> at
> com.graphhopper.http.DefaultModule.createGraphHopper(DefaultModule.java:56)
> at
> com.graphhopper.http.DefaultModule.configure(DefaultModule.java:69)
> ... 14 more
> =============================================================
>
> Usually i use smaller files for countries it works.
> Could you please help point me in the right direction?
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
More information about the GraphHopper
mailing list