[GraphHopper] Get only tower nodes from routing

Falk Morus falk.m at gmx.de
Thu Apr 23 15:38:07 UTC 2015


Hi,
I'm implementing an algorithm, which has to look for certain information 
on every junction node within a calculated route. Currently I'm 
following the git tutorial:

QueryResult from, QueryResult to, QueryGraph, Path = Dijkstra().calcPath()

But the result set I got seems to have all nodes in it. NodeAccess does 
not seem to have any flag to distinguish between node kinds. So:

1. Is there a way, to get only tower ( = junction/intersection) nodes of 
a route (which I presume are already used for routing)?
2. A little off topic: Is there a way to tag those nodes, persist and 
read those tags later, when calculating new routes?

Thanks in advance.
Sincerely, Falk



More information about the GraphHopper mailing list