logo separator

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

From WanMil wmgcnfg at web.de on Thu Aug 29 21:11:40 BST 2013

I have directly converted the existing functionality. But it's a good 
idea to add support for km/h. maxspeedmph() is also quite easy to add.

I have started a new branch mergeroads that contains all the changes 
regarding merging of roads and moving of functionality from java source 
code to the style file.
The branch targets the two things because they are tightly coupled. It's 
much easier to implement merging of roads if some functionality is 
controlled by mkgmap: internal tags instead of hardcoded java.

I also think that I will implement the new name and ref handling within 
this branch. But we will see... :-)

WanMil

>
> 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-----
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



More information about the mkgmap-dev mailing list