I have created graph-cache data using area.osm.pbf using graph hopper version 9.0.What I am facing currently while loading graph-cache from internal storage from android its land into exception says
"Profiles do not match: Graphhopper config: car|1078853760 Graph: car|475363489 Change configuration to match the graph or delete /data/user/0/com.bps.bpass.mainpackage/files/graph-cache/"
where as I am using config file of car which is provided by graph hopper version 9.0 so what exactlty went wrong ?
This is my code to initialze graph hopper profile
GraphHopper hopper = new GraphHopper();
** hopper.setGraphHopperLocation(graphCacheDir.getAbsolutePath());**
** Profile carProfile = new Profile(“car”)**
** .setName(“car”); // Or load actual car.json if needed**
** hopper.setProfiles(carProfile);**
** hopper.load(); // Load from graph-cache**
where as I am using config.yml sample exist in the repository of graph hopper.Need help commmunity !
Have you tried deleting the cache in /data/user/0/com.bps.bpass.mainpackage/files/graph-cache/? This happens when you change the profile and try to rerun without deleting the cache data.
I dont know why ids are Mismatched in version 9.0 even car.json is same when created graph-cache using web server and I have checked same json exist in jar file of com.graphhopper