logo separator

[mkgmap-dev] [PATCH v1] maxspeedkmh style function

From Henning Scholland osm at aighes.de on Thu Aug 29 20:56:10 BST 2013

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'n not sure, but you are only covering the cases:

only digits
digits and "mph"
digits and "kmh"



asking taginfo, there are also "km/h" in the data (almost more often
then kmh). But my java-knowledge is not that good. So if I'm wrong
forgive me.

Otherwise I like both of your maxspeed-patches. Maybe it would be
useful to have also a maxspeedmph-function.

Henning


Am 28.08.2013 22:10, schrieb WanMil:
> The patch adds a new style function maxspeedkmh() that returns the 
> maxspeed tag in km/h.
> 
> Don't know if that's useful for anyone but it's also a kind of 
> preparation to move the maxspeed handling from Java source code in 
> StyledConverter to the style files. It might be used later on to
> set the roadspeed.
> 
> WanMil
> 
> 
> _______________________________________________ mkgmap-dev mailing
> list mkgmap-dev at lists.mkgmap.org.uk 
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)

iQEcBAEBAgAGBQJSH6daAAoJEPFgsWC7jOeTAdcIALYMFp6Yl2F+Tvl5msY9LzXQ
NfJpTvo9EIE7zBPefWjgxEPvQoegX3+CCxDUMa7b7pNlNEDA1FNToJAFMUkEZ1yE
MP6GZsY0WSHAIr6Lj2Tu83HWRcWJRsA/8tq2Wf0V5FmMr1EppUW+xZoJI595GAaV
liSHuDkTA3IzgauWyzwNi+YbWwAJktSksuFfIsM0KAelTIaUwjKgpg7+8Yyfzknb
hBqzp5HBxeMiuI6ExOVzrg1q4BtSFO4UHnb8V24AiCcjq/OQ9ZX+2w774IHw6kf7
1zsE2cvz0LV6Rc0ab1QiYA1/xMPLz0NRCgb1UdCpF5Li1It+kZE3DyIpRDAiYcY=
=0wpQ
-----END PGP SIGNATURE-----



More information about the mkgmap-dev mailing list