]> git.openstreetmap.org Git - nominatim.git/commitdiff
remove county nodes in Canada from addresses
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 18 May 2022 08:19:05 +0000 (10:19 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 18 May 2022 08:19:05 +0000 (10:19 +0200)
Canada has complete coverage for administrative boundaries on
county level. Removing the county nodes from the addresses avoids error
due to a wide-spread doubling of place nodes for city counties.

settings/address-levels.json

index 67bca991929d6e1974e52d98994f414b685b1651..b63eac4efa065de8c3782cd1d75658af0197283c 100644 (file)
       }
   }
 },
+{ "countries" : [ "ca" ],
+  "tags" : {
+      "place" : {
+          "county" : [12, 0]
+      }
+  }
+},
 { "countries" : [ "de" ],
   "tags" : {
       "place" : {