[GraphHopper] Select nodes by OSM-ID

Peter K peathal at yahoo.de
Wed Nov 27 22:11:50 UTC 2013


Hi there,

the GraphHopper API is a bit higher level API where you can indeed 
route only from lat,lon

The lower level "Graph" allows you to select every node you like. To 
get this node from lat,lon I'm using a quadtree-like structure 
(LocationIndexTree). Now you need such an index in 3D. Or use one index 
per floor or similar.

Regards,
Peter.

> Hello,
>
> "is there any chance to select the start- and endnode for routing by
> their OSM-ID?"
>
> I dont know, i'm new with Graphhopper
>
>
> "Maybe there are other suggestions too, how an indoor-routing can be
> done?"
>
> I did an indoor location system for android, I will need to apply the
> routing too in a near future.
> Are you using the OSM data structure for the indoor nods? If you have
> your own structure you can add altitude information?
>
>
> On Wed, Nov 27, 2013 at 1:14 PM, Philipp Thöricht
> <philipp.thoericht at mailbox.tu-dresden.de
> <mailto:philipp.thoericht at mailbox.tu-dresden.de>> wrote:
>
>     Currently the only way to select a node is, to feed the algorithm with
>     its gps-coordinate. Or is this assumption wrong?
>
>     To explain my approach at the indoor-routing:
>     The plan is to have the outdoor-map from OSM and the indoor-maps of
>     several buildings in one OSM-file. So no individual floor-maps, or
>     buildings, because in this case the problem would be to find the right
>     builingentrance when you come from outside and want to go to a
>     certain room.
>
>     Regards,
>     Philipp
>
>
>     On 26.11.2013 12:40, Bruno Marques wrote:
>     > Use some IDs to identify the floor plan were the user is, to
>     know witch
>     > nods you can use.
>     > I guess thats your problem with nods above other nods!?
>     >
>     >
>     > On Tue, Nov 26, 2013 at 11:36 AM, Philipp Thöricht
>     > <philipp.thoericht at mailbox.tu-dresden.de
>     <mailto:philipp.thoericht at mailbox.tu-dresden.de>
>     > <mailto:philipp.thoericht at mailbox.tu-dresden.de
>     <mailto:philipp.thoericht at mailbox.tu-dresden.de>>> wrote:
>     >
>     >     Hi,
>     >
>     >     is there any chance to select the start- and endnode for
>     routing by
>     >     their OSM-ID?
>     >
>     >     I'm currently working on an indoor-routing with graphhopper
>     and the
>     >     problem is, that nodes can be one above the other. So they
>     have the same
>     >     GPS coordinate.
>     >
>     >     Maybe there are other suggestions too, how an indoor-routing
>     can be
>     >     done?
>     >
>     >     Regards,
>     >     Philipp
>     >
>     >     _______________________________________________
>     >     GraphHopper mailing list
>     >     GraphHopper at openstreetmap.org
>     <mailto:GraphHopper at openstreetmap.org>
>     <mailto:GraphHopper at openstreetmap.org
>     <mailto:GraphHopper at openstreetmap.org>>
>     >     https://lists.openstreetmap.org/listinfo/graphhopper
>     >
>     >
>     >
>     >
>     > --
>     > t
>     >
>     >
>     > _______________________________________________
>     > GraphHopper mailing list
>     > GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>     > https://lists.openstreetmap.org/listinfo/graphhopper
>     >
>
>
>     _______________________________________________
>     GraphHopper mailing list
>     GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
>     https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
>
> --
> t
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper





More information about the GraphHopper mailing list