Hi Bernd,
I think the attached version with the change proposed by Andrzej should work.
The generic rules cannot fire when maxspeed is set to a numeric value.
Gerd
> From: weigelt.bernd@web.de
> To: mkgmap-dev@lists.mkgmap.org.uk
> Date: Fri, 13 Mar 2015 20:03:25 +0100
> Subject: Re: [mkgmap-dev] roadspeed in default style
>
> 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: Wet Wet Wet
> title: Love Is All Around [Live At Adam Street]
> album: Greatest Hits
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev