Skip to content

Commit

Permalink
Add "site_type" to archaeological site preset
Browse files Browse the repository at this point in the history
(closes #5124)
  • Loading branch information
JamesKingdom committed Jul 9, 2018
1 parent 1395e02 commit ed9c934
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions data/presets.yaml
Expand Up @@ -1351,6 +1351,9 @@ en:
site:
# site=*
label: Type
site_type:
# site_type=*
label: Archaeological Site Type
smoking:
# smoking=*
label: Smoking
Expand Down
1 change: 1 addition & 0 deletions data/presets/fields.json
Expand Up @@ -239,6 +239,7 @@
"shop": {"key": "shop", "type": "typeCombo", "label": "Type"},
"siren/purpose": {"key": "siren:purpose", "type": "combo", "label": "Purpose"},
"siren/type": {"key": "siren:type", "type": "combo", "label": "Type", "strings": {"options": {"pneumatic": "Pneumatic", "electronic": "Electronic", "other": "Other"}}},
"site_type": {"key": "site_type", "type": "combo", "label": "Archaeological Site Type"},
"site": {"key": "site", "type": "combo", "label": "Type"},
"smoking": {"key": "smoking", "type": "combo", "label": "Smoking", "placeholder": "No, Separated, Yes...", "strings": {"options": {"no": "No smoking anywhere", "separated": "In smoking areas, not physically isolated", "isolated": "In smoking areas, physically isolated", "outside": "Allowed outside", "yes": "Allowed everywhere", "dedicated": "Dedicated to smokers (e.g. smokers' club)"}}},
"smoothness": {"key": "smoothness", "type": "combo", "label": "Smoothness", "placeholder": "Thin Rollers, Wheels, Off-Road...", "strings": {"options": {"excellent": "Thin Rollers: rollerblade, skateboard", "good": "Thin Wheels: racing bike", "intermediate": "Wheels: city bike, wheelchair, scooter", "bad": "Robust Wheels: trekking bike, car, rickshaw", "very_bad": "High Clearance: light duty off-road vehicle", "horrible": "Off-Road: heavy duty off-road vehicle", "very_horrible": "Specialized off-road: tractor, ATV", "impassable": "Impassable / No wheeled vehicle"}}},
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields/site_type.json
@@ -0,0 +1,5 @@
{
"key": "site_type",
"type": "combo",
"label": "Archaeological Site Type"
}
2 changes: 1 addition & 1 deletion data/presets/presets.json
Expand Up @@ -405,7 +405,7 @@
"highway/turning_loop": {"icon": "maki-circle", "geometry": ["vertex"], "tags": {"highway": "turning_loop"}, "terms": ["cul-de-sac"], "name": "Turning Loop (Island)"},
"highway/unclassified": {"icon": "iD-highway-unclassified", "fields": ["name", "oneway", "maxspeed", "lanes", "surface", "structure", "maxheight", "cycleway", "access"], "geometry": ["line"], "tags": {"highway": "unclassified"}, "terms": ["road", "street"], "name": "Minor/Unclassified Road"},
"historic": {"icon": "temaki-ruins", "fields": ["historic", "inscription"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "*"}, "name": "Historic Site"},
"historic/archaeological_site": {"icon": "temaki-ruins", "fields": ["name", "historic/civilization", "inscription"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "archaeological_site"}, "name": "Archaeological Site"},
"historic/archaeological_site": {"icon": "temaki-ruins", "fields": ["name", "site_type", "historic/civilization", "inscription"], "geometry": ["point", "vertex", "area"], "tags": {"historic": "archaeological_site"}, "name": "Archaeological Site"},
"historic/boundary_stone": {"icon": "temaki-milestone", "fields": ["name", "inscription"], "geometry": ["point", "vertex"], "tags": {"historic": "boundary_stone"}, "name": "Boundary Stone"},
"historic/castle": {"icon": "maki-castle", "fields": ["name", "castle_type", "building_area", "historic/civilization"], "geometry": ["point", "area"], "tags": {"historic": "castle"}, "name": "Castle"},
"historic/memorial": {"icon": "maki-monument", "fields": ["name", "memorial", "inscription"], "geometry": ["point", "vertex", "area"], "terms": ["dedicatory", "epitaph", "remember", "remembrance", "memory", "monument", "stolperstein"], "tags": {"historic": "memorial"}, "name": "Memorial"},
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/historic/archaeological_site.json
Expand Up @@ -2,6 +2,7 @@
"icon": "temaki-ruins",
"fields": [
"name",
"site_type",
"historic/civilization",
"inscription"
],
Expand Down
1 change: 1 addition & 0 deletions data/taginfo.json
Expand Up @@ -6893,6 +6893,7 @@
{"key": "siren:type", "value": "pneumatic", "description": "Type"},
{"key": "siren:type", "value": "electronic", "description": "Type"},
{"key": "siren:type", "value": "other", "description": "Type"},
{"key": "site_type", "description": "Archaeological Site Type"},
{"key": "site", "description": "Type"},
{"key": "smoking", "value": "no", "description": "Smoking"},
{"key": "smoking", "value": "separated", "description": "Smoking"},
Expand Down
3 changes: 3 additions & 0 deletions dist/locales/en.json
Expand Up @@ -2513,6 +2513,9 @@
"other": "Other"
}
},
"site_type": {
"label": "Archaeological Site Type"
},
"site": {
"label": "Type"
},
Expand Down

0 comments on commit ed9c934

Please sign in to comment.