logo separator

[mkgmap-dev] [PATCH] address rules for Poland

From Steve Ratcliffe steve at parabola.me.uk on Fri Oct 31 11:01:27 GMT 2014

Hi

I received this patch from the osm github mirror. I'll commit it soon
if there is no objection:

From: basement-labs <basement-labs at users.noreply.github.com>
Date: Fri, 31 Oct 2014 10:53:27 +0100

In OSM-Poland we recently changes administrative boundary classification 
- we don't use level10 anymore.
---
  resources/styles/default/inc/address | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/resources/styles/default/inc/address 
b/resources/styles/default/inc/address
index a1f504d..3c8913c 100644
--- a/resources/styles/default/inc/address
+++ b/resources/styles/default/inc/address
@@ -31,8 +31,10 @@ mkgmap:country=AUT & mkgmap:city!=* & 
mkgmap:admin_level10=* { set mkgmap:city='
  mkgmap:country=AUT & mkgmap:city!=* & mkgmap:admin_level8=* { set 
mkgmap:city='${mkgmap:admin_level8|subst:Gemeinde |subst:Stadt }' }

  # Poland = POL
-mkgmap:country=POL & mkgmap:city!=* & mkgmap:admin_level10=* { set 
mkgmap:city='${mkgmap:admin_level10}' }
+#After recent changes in OSM-Poland we don't use level 10 - all cities 
and villages are in level 8
+#mkgmap:country=POL & mkgmap:city!=* & mkgmap:admin_level10=* { set 
mkgmap:city='${mkgmap:admin_level10}' }
  mkgmap:country=POL & mkgmap:city!=* & mkgmap:admin_level8=* { set 
mkgmap:city='${mkgmap:admin_level8}' }
+
  mkgmap:country=POL & mkgmap:region!=* & mkgmap:admin_level4=* { set 
mkgmap:region='${mkgmap:admin_level4|subst:województwo =>}' }

  # other european countries


More information about the mkgmap-dev mailing list