To Christian Gawron

Thank you for your tip. I will try to use it for the next release of  
my map.

David

> Hi Daniel,
>
> you can use regular expressions to filter contour lines by elevation  
> - here is what I do in my style file:
>
> # Contours take their name from the elevation setting.
> # multiples of 200m
> contour=elevation & ele ~ '\d*[02468]00'
>   { name '${ele|conv:m=>ft}'; }
>   [0x22 resolution 18]
> # multiples of 50m
> contour=elevation & ele ~ '\d+[05]0'
>   { name '${ele|conv:m=>ft}'; }
>   [0x21 resolution 21]
> contour=elevation
>   { name '${ele|conv:m=>ft}'; }
>   [0x20 resolution 23]
>
> You could use '\d+[27]5' for your purpose.
>
> Best wishes
> Christian



_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to