logo separator

[mkgmap-dev] Name of boundarys

From Minko ligfietser at online.nl on Mon Sep 19 13:53:04 BST 2011

You can take a look on my maps and my style files, I still see multiple names at the boundaries.

In the relation file I have this rule

(type=boundary | type=multipolygon) & boundary=administrative & admin_level=2
{ apply
  {
   set boundary2=yes;
   set mkgmap:boundary2_name='$(mkgmap:boundary2_name)/${name}' | '${name}';
  }
}


In the line style this rule

boundary2=yes { name '${mkgmap:boundary2_name}' } [0x1e resolution 16]

On my maps you see at the Dutch/German border in the tooltip label "Nederland/Deutschland"

Maps: http://openfietsmap.nl (Benelux & Germany)
Styles: http://mijndev.openstreetmap.nl/~ligfietser/openfietsmap/Scripts



More information about the mkgmap-dev mailing list