logo separator

[mkgmap-dev] roadspeed in default style

From Bernd Weigelt weigelt.bernd at web.de on Fri Mar 13 19:22:19 GMT 2015

This should be work

maxspeed~'.*:urban'             { set maxspeed=50 }

maxspeed=RU:urban               { set maxspeed=60 }
maxspeed=UA:urban               { set maxspeed=60 }

maxspeed~'.*:rural'             { set maxspeed=90 }

maxspeed=AT:rural               { set maxspeed=100 }
maxspeed=DE:rural               { set maxspeed=100 }




Am Freitag, 13. März 2015, 20:03:25 schrieb Bernd Weigelt:
> Am Freitag, 13. März 2015, 19:44:45 schrieb Andrzej Popowski:
> > Right, thanks Gerd. Should be reversed, specific countries first and
> 
> > catch all last:
> Didn't work, because
> maxspeed=DE:rural               { set maxspeed=100 }
> is overwritten from
> maxspeed~'.*:rural'             { set maxspeed=90 }
> 
> At the moment i'm trying some rules based on mkgmap_country
> and more use of 'add' instead of #set'
> 
> Bernd

-- 
amarok2 now playing:
artist: Creedence Clearwater Revival
title: I Heard it Through the Grapevine
album: Platinum



More information about the mkgmap-dev mailing list