-
Notifications
You must be signed in to change notification settings - Fork 252
Add field for line_arrangement, add presets for power=insulator and power=terminal
#1042
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "key": "line_arrangement", | ||
| "type": "combo", | ||
| "strings": { | ||
| "options": { | ||
| "horizontal": "Horizontal", | ||
| "semi_horizontal": "Semi Horizontal", | ||
| "vertical": "Vertical", | ||
| "semi_vertical": "semi-vertical", | ||
| "square": "Square", | ||
| "triangular": "Triangular", | ||
| "delta": "Delta", | ||
|
arch0345 marked this conversation as resolved.
Outdated
|
||
| "unarranged": "Unarranged" | ||
| } | ||
| }, | ||
| "label": "Line Arrangement" | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,13 @@ | ||||||||||||||||||
| { | ||||||||||||||||||
| "key": "line_attachment", | ||||||||||||||||||
| "type": "combo", | ||||||||||||||||||
| "strings": { | ||||||||||||||||||
| "options": { | ||||||||||||||||||
| "suspension": "Suspension", | ||||||||||||||||||
| "anchor": "Anchor", | ||||||||||||||||||
| "pin": "Pin", | ||||||||||||||||||
| "pulley": "Pulley" | ||||||||||||||||||
|
Comment on lines
+6
to
+9
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we were to go with translatable strings for these tags, I'd prefer if these would be a bit more verbose. I assume these are technical terms, but for a general mapper, they are not particularly helpful – if one must read the wiki to interpret the values, the raw tag values work just as well. Perhaps something along these lines would work?
Suggested change
|
||||||||||||||||||
| } | ||||||||||||||||||
| }, | ||||||||||||||||||
| "label": "Line Attachment" | ||||||||||||||||||
| } | ||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,6 +1,17 @@ | ||||||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||||||
| "key": "line_management", | ||||||||||||||||||||||||||||||
| "type": "combo", | ||||||||||||||||||||||||||||||
| "strings": { | ||||||||||||||||||||||||||||||
| "options": { | ||||||||||||||||||||||||||||||
| "straight": "Straight", | ||||||||||||||||||||||||||||||
| "branch": "Branch", | ||||||||||||||||||||||||||||||
| "split": "Split", | ||||||||||||||||||||||||||||||
| "transpose": "Transpose", | ||||||||||||||||||||||||||||||
| "cross": "Cross", | ||||||||||||||||||||||||||||||
| "transition": "Transition", | ||||||||||||||||||||||||||||||
| "termination": "Termination" | ||||||||||||||||||||||||||||||
|
Comment on lines
+6
to
+12
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see above, perhaps something like this could work:
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "straight": "Line continues", no need to have a single line |
||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||||||
| "label": "Line Management", | ||||||||||||||||||||||||||||||
| "terms": [ | ||||||||||||||||||||||||||||||
| "branching", | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ | |
| "moreFields": [ | ||
| "colour", | ||
| "manufacturer", | ||
| "line_arrangement", | ||
| "line_management" | ||
| ], | ||
| "geometry": [ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "icon": "temaki-power", | ||
| "fields": [ | ||
| "ref", | ||
| "operator", | ||
| "line_attachment" | ||
| ], | ||
| "moreFields": [ | ||
| "height", | ||
| "line_arrangement", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW, the combination 🤷
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes but it's a valid combination https://wiki.openstreetmap.org/wiki/File:Power_portal_substation_transition.jpg => |
||
| "line_management" | ||
| ], | ||
| "geometry": [ | ||
| "vertex" | ||
| ], | ||
| "tags": { | ||
| "power": "insulator" | ||
| }, | ||
| "name": "Power Line Insulator" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ | |
| "line_attachment" | ||
| ], | ||
| "moreFields": [ | ||
| "line_arrangement", | ||
| "line_management", | ||
| "manufacturer" | ||
| ], | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "icon": "temaki-power", | ||
| "fields": [ | ||
| "ref", | ||
| "operator" | ||
| ], | ||
| "moreFields": [ | ||
| "height", | ||
| "line_arrangement" | ||
| ], | ||
| "geometry": [ | ||
| "vertex" | ||
| ], | ||
| "tags": { | ||
| "power": "terminal" | ||
| }, | ||
| "addTags": { | ||
| "power": "terminal", | ||
| "line_attachment": "anchor" | ||
| }, | ||
| "name": "Power Line Terminal" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ | |
| "line_attachment" | ||
| ], | ||
| "moreFields": [ | ||
| "line_arrangement", | ||
| "line_management", | ||
| "manufacturer" | ||
| ], | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.