logo separator

[mkgmap-dev] [PATCH] apply_local action (variable substitution in relation members)

From Marko Mäkelä marko.makela at iki.fi on Tue Dec 22 22:37:52 GMT 2009

Hi Clinton,

On Tue, Dec 22, 2009 at 04:45:20PM +0100, Clinton Gladstone wrote:
> Hm... I tried this out, however I couldn't get a name for the following
> boundary which runs down the middle of the Rhine:
> http://www.openstreetmap.org/?lat=49.23141&lon=8.38788&zoom=16&layers=B000FTF
> This I suppose is a rather complicated example, as the line in question
> is an administrative boundary without a name, but it has five relations
> defining various boundaries. Am I doing something wrong, or does the way
> this item was tagged prevent the name from being displayed?

I do not see anything obviously wrong in the data.  According to the wiki,
Germany uses type=multipolygon relations instead of type=boundary, but
the styles/default/lines should accept both.

The boundary lines around here are similar (relations with multiple admin
levels) and work just fine:

I added the left:city, right:city on the boundary lines before I learned
that the names naturally belong to relations, not to the boundary lines.
The left:*, right:* rules will not kick in in the default style.

Also the suburban borders in Helsinki obtain correct names from the relations,
as you can see in my Finnish map at http://www.polkupyoraily.net/osm/.
In Hämeenlinna, boundaries are named both by left:suburban, right:suburban
and by relations.  The relations must have been added there some time
this year.

I hope that this helps you further.  By the way, this forum discussion
about misnamed boundaries in mkgmap-generated German maps could be related:

Best regards,


More information about the mkgmap-dev mailing list