logo separator

[mkgmap-dev] maxspeed=none

From WanMil wmgcnfg at web.de on Thu Jan 23 11:56:34 GMT 2014

Hi Thorsten,

I cannot reproduce your problem.
maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh()=*     { set 
mkgmap:road-speed-class = 0 }
does not fire if maxspeed=none because in this case maxspeedkmh()=* is 
evaluated to false.

To ensure that is does not fire you can add the echotags action:
maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh()=*     { set 
mkgmap:road-speed-class = 0; echotags "maxspeed=none?" }

WanMil

>
> Hi,
>
> I see currently the problem that with routing using the shortest
> time my 62s routes me down from the motorway over service=parking_aisle
> roads back to the highway.
>
> When debugging this I found out that there are a lot of
> "maxspeed=none" tags at least in my area, which leads to a
> set mkgmap:road-speed-class = 0, which is of course really slow.
>
> Doesn't seem to be the only problem, but what would be the
> best way to fix this? Is it possible to execute the rule
> "maxspeed=* & mkgmap:road-speed-class!=* & maxspeedkmh()=*"
> only if the maxspeed value is a numerical one and else ignore it?
>
> Thorsten
>



More information about the mkgmap-dev mailing list