[GraphHopper] Fwd: Need help on loading more than one OSM file to route over using Graph Hopper

Peter K peathal at yahoo.de
Wed Dec 11 12:38:45 UTC 2013


Hi Pavan,

just create (and configure) multiple instances of GraphHopper.

Regards,
Peter.


>> Hi,
>>
>> I am new to  Open Street Maps  as well as Graph Hopper. Can any one
>> provide me some sample snippet or directions to load more than one
>> OSM files at a time to route over.
>>
>> Actually I tried with this to read an osm file using Graph Hopper
>> application API.
>>
>> GraphHopperAPI instance = new GraphHopper().setInMemory(true, true)
>> .setEncodingManager(em).setGraphHopperLocation(location)
>> .setOSMFile("output.osm").disableCHShortcuts(); GraphHopper hopper =
>> (GraphHopper) instance; hopper.importOrLoad();
>>
>> Is there a way on it to load more than one OSM files which will be
>> helpful for me.
>>
>> Thanks in Advance
>>
>>
>> -- 
>>
>>
>
>
>
> Thanks
> Pavan  Kumar Muttigi
> +91-9640844510




More information about the GraphHopper mailing list