I have a question related to this.
what does this mean exactly? What value am I getting when using the encoder.getSpeed(edgeID) method? Is it the speed limit of the osm data or is it a guess?
To be more precisely on what I wanna do: I would like to derive the congestion of a road segment by comparing actual speed data at that segment with the particular speed limit. Hence, it would be really important to know the legal speed limit of a road segment.
According to other threads that I read, it is possible to implement a custom FlagEncoder which reads the data from the osm file. Therefore I would have to add a field like EncodingDoubleValue maxSpeedLimit and then add an accessor for it. What is not entirely clear to me is, how and when do I assign this field?
Any help would be really appreaciated!