]> git.openstreetmap.org Git - nominatim.git/commitdiff
add postcodes and interpolations to osm2pgsql style
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Jan 2019 13:50:55 +0000 (14:50 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 8 Jan 2019 21:54:41 +0000 (22:54 +0100)
settings/import-address.style
settings/import-admin.style
settings/import-full.style

index b79b5bc91772c4a9b2889dc8352f7f4d49911905..1b5eda612cadbb7ff0b819116cb8c6b4052fe5ea 100644 (file)
@@ -60,9 +60,9 @@
     }
 },
 {
-    "keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"],
+    "keys" : ["addr:interpolation"],
     "values" : {
-        "" : "address"
+        "" : "interpolation,address"
     }
 },
 {
index df7b31d2cc350c1ac9e998ef077b401ae75ad0a7..02a54f12a04fcb90d64c3b85ff1acbec8fedb5eb 100644 (file)
     "values" : {
         "" : "address"
     }
+},
+{
+    "keys" : ["postal_code", "postcode", "addr:postcode",
+              "tiger:zip_left", "tiger:zip_right"],
+    "values" : {
+        "" : "postcode"
+    }
+},
+{
+    "keys" : ["capital"],
+    "values" : {
+        "" : "extra"
+    }
 }
 ]
index f84b9305e92af1153ce823c7c5df98896ff88109..3a74300106683f39ead38eb272abb9c433584272 100644 (file)
         "" : "address,house"
     }
 },
+{
+    "keys" : ["addr:interpolation"],
+    "values" : {
+        "" : "interpolation,address"
+    }
+},
 {
     "keys" : ["addr:*", "is_in:*", "tiger:county", "is_in"],
     "values" : {