Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds additional aerialway presets, fixes #3733 #3747

Merged
merged 1 commit into from
Jan 12, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1312,14 +1312,26 @@ en:
# aerialway=chair_lift
name: Chair Lift
terms: '<translate with synonyms or related terms for ''Chair Lift'', separated by commas>'
aerialway/drag_lift:
# aerialway=drag_lift
name: Drag Lift
terms: '<translate with synonyms or related terms for ''Drag Lift'', separated by commas>'
aerialway/gondola:
# aerialway=gondola
name: Gondola
terms: '<translate with synonyms or related terms for ''Gondola'', separated by commas>'
aerialway/goods:
# aerialway=goods
name: Goods
terms: '<translate with synonyms or related terms for ''Goods'', separated by commas>'
aerialway/magic_carpet:
# aerialway=magic_carpet
name: Magic Carpet Lift
terms: '<translate with synonyms or related terms for ''Magic Carpet Lift'', separated by commas>'
aerialway/mixed_lift:
# aerialway=mixed_lift
name: Mixed Lift
terms: '<translate with synonyms or related terms for ''Mixed Lift'', separated by commas>'
aerialway/platter:
# aerialway=platter
name: Platter Lift
Expand Down
42 changes: 42 additions & 0 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,19 @@
},
"name": "Chair Lift"
},
"aerialway/drag_lift": {
"geometry": [
"line"
],
"fields": [
"aerialway/capacity",
"aerialway/duration"
],
"tags": {
"aerialway": "drag_lift"
},
"name": "Drag Lift"
},
"aerialway/gondola": {
"geometry": [
"line"
Expand All @@ -223,6 +236,19 @@
},
"name": "Gondola"
},
"aerialway/goods": {
"geometry": [
"line"
],
"fields": [
"aerialway/capacity",
"aerialway/duration"
],
"tags": {
"aerialway": "goods"
},
"name": "Goods"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think 'Goods' does not describes properly this tag. What do you think about to change it to 'Goods Aerialway' or 'Cable Lift for Goods'

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure that's a good idea. Either of those sound fine.. 🚠

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just renamed it to "Goods Aerialway"

},
"aerialway/magic_carpet": {
"geometry": [
"line"
Expand All @@ -237,6 +263,22 @@
},
"name": "Magic Carpet Lift"
},
"aerialway/mixed_lift": {
"geometry": [
"line"
],
"fields": [
"aerialway/occupancy",
"aerialway/capacity",
"aerialway/duration",
"aerialway/bubble",
"aerialway/heating"
],
"tags": {
"aerialway": "mixed_lift"
},
"name": "Mixed Lift"
},
"aerialway/platter": {
"geometry": [
"line"
Expand Down
13 changes: 13 additions & 0 deletions data/presets/presets/aerialway/drag_lift.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"geometry": [
"line"
],
"fields": [
"aerialway/capacity",
"aerialway/duration"
],
"tags": {
"aerialway": "drag_lift"
},
"name": "Drag Lift"
}
13 changes: 13 additions & 0 deletions data/presets/presets/aerialway/goods.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"geometry": [
"line"
],
"fields": [
"aerialway/capacity",
"aerialway/duration"
],
"tags": {
"aerialway": "goods"
},
"name": "Goods"
}
16 changes: 16 additions & 0 deletions data/presets/presets/aerialway/mixed_lift.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"geometry": [
"line"
],
"fields": [
"aerialway/occupancy",
"aerialway/capacity",
"aerialway/duration",
"aerialway/bubble",
"aerialway/heating"
],
"tags": {
"aerialway": "mixed_lift"
},
"name": "Mixed Lift"
}
12 changes: 12 additions & 0 deletions data/taginfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,26 @@
"key": "aerialway",
"value": "chair_lift"
},
{
"key": "aerialway",
"value": "drag_lift"
},
{
"key": "aerialway",
"value": "gondola"
},
{
"key": "aerialway",
"value": "goods"
},
{
"key": "aerialway",
"value": "magic_carpet"
},
{
"key": "aerialway",
"value": "mixed_lift"
},
{
"key": "aerialway",
"value": "platter"
Expand Down
12 changes: 12 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1856,14 +1856,26 @@
"name": "Chair Lift",
"terms": ""
},
"aerialway/drag_lift": {
"name": "Drag Lift",
"terms": ""
},
"aerialway/gondola": {
"name": "Gondola",
"terms": ""
},
"aerialway/goods": {
"name": "Goods",
"terms": ""
},
"aerialway/magic_carpet": {
"name": "Magic Carpet Lift",
"terms": ""
},
"aerialway/mixed_lift": {
"name": "Mixed Lift",
"terms": ""
},
"aerialway/platter": {
"name": "Platter Lift",
"terms": "button lift,poma lift"
Expand Down