]> git.openstreetmap.org Git - nominatim.git/commitdiff
postal boundary may be imported without name
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 18 Sep 2020 09:08:47 +0000 (11:08 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 18 Sep 2020 09:33:45 +0000 (11:33 +0200)
Postal boundaries usually just have the postcode tag set and are
therefore officially 'nameless'. We want to have them as
boundary=postal_code anyways in order to distiguish them from postcode
points inherited from addr: tags.

settings/import-address.style
settings/import-extratags.style
settings/import-full.style

index bff9fa6510a12b91e484f4be63e4d704edaac82c..16f2e929b311d11e15b78432c94cf0bb54295119 100644 (file)
@@ -44,7 +44,8 @@
 {
     "keys" : ["boundary"],
     "values" : {
-        "administrative" : "main"
+        "administrative" : "main",
+        "postal_code" : "main"
     }
 },
 {
index 184650f303c95e75479924b5a10a6a6dad9826e4..b90a07b164bb2f53a880ff6934ca91b1af3e9730 100644 (file)
     "keys" : ["boundary"],
     "values" : {
         "place" : "skip",
+        "postal_code" : "main",
         "" : "main,with_name"
     }
 },
index 0c49f23d4daa71185873a6f970180d1ded170640..c57c2c3a82ce6444398deb97c6bdf7d8ee14be8a 100644 (file)
     "keys" : ["boundary"],
     "values" : {
         "place" : "skip",
+        "postal_code" : "main",
         "" : "main,with_name"
     }
 },