mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Add preset for landuse=greenhouse_horticulture
(closes #4571) Also adjust matchScores so that odd or generic presets like this one sort lower
This commit is contained in:
@@ -3334,6 +3334,11 @@ en:
|
||||
# landuse=greenfield
|
||||
name: Greenfield
|
||||
terms: '<translate with synonyms or related terms for ''Greenfield'', separated by commas>'
|
||||
landuse/greenhouse_horticulture:
|
||||
# landuse=greenhouse_horticulture
|
||||
name: Greenhouse Horticulture
|
||||
# 'terms: flower,greenhouse,horticulture,grow,vivero'
|
||||
terms: '<translate with synonyms or related terms for ''Greenhouse Horticulture'', separated by commas>'
|
||||
landuse/harbour:
|
||||
# landuse=harbour
|
||||
name: Harbor
|
||||
|
||||
@@ -8052,6 +8052,7 @@
|
||||
"landuse": "brownfield"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Brownfield"
|
||||
},
|
||||
"landuse/cemetery": {
|
||||
@@ -8097,6 +8098,7 @@
|
||||
"landuse": "commercial"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Commercial Area"
|
||||
},
|
||||
"landuse/construction": {
|
||||
@@ -8208,8 +8210,31 @@
|
||||
"landuse": "greenfield"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Greenfield"
|
||||
},
|
||||
"landuse/greenhouse_horticulture": {
|
||||
"icon": "garden",
|
||||
"fields": [
|
||||
"name",
|
||||
"operator"
|
||||
],
|
||||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"terms": [
|
||||
"flower",
|
||||
"greenhouse",
|
||||
"horticulture",
|
||||
"grow",
|
||||
"vivero"
|
||||
],
|
||||
"tags": {
|
||||
"landuse": "greenhouse_horticulture"
|
||||
},
|
||||
"matchScore": 0.9,
|
||||
"name": "Greenhouse Horticulture"
|
||||
},
|
||||
"landuse/harbour": {
|
||||
"icon": "harbor",
|
||||
"fields": [
|
||||
@@ -8343,6 +8368,7 @@
|
||||
"name": "Landfill"
|
||||
},
|
||||
"landuse/meadow": {
|
||||
"icon": "garden",
|
||||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
@@ -8875,6 +8901,7 @@
|
||||
"landuse": "residential"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Residential Area"
|
||||
},
|
||||
"landuse/retail": {
|
||||
@@ -8888,6 +8915,7 @@
|
||||
"tags": {
|
||||
"landuse": "retail"
|
||||
},
|
||||
"matchScore": 0.9,
|
||||
"name": "Retail Area"
|
||||
},
|
||||
"landuse/vineyard": {
|
||||
|
||||
@@ -9,5 +9,6 @@
|
||||
"landuse": "brownfield"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Brownfield"
|
||||
}
|
||||
|
||||
@@ -10,5 +10,6 @@
|
||||
"landuse": "commercial"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Commercial Area"
|
||||
}
|
||||
|
||||
@@ -9,5 +9,6 @@
|
||||
"landuse": "greenfield"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Greenfield"
|
||||
}
|
||||
|
||||
22
data/presets/presets/landuse/greenhouse_horticulture.json
Normal file
22
data/presets/presets/landuse/greenhouse_horticulture.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"icon": "garden",
|
||||
"fields": [
|
||||
"name",
|
||||
"operator"
|
||||
],
|
||||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"terms": [
|
||||
"flower",
|
||||
"greenhouse",
|
||||
"horticulture",
|
||||
"grow",
|
||||
"vivero"
|
||||
],
|
||||
"tags": {
|
||||
"landuse": "greenhouse_horticulture"
|
||||
},
|
||||
"matchScore": 0.9,
|
||||
"name": "Greenhouse Horticulture"
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"icon": "garden",
|
||||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
|
||||
@@ -7,5 +7,6 @@
|
||||
"landuse": "residential"
|
||||
},
|
||||
"terms": [],
|
||||
"matchScore": 0.9,
|
||||
"name": "Residential Area"
|
||||
}
|
||||
|
||||
@@ -9,5 +9,6 @@
|
||||
"tags": {
|
||||
"landuse": "retail"
|
||||
},
|
||||
"matchScore": 0.9,
|
||||
"name": "Retail Area"
|
||||
}
|
||||
|
||||
@@ -1574,6 +1574,10 @@
|
||||
"key": "landuse",
|
||||
"value": "greenfield"
|
||||
},
|
||||
{
|
||||
"key": "landuse",
|
||||
"value": "greenhouse_horticulture"
|
||||
},
|
||||
{
|
||||
"key": "landuse",
|
||||
"value": "harbour"
|
||||
|
||||
4
dist/locales/en.json
vendored
4
dist/locales/en.json
vendored
@@ -4177,6 +4177,10 @@
|
||||
"name": "Greenfield",
|
||||
"terms": ""
|
||||
},
|
||||
"landuse/greenhouse_horticulture": {
|
||||
"name": "Greenhouse Horticulture",
|
||||
"terms": "flower,greenhouse,horticulture,grow,vivero"
|
||||
},
|
||||
"landuse/harbour": {
|
||||
"name": "Harbor",
|
||||
"terms": "boat"
|
||||
|
||||
Reference in New Issue
Block a user