I am importing the planet file and getting a strange error:
java.lang.IllegalArgumentException: fromEdges and toEdges cannot be size > 1 at the same time
at com.graphhopper.reader.osm.RestrictionTopology.<init>(RestrictionTopology.java:64)
at com.graphhopper.reader.osm.RestrictionTopology.way(RestrictionTopology.java:59)
at com.graphhopper.reader.osm.OSMRestrictionConverter.buildRestrictionTopologyForGraph(OSMRestrictionConverter.java:95)
at com.graphhopper.reader.osm.OSMReader.addRestrictionsToGraph(OSMReader.java:616)
at com.graphhopper.reader.osm.OSMReader.readGraph(OSMReader.java:180)
at com.graphhopper.GraphHopper.importOSM(GraphHopper.java:933)
at com.graphhopper.GraphHopper.process(GraphHopper.java:823)
at com.graphhopper.GraphHopper.importAndClose(GraphHopper.java:787)
at com.graphhopper.application.cli.ImportCommand.run(ImportCommand.java:36)
at com.graphhopper.application.cli.ImportCommand.run(ImportCommand.java:27)
at io.dropwizard.core.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
at io.dropwizard.core.cli.Cli.run(Cli.java:78)
at io.dropwizard.core.Application.run(Application.java:94)
at com.graphhopper.application.GraphHopperApplication.main(GraphHopperApplication.java:38)
I have imported the planet before with 9.1, but this import is using 10.0 and I also added the following to my config:
weighting: custom
turn_costs:
vehicle_types: [motorcar, motor_vehicle]
u_turn_costs: 60
custom_model_files: [car.json]
Do you see any issues that could be causing this error? This was after about 30 hours of importing.