mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-25 15:05:32 +00:00
Adjust matchScores so features match types other than barrier
(closes #3647) e.g. `office=* + barrier=wall` should match as an office not a wall
This commit is contained in:
@@ -2684,7 +2684,8 @@
|
||||
"fields": [
|
||||
"barrier"
|
||||
],
|
||||
"name": "Barrier"
|
||||
"name": "Barrier",
|
||||
"matchScore": 0.4
|
||||
},
|
||||
"barrier/entrance": {
|
||||
"icon": "entrance",
|
||||
@@ -2772,7 +2773,8 @@
|
||||
"tags": {
|
||||
"barrier": "ditch"
|
||||
},
|
||||
"name": "Trench"
|
||||
"name": "Trench",
|
||||
"matchScore": 0.25
|
||||
},
|
||||
"barrier/fence": {
|
||||
"icon": "prison",
|
||||
@@ -2786,7 +2788,8 @@
|
||||
"tags": {
|
||||
"barrier": "fence"
|
||||
},
|
||||
"name": "Fence"
|
||||
"name": "Fence",
|
||||
"matchScore": 0.25
|
||||
},
|
||||
"barrier/gate": {
|
||||
"icon": "prison",
|
||||
@@ -2814,7 +2817,8 @@
|
||||
"tags": {
|
||||
"barrier": "hedge"
|
||||
},
|
||||
"name": "Hedge"
|
||||
"name": "Hedge",
|
||||
"matchScore": 0.25
|
||||
},
|
||||
"barrier/kissing_gate": {
|
||||
"icon": "prison",
|
||||
@@ -2893,7 +2897,8 @@
|
||||
"tags": {
|
||||
"barrier": "wall"
|
||||
},
|
||||
"name": "Wall"
|
||||
"name": "Wall",
|
||||
"matchScore": 0.25
|
||||
},
|
||||
"boundary/administrative": {
|
||||
"name": "Administrative Boundary",
|
||||
@@ -2921,7 +2926,7 @@
|
||||
"tags": {
|
||||
"building": "*"
|
||||
},
|
||||
"matchScore": 0.4,
|
||||
"matchScore": 0.6,
|
||||
"terms": [],
|
||||
"name": "Building"
|
||||
},
|
||||
|
||||
@@ -12,5 +12,6 @@
|
||||
"fields": [
|
||||
"barrier"
|
||||
],
|
||||
"name": "Barrier"
|
||||
"name": "Barrier",
|
||||
"matchScore": 0.4
|
||||
}
|
||||
|
||||
@@ -7,5 +7,6 @@
|
||||
"tags": {
|
||||
"barrier": "ditch"
|
||||
},
|
||||
"name": "Trench"
|
||||
"name": "Trench",
|
||||
"matchScore": 0.25
|
||||
}
|
||||
|
||||
@@ -10,5 +10,6 @@
|
||||
"tags": {
|
||||
"barrier": "fence"
|
||||
},
|
||||
"name": "Fence"
|
||||
"name": "Fence",
|
||||
"matchScore": 0.25
|
||||
}
|
||||
|
||||
@@ -9,5 +9,6 @@
|
||||
"tags": {
|
||||
"barrier": "hedge"
|
||||
},
|
||||
"name": "Hedge"
|
||||
"name": "Hedge",
|
||||
"matchScore": 0.25
|
||||
}
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
"tags": {
|
||||
"barrier": "wall"
|
||||
},
|
||||
"name": "Wall"
|
||||
"name": "Wall",
|
||||
"matchScore": 0.25
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"tags": {
|
||||
"building": "*"
|
||||
},
|
||||
"matchScore": 0.4,
|
||||
"matchScore": 0.6,
|
||||
"terms": [],
|
||||
"name": "Building"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user