Hi Rossano,

this is not implemented but should not be hard to do. E.g. for the edges
you could do (I don't know the format just an example for a debug output):

iter = graph.getAllEdges();
while(iter.next()) {
   System.out.println(iter.getBaseNode() + "->" + iter.getAdjNode() + ",
" + iter.fetchWayGeometry(2) + ", " + iter.getDistance() + ...);
}

Regards,
Peter

On 24.12.2014 18:02, Rossano Schifanella wrote:
> Hi all,
>
> is there a way to export the binary graph data (nodes, edges files) in
> a plain text format or an alternative format that can be imported by
> libraries like networkx or igraph?
>
> Thanks!
>
> Regards,
> Rossano
>
>
>
> _______________________________________________
> GraphHopper mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/graphhopper


_______________________________________________
GraphHopper mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/graphhopper

Reply via email to