The patch moves the road speed calculations based on the maxspeed tag to the style file. It uses the new maxspeedkmh function to calculate the new internal tag mkgmap:road-speed-class.

This makes the ignore-maxspeeds option superfluous. Anyhow I have kept it to ignore the evaluation of the new tag mkgmap:road-speed-class.

The second advantage is that maxspeed can be removed from the builtin-tag-list which meaans the maxspeed tag is not loaded if not referenced in the style file.

WanMil

Attachment: maxspeed_function_v2.patch
Description: application/download

_______________________________________________
mkgmap-dev mailing list
[email protected]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to