[GraphHopper] Replacement for the GHUtility.getCar* methods

Adam Gouge adam.gouge at ec-nantes.fr
Wed Apr 17 13:44:16 UTC 2013


(See
https://github.com/graphhopper/graphhopper/commit/439ccf4d754fdf33aa7fba193e844acf240282b5#commitcomment-2934782
 )

Before we had getOutgoing and getIncoming methods to return the incoming
and outgoing edges of a node.

These were replaced by the GHUtility.getCar* methods. Since these have been
removed, is there an easy way to do the same thing?

The simplest idea I have so far is

graph.getEdges(node, new DefaultEdgeFilter(new CarFlagEncoder(), false,
true));

but this seems rather complicated.

Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20130417/5ff08e83/attachment.html>


More information about the GraphHopper mailing list