logo separator

[mkgmap-dev] maxspeed evaluation

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Aug 14 09:37:57 BST 2015

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 at lists.mkgmap.org.uk
> From: popej at 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 at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150814/1cb066b6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxspeed.patch
Type: application/octet-stream
Size: 786 bytes
Desc: not available
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20150814/1cb066b6/attachment.obj>


More information about the mkgmap-dev mailing list