
Hi Andrjez, I've tested with the attached patch and it seems to work fine. I think the advantage of my version is that it doesn't override an existing mkgmap:road-speed=* tag. Gerd
To: mkgmap-dev@lists.mkgmap.org.uk From: popej@poczta.onet.pl Date: Fri, 14 Aug 2015 10:30:25 +0200 Subject: Re: [mkgmap-dev] maxspeed evaluation
Hi Gerd,
The tag mkgmap:road-speed-max=* is only evaluated by mkgmap when the tag mkgmap:road-speed=*. If mkgmap:road-speed is not set, the value in mkgmap:road-speed-max is completely ignored.
My early proposition for limiting speed looked like this: ... { set mkgmap:road-speed='-0'; set mkgmap:road-speed-max = 2 }
This was solution, that I found working in my tests.
Is mkgmap:road-speed-max evaluated after adding mkgmap:road-speed? If yes, then your proposition looks better.
-- Best regards, Andrzej _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev