logo separator

[mkgmap-dev] [PATCH v1] modify road speed and class from a POI

From Ralf Kleineisel ralf at kleineisel.de on Wed Oct 14 07:45:52 BST 2009

On 10/14/2009 01:14 AM, Mark Burton wrote:

> These tags expect an integer value, optionally preceded by a + or -
> which make the adjustment relative to the original value.

This is a good idea.

But I think it would be better to allow for non-integer values of
adjustment. E.g. if I have a long street through a city with 10 traffic
lights I don't want it to end up with a road_speed of -8. This might route
me through small narrow side streets. A correction value of "-0.1" for every
traffic light might be better. The value can be rounded to the nearest
integer after all corrections are applied.

Another suggestion: Add the possibility to mark a road with a minimum and
maximum road_speed it can ever get when being corrected in the above way. E.g.:

highway=primary [road_speed=4 min_road_speed=2 max_road_speed=5]



More information about the mkgmap-dev mailing list