[GraphHopper] Geoposition of an edge

Philipp Kraus philipp.kraus at tu-clausthal.de
Tue Apr 29 13:46:52 UTC 2014


Hi Peter,


Am 29.04.2014 um 08:32 schrieb Peter K <peathal at yahoo.de>:

> getting the geometry of an edge works like: edge.fetchGeometry(param)

I think it is „fetchWayGeometry“ ? The fetch option should result a point list and in which way can you get a tip to get the correct point position. I know the edge has got e.g. 20 cells and I need the geoposition of the 5th cell. I don’t understand the matching between the point list and cell number.

How can I get an EdgeIterator from an EdgeID, does exists anything like this.graph.getEdgeIterator(<EdgeID>)?

Thx

Phil






More information about the GraphHopper mailing list