change default rank for highway objects to 30

The highway key is being used more and more for non-ways these
days. This clashes with Nominatim's assumption that essentially
everything that has a highway tag can be used as the street part
of the address.

Change the default rank of highway objects to 30 to avoid this.
Only the known values for streets keep the rank 26 and are now
listed explicitly.
This commit is contained in:
Sarah Hoffmann
2021-11-24 14:40:23 +01:00
parent 79effae933
commit 80e0a3cce4
2 changed files with 15 additions and 3 deletions

View File

@@ -82,7 +82,7 @@
"" : [20, 0]
},
"highway" : {
"" : 26,
"" : 30,
"service" : 27,
"cycleway" : 27,
"path" : 27,
@@ -93,7 +93,19 @@
"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]

View 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