logo separator

[mkgmap-dev] [PATCH v2] Move maxspeed calculations to style file

From WanMil wmgcnfg at web.de on Thu Aug 29 20:22:59 BST 2013

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxspeed_function_v2.patch
Type: application/x-download
Size: 8948 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20130829/2dc59b2f/attachment.bin 


More information about the mkgmap-dev mailing list