logo separator

[mkgmap-dev] actual style rules

From Frank Stinner frank.stinner at leipzig.de on Wed Jul 22 10:19:54 BST 2020

Hi,

with a old mkgmap version (mkgmap-r4286) i use a rule like that (i use my 
own classification for polygons):

area_building=""                { name '${addr:housenumber}' }       [0x01 
level 1]
area_building=*                 { name '${area_building}' }       [0x01 
level 2]

If in the OSM-file a line like that

    <tag k='area_building' v='my home' />

it matches and in the map i have a polygon with type 0x01 and the name 'my 
home'.
The line

    <tag k='area_building' v='' />

it matches and in the map i have a polygon with type 0x01 and the 
housenumber or nothing as name.

With the actual mkgmap version (mkgmap-r4562) this not work. With v='' i 
have no match. Is this a error or a feature ;) . How can i match this?


With best regards
Frank Stinner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20200722/8727b3af/attachment.html>


More information about the mkgmap-dev mailing list