[GraphHopper] speed limit

Philipp Kraus philipp.kraus at tu-clausthal.de
Sun May 18 14:06:01 UTC 2014


Hello,

How can I get the speed limit of an edge?

I use at the moment

    public double getEdgeSpeed(int p_edge) {
        return this.getGraph().getEncodingManager().getEncoder("CAR").getSpeed(p_edge);
    }

but it seems this returns incorrect values (the values are lower than existing data).
I would like to get the current speed limit in km/h from an EdgeIteratorState or from an EdgeID.

Thanks

Philipp





More information about the GraphHopper mailing list