[GraphHopper] get way contains edge closest

Peter graphhopper at gmx.de
Fri Jul 10 08:53:51 UTC 2015


Hi Fred,

this is not possible you have to store the tags while import in another
data structure (same as in your other answer) and fetch the osm id from
the edge id:
edge.getEdge

Regards,
Peter

On 10.07.2015 10:14, Fred Laurent wrote:
> Hello ,
>   EdgeIteratorState edge =
> locationIndex.findClosest(-18.8518824,47.4817823,EdgeFilter.ALL_EDGES).getClosestEdge();
>
> how get the specific way_id who has egde like node ref?
> i.e <way id='4958218' timestamp='2007-07-25T01:55:35+01:00'
> version='3' changeset='2211'>
>       <nd ref='218963'/> ref = edge
> thank you
>
>
> _______________________________________________
> 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/20150710/e99340e2/attachment.html>


More information about the GraphHopper mailing list