]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #2530 from lonvia/declassify-highway
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 25 Nov 2021 07:41:25 +0000 (08:41 +0100)
committerGitHub <noreply@github.com>
Thu, 25 Nov 2021 07:41:25 +0000 (08:41 +0100)
Change default rank for highway objects to 30

settings/address-levels.json
test/bdd/db/import/placex.feature

index fc31a6542e3f6927ee5edde542a78f3f4b84d9b8..67bca991929d6e1974e52d98994f414b685b1651 100644 (file)
@@ -82,7 +82,7 @@
           "" : [20, 0]
       },
       "highway" : {
-          "" : 26,
+          "" : 30,
           "service" : 27,
           "cycleway" : 27,
           "path" : 27,
           "primary_link" : 27,
           "trunk_link" : 27,
           "secondary_link" : 27,
-          "tertiary_link" : 27
+          "tertiary_link" : 27,
+          "residential" : 26,
+          "track" : 26,
+          "unclassified" : 26,
+          "tertiary" : 26,
+          "secondary" : 26,
+          "primary" : 26,
+          "living_street" : 26,
+          "trunk" : 26,
+          "motorway" : 26,
+          "pedestrian" : 26,
+          "road" : 26,
+          "construction" : 26
       },
       "mountain_pass" : {
           "" : [20, 0]
index db36ab58b3e52c7f815ce2addfef7a111c6c3c26..9b208775703fad191879500cd96398574d84fbc7 100644 (file)
@@ -176,7 +176,7 @@ Feature: Import into placex
           | W3     | 26          | 26 |
           | W4     | 26          | 26 |
           | W5     | 26          | 26 |
-          | W6     | 26          | 26 |
+          | W6     | 30          | 30 |
 
     Scenario: rank and inclusion of landuses
         Given the named places