logo separator

[mkgmap-dev] problem with boundarys

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Jun 26 15:47:37 BST 2021

Hi Arndt,

might be a problem with the recent changes. r4767 still seems to work.

I'll try to find out why this changed.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Arndt Röhrig <arndt at speichenkarte.de>
Gesendet: Samstag, 26. Juni 2021 16:22
An: Development list for mkgmap
Betreff: [mkgmap-dev] problem with boundarys

Hi @all,

my maps don´t show boundary=administrative anymore. i don´t know why.


What is wrong here? The following rules don´t change since 2018:

relation:

boundary=administrative {apply {set grenze=ja}}
(type=boundary | type=multipolygon) & boundary=administrative & (admin_level~'[1-2]')
{ apply
{
set grenze1='$(grenze1) - ${name}' | '${name}';
}
}
(type=boundary | type=multipolygon) & boundary=administrative & (admin_level~'[3-4]')
{ apply
{
set grenze2='$(grenze2) - ${name}' | '${name}';
}
}
(type=boundary | type=multipolygon) & boundary=administrative & (admin_level~'[5-9]')
{ apply
{
set grenze3='$(grenze3) - ${name}' | '${name}';
}
}
(type=boundary | type=multipolygon) & boundary=administrative & (admin_level=10)
{ apply
{
set grenze3='$(grenze3) - ${name}' | '${name}';
}
}
(type=boundary | type=multipolygon) & boundary=administrative & (admin_level=11)
{ apply
{
set grenze3='$(grenze3) - ${name}' | '${name}';
}
}
lines:
# Grenzen
grenze1=* { name '${grenze1}' | '${name}'} [0x1e resolution 18 continue]
grenze2=* { name '${grenze2}' | '${name}'} [0x1d resolution 18 continue]
grenze3=* { name '${grenze3}' | '${name}'} [0x1c resolution 21 continue]
grenze=ja &! (grenze1=*|grenze2=*|grenze3=*) [0x1c resolution 21 continue]

Greetz
Arndt


More information about the mkgmap-dev mailing list