[GraphHopper] How to find all the roads leading around a point
Gp P
gp at gpism.com
Fri Mar 6 07:33:08 UTC 2015
Hi Peter ,
Thanks for quick response ....can pl give code or point me to code snippet
it would be great and save me lot of time
On Fri, Mar 6, 2015 at 12:54 PM, Peter <graphhopper at gmx.de> wrote:
> On 06.03.2015 07:13, Gp P wrote:
>
> As you can see above , i trying get all edges with distance
>
>
> you will need to use a graph exploration algorithm like Dijkstra with a
> shortest weighting and specify the weight limit to the distance you want
>
> > edgeIterator.setDistance(*distance*);
>
> oh, that should throw an exception if called before 'next' as this sets
> the distance for one specific edge not for the iterator
>
> Peter
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
--
B*e * the *Ch*ange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20150306/d0ce8626/attachment.html>
More information about the GraphHopper
mailing list