[GraphHopper] How to find all the roads leading around a point
dos65
qtankle at gmail.com
Fri Feb 13 05:33:01 UTC 2015
It possible, you should use low level api.
1) create graph
2) find closestNode by your lat, lon
3) create edgeExplorer from graph, edge iterator and iterating by them
in your distance limit
Look to docs/core/low-level-api.md and any routing algorithm's sources.
13.02.2015 04:38, Gp P пишет:
> Hi List ,
>
> I am bit new to Graphhopper , was earlier using lucene + sptial4j ,
> but doesn't seem relevant to my problems below
>
> My requirment is pretty simple (hopefully with grashopper as its graph
> based)
>
> 1. I want to find list all roads (connecting to or leading) from a
> point on the road within 2 km
> 2. Exact Points/Coordinates on all connecting roads after 2 km from
> give point on the road
>
> Is it possible with grasshopper ? I have use java or low level api as
> I will using it embedded with java program
>
> I tried to find to documentation regarding it but days of googling did
> find the relevant info , also trying look at github code but i guess
> its pretty much for a new guy
>
>
> Thanks ,
> G
>
>
> --
>
> B*e * the*Ch*ange
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150213/6dce5ab1/attachment.html>
More information about the GraphHopper
mailing list