logo separator

[mkgmap-dev] roadspeed in default style

From GerdP gpetermann_muenchen at hotmail.com on Fri Mar 13 17:59:56 GMT 2015

Hi all,

don't know which version is better, but both contain some flaws:

I think these two rules 
maxspeed~'.*:urban'             { set maxspeed=50 }
maxspeed~'.*:rural'             { set maxspeed=90 }

make it impossible that these 4 rules will ever fire:
maxspeed=AT:rural               { set maxspeed=100 }
maxspeed=DE:rural               { set maxspeed=100 }
maxspeed=RU:urban               { set maxspeed=60 }
maxspeed=UA:urban               { set maxspeed=60 }

I suggest to use 
maxspeed~'.*:urban' & maxspeed!=RU:urban & maxspeed!=UA:urban { set
maxspeed=50 }
maxspeed~'.*:rural' & maxspeed!=AT:rural & maxspeed!=DE:rural { set
maxspeed=90 }

Gerd


Bernd Weigelt wrote
> Am Freitag, 13. März 2015, 10:24:38 schrieb GerdP:
>> please post it
> 
> see the attached file
> 
> Bernd
> -- 
> amarok2 now playing:
> artist: Angélique Kidjo
> title: Salala
> album: Djin Djin
> 
> _______________________________________________
> mkgmap-dev mailing list

> mkgmap-dev at .org

> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> roadspeed (2K)
> <http://gis.19327.n5.nabble.com/attachment/5837023/0/roadspeed>





--
View this message in context: http://gis.19327.n5.nabble.com/roadspeed-in-default-style-tp5836280p5837027.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.


More information about the mkgmap-dev mailing list