I want to get route between two neighborhood countries, I converted pbf files to grapphopper format:
./graphhopper.sh -a import -i germany.osm.pbf ./graphhopper.sh -a import -i moldova.osm.pbf
But when I try to load those countries I get next error:
GraphHopper graphHopper = new GraphHopper().forMobile(); graphHopper.load(new File(mOSMData, "germany-gh").getAbsolutePath()); graphHopper.load(new File(mOSMData, "poland-gh").getAbsolutePath());
Caused by: java.lang.IllegalStateException: graph is already successfully loaded
Is there any solution for that or GraphHopper can work only with one OSM data at the same time and there is no way to connect two countries or two cities if there are different folders?