[GraphHopper] Getting all the edges and nodes
Karim
karimullasaheb at gmail.com
Fri Jun 12 12:54:02 UTC 2015
Thanks a lot. This was very helpful. :)
On Fri, Jun 12, 2015 at 1:36 PM, Peter <graphhopper at gmx.de> wrote:
> Hi Karim,
>
> that should be something like
> AllEdgesIterator iter = hopper.getGraph();
> while(iter.next()) {
> iter.getEdge
> // node IDs:
> iter.getAdjNode, iter.getBaseNode
> }
>
> Regards,
> Peter
>
>
> On 12.06.2015 09:12, Karim wrote:
>
> Hello,
> I want to know how to get list of all edges indexed by graphHopper. What I
> mean is, lets say I have OSM data of a country/city. Now, I want to know
> and store all the edge IDs, node IDs after graphHopper does its own parsing.
>
> How can I achieve this?
>
> -Karim
>
>
> _______________________________________________
> GraphHopper mailing listGraphHopper at openstreetmap.orghttps://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
> _______________________________________________
> 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/20150612/9778c2e2/attachment.html>
More information about the GraphHopper
mailing list