[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 13:36:14 UTC 2013


Please see answer and link from Rodolphe. You can merge OSM files and 
make graphhopper import that combined work.

If you have different requirements like for Android etc you can create 
an issue but it is not something simple.

Regards,
Peter.


> Hi Rodolphe,
>
> Yeah we can create multiple instances.
> How at route over that multiple instances of GraphHopper at a time in
> a singleshot. Can you please direct me?
>
> Thanks in Advance
>
>
> On Wed, Dec 11, 2013 at 6:40 AM, Peter K <peathal at yahoo.de
> <mailto:peathal at yahoo.de>> wrote:
>
>     Thanks Rodolphe, that is probably closer to what Pavan wanted :) !
>
>     Regards,
>     Peter.
>
>     > pavan534 rocking <pavan534.rock at gmail.com
>     <mailto:pavan534.rock at gmail.com>> writes:
>     >
>     >> 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.
>     > Hi,
>     >
>     > You can easily do this with osmosis, just merge your files
>     before to use
>     > them, some explications here :
>     >
>     >
>     http://www.kindle-maps.com/blog/simple-merging-of-openstreetmap-data-files.html
>     >
>     > Regards
>     >
>
>
>     _______________________________________________
>     GraphHopper mailing list
>     GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>     https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
>
> --
>
>
>
>
> Thanks
> Pavan  Kumar Muttigi
> +91-9640844510
>
>
>
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper





More information about the GraphHopper mailing list