[GraphHopper] speed limit
Peter K
peathal at yahoo.de
Mon May 19 06:14:18 UTC 2014
Hey Philipp,
the speed limit is currently not stored. We store the speed which is
either a guessed value or 0.9*maxspeed (for car). (When we make
available more properties, maxspeed will be part of this.)
Regards,
Peter.
> 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