[mkgmap-dev] [locator] Country specific rules
From Henning Scholland osm at aighes.de on Wed May 4 20:00:00 BST 2011
Am 04.05.2011 20:32, schrieb Martin: > In Germany we have the same mess... > > Actually I'm using this rules: > > mkgmap:country!=* & mkgmap:admin_level2=* { set > mkgmap:country='${mkgmap:admin_level2}' } > > mkgmap:region!=* & mkgmap:admin_level3=* { set > mkgmap:region='${mkgmap:admin_level3}' } > mkgmap:region!=* & mkgmap:admin_level4=* { set > mkgmap:region='${mkgmap:admin_level4}' } > mkgmap:region!=* & mkgmap:admin_level5=* { set > mkgmap:region='${mkgmap:admin_level5}' } > > > mkgmap:city!=* & mkgmap:admin_level10=* { set > mkgmap:city='${mkgmap:admin_level10}' } > mkgmap:city!=* & mkgmap:admin_level8=* { set > mkgmap:city='${mkgmap:admin_level8}' } > mkgmap:city!=* & mkgmap:admin_level7=* { set > mkgmap:city='${mkgmap:admin_level7}' } > mkgmap:city!=* & mkgmap:admin_level6=* { set > mkgmap:city='${mkgmap:admin_level6}' } > > > I don't know if this makes sense, but referring to this page: > http://wiki.openstreetmap.org/wiki/Tag:boundary%3Dadministrative > <http://wiki.openstreetmap.org/wiki/Tag:boundary=administrative> > there are 2 options for the admin-boundaries: > 10 and 11 admin levels :( > So actually I still playing with this setting, maybe somebody has > better rules for Germany. I would use: mkgmap:country!=* & mkgmap:admin_level2=* { set mkgmap:country='${mkgmap:admin_level2}' } mkgmap:region!=* & mkgmap:admin_level4=* { set mkgmap:region='${mkgmap:admin_level4}' } mkgmap:country="DEU" & mkgmap:city!=* & mkgmap:admin_level8=* { set mkgmap:city='${mkgmap:admin_level8}' } mkgmap:country="DEU" & mkgmap:city!=* & mkgmap:admin_level6=* { set mkgmap:city='${mkgmap:admin_level6}' } Henning -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110504/5d794cde/attachment.html
- Previous message: [mkgmap-dev] [locator] Country specific rules
- Next message: [mkgmap-dev] [locator] Country specific rules
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list