[mkgmap-dev] Names and relations (multipolygons)From Volker Bosch volker.bosch at t-online.de on Sun Jan 25 16:07:38 GMT 2009
Dear all,
is there a possibility, that the polygons (ways) of a relation
(multipolygon) "inherit" the name tag of the relation?
Background: Sometimes lakes with islands are mapped in OSM as multipolygon
relation and the name tag of the lake is attached to the relation only, e.g.
<relation id="28547">
<member type="way" ref="26419086" role="outer"/>
<member type="way" ref="26419094" role="inner"/>
<tag k="name" v="Bagnosee (r)"/>
<tag k="type" v="multipolygon"/>
</relation>
Unfortunately none of the following code lines in my style/relation file worked
with mkgmap revision 848 (the lake never had a name):
type=multipolygon { apply { add name='${name}' } }
type=multipolygon { apply { set name='${name}' } }
type=multipolygon { apply { name '${name}' } }
Any hints wellcome, thanks!
Best regards,
Volker.
****---*------*------*------*------*------*------*------*------*------*
*\Viele -- Volker Bosch, Humboldtstr.21, 70771 Leinf.-Echterdingen
**\ Gruesse -- Tel:(0711)713967, E-Mail: volker.bosch at t-online.de
***\ -- http://www.s-line.de/homepages/bosch
More information about the mkgmap-dev mailing list |