[GraphHopper] long loading graph

Дмитрий Пучков d-puchkov at mail.ru
Wed Jul 3 13:49:56 UTC 2013


 Hello!  
I ran into another problem !
Initialization of the graph is very long, about 10 minutes on my machine (2gb RAM, 4core).


private static final String ghLoc = "/home/dmitriy/graphhopper/core/target";
private static final String testOsm = "/home/dmitriy/graphhopper/russia-european-part-latest.osm.pbf";

GraphHopper gh = new GraphHopper().setInMemory(true, false).setEncodingManager(
                new EncodingManager("CAR")).setCHShortcuts(true, true).setGraphHopperLocation(
                ghLoc).setOSMFile(testOsm);
        gh.importOrLoad();


Please, tell me.
Сan I download a graph of RAM ? Or maybe there are other ways to fast downloads.
I think perhaps need to download maps in a different format then the .pbf ?



Dmitriy Puchkov
Initialization of the graph is very long, about 10 minutes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130703/d8aa65f9/attachment.html>


More information about the GraphHopper mailing list