[GraphHopper] Getting nodes within a cricle

Peter graphhopper at gmx.de
Sun Jul 26 14:52:36 UTC 2015


Hi Hazem,

you can use the BreadthFirstSearch class and start via a node fetched
from locationIndexTree, then limiting expansion with a DistanceCalcEarth
or similar in the goFurther method.

You can fetch the junctions nodes geometry (nodeAccess.getLat/getLon)
and/or fetch the pillar nodes via edge.fetchGeometry

Kind Regards,
Peter

On 25.07.2015 13:59, Hazem Safetli wrote:
> Hi,
>
> How can I get the all GHPoints (nodes) within a util.shapes.Circle?
>
> Regards,
> Hazem
>




More information about the GraphHopper mailing list