mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Merge pull request #1966 from tyrasd/preset-shelter
add preset for amenity=shelter
This commit is contained in:
@@ -226,6 +226,8 @@ en:
|
||||
label: Type
|
||||
shelter:
|
||||
label: Shelter
|
||||
shelter_type:
|
||||
label: Type
|
||||
shop:
|
||||
label: Type
|
||||
source:
|
||||
@@ -430,6 +432,9 @@ en:
|
||||
amenity/school:
|
||||
name: School
|
||||
terms: "<translate with synonyms or related terms for 'School', separated by commas>"
|
||||
amenity/shelter:
|
||||
name: Shelter
|
||||
terms: "<translate with synonyms or related terms for 'Shelter', separated by commas>"
|
||||
amenity/swimming_pool:
|
||||
name: Swimming Pool
|
||||
terms: "<translate with synonyms or related terms for 'Swimming Pool', separated by commas>"
|
||||
|
||||
@@ -547,6 +547,20 @@
|
||||
"type": "check",
|
||||
"label": "Shelter"
|
||||
},
|
||||
"shelter_type": {
|
||||
"key": "shelter_type",
|
||||
"type": "combo",
|
||||
"options": [
|
||||
"public_transport",
|
||||
"picnic_shelter",
|
||||
"weather_shelter",
|
||||
"lean_to",
|
||||
"basic_hut",
|
||||
"field_shelter",
|
||||
"rock_shelter"
|
||||
],
|
||||
"label": "Type"
|
||||
},
|
||||
"shop": {
|
||||
"key": "shop",
|
||||
"type": "typeCombo",
|
||||
|
||||
14
data/presets/fields/shelter_type.json
Normal file
14
data/presets/fields/shelter_type.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"key": "shelter_type",
|
||||
"type": "combo",
|
||||
"options": [
|
||||
"public_transport",
|
||||
"picnic_shelter",
|
||||
"weather_shelter",
|
||||
"lean_to",
|
||||
"basic_hut",
|
||||
"field_shelter",
|
||||
"rock_shelter"
|
||||
],
|
||||
"label": "Type"
|
||||
}
|
||||
@@ -1083,6 +1083,23 @@
|
||||
},
|
||||
"name": "School"
|
||||
},
|
||||
"amenity/shelter": {
|
||||
"fields": [
|
||||
"shelter_type"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex",
|
||||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"amenity": "shelter"
|
||||
},
|
||||
"terms": [
|
||||
"lean-to"
|
||||
],
|
||||
"name": "Shelter"
|
||||
},
|
||||
"amenity/swimming_pool": {
|
||||
"geometry": [
|
||||
"point",
|
||||
|
||||
17
data/presets/presets/amenity/shelter.json
Normal file
17
data/presets/presets/amenity/shelter.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"fields": [
|
||||
"shelter_type"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"vertex",
|
||||
"area"
|
||||
],
|
||||
"tags": {
|
||||
"amenity": "shelter"
|
||||
},
|
||||
"terms": [
|
||||
"lean-to"
|
||||
],
|
||||
"name": "Shelter"
|
||||
}
|
||||
7
dist/locales/en.json
vendored
7
dist/locales/en.json
vendored
@@ -714,6 +714,9 @@
|
||||
"shelter": {
|
||||
"label": "Shelter"
|
||||
},
|
||||
"shelter_type": {
|
||||
"label": "Type"
|
||||
},
|
||||
"shop": {
|
||||
"label": "Type"
|
||||
},
|
||||
@@ -992,6 +995,10 @@
|
||||
"name": "School",
|
||||
"terms": "academy,alma mater,blackboard,college,department,discipline,establishment,faculty,hall,halls of ivy,institute,institution,jail*,schoolhouse,seminary,university"
|
||||
},
|
||||
"amenity/shelter": {
|
||||
"name": "Shelter",
|
||||
"terms": "lean-to"
|
||||
},
|
||||
"amenity/swimming_pool": {
|
||||
"name": "Swimming Pool",
|
||||
"terms": ""
|
||||
|
||||
Reference in New Issue
Block a user