]> git.openstreetmap.org Git - nominatim.git/commitdiff
add country-specific address ranks for Russia
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Oct 2020 15:54:06 +0000 (17:54 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 17 Oct 2020 15:54:06 +0000 (17:54 +0200)
Removes admin level 7, which should not exist and promotes
admin level 8 to municipality level.

place=municipality is only used for boroughs of St. Petersburg,
so demote to level 18.

Fixes #926.

settings/address-levels.json

index 090c9365ea7ef15e556bc08b3e6ba1fa0bab7fe6..574e0dd041ef590fe3e100b1c7258d0f3743e655 100644 (file)
           "administrative10" : 24
       }
   }
+},
+{ "countries" : ["ru"],
+  "tags" : {
+      "place" : {
+          "municipality" : 18
+      },
+      "boundary" : {
+          "administrative7" : [13, 0],
+          "administrative8" : 14
+      }
+  }
 }
 ]