You are not logged in.
- Topics: Active | Unanswered
Announcement
*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1 2012-08-06 12:33:39
- l3u
- Member

- From: Konradsreuth
- Registered: 2010-02-09
- Posts: 50
mkgmap: boundary=administrative teilweise weglassen
Hallo :-)
Ist es möglich, mit mkgmap Tags nur teilweise wegzulassen? Mir geht es speziell um boundary=administrative. Länder- und Staatsgrenzen würde ich gerne behalten, aber alles darunter (also Landkreis- Stadt-, Gemeindegrenzen, etc.) würde ich gerne weglassen. Mit --delete-tags-file kann man ja scheinbar nur Tags an sich weglassen, zumindest hat z. B. der Eintrag
boundary=administrative & admin_level=4zu einer Fehlermeldung geführt („Falsche Zeile wird ausgelassen“ oder so ähnlich).
Ich bin für jede Hilfe dankbar :-)
Offline
#2 2012-08-06 12:41:50
- chris66
- Member

- From: Germany
- Registered: 2009-05-24
- Posts: 10,128
Re: mkgmap: boundary=administrative teilweise weglassen
Hi,
über delete-tags würde ich das nicht lösen, sondern einfach über die style-rules:
boundary=administrative { name '${mkgmap:boundary_name}' }
boundary=administrative & admin_level<3 [0x1e resolution 16]
boundary=administrative & admin_level<5 [0x1d resolution 19]
boundary=national [0x1e resolution 17]Chris
Mapper aus dem Münsterland.
Offline