logo separator

[mkgmap-dev] maxspeed replacement don't works

From Felix Hartmann extremecarver at googlemail.com on Mon Oct 12 15:55:33 BST 2009


Chris-Hein Lunkhusen wrote:
> Hello,
>
> In my style I have a replacement for maxspeed:
>
> highway=* & maxspeed=DE:urban    {set maxspeed = 50}
>
> but this don't works in all cases.
>
> The maxspeed is added to the highway-name by the style-rule
>
> highway=* {name '${name} (${ref}) (${maxspeed})' | '${ref}
> (${maxspeed})' | '${name} (${maxspeed})' | '${name} (${ref})' | '${ref}'
> | '${name}' }
>
> see:
> <http://img82.imageshack.us/img82/9241/urban1.png>
>
> why is the DE:urban replaced for this way:
>
> http://www.openstreetmap.org/browse/way/4468547
>
> but not for this one:
>
> http://www.openstreetmap.org/browse/way/7975270
>
> ?
>
> mkgmap version is 1265.
>
> Greetings,
> Chris
>   
Because of how the rules work. Maybe another roule already matched that 
way, and only ONE rule is enacted. So if you have open rules and you 
want to be sure, add it to all of them. So you need to merge the above 
two rules into one.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>   



More information about the mkgmap-dev mailing list