-
Notifications
You must be signed in to change notification settings - Fork 252
Add presets from Proposal:Power circuits routing #1744
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
base: main
Are you sure you want to change the base?
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,11 @@ | ||
| { | ||
|
Collaborator
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. please change file name (so also field code) to something like you can have also other topologies and it will be more clear where context is not obvious
Contributor
Author
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. Isn't that a bit early? The only documented use so far is for power circuits (YAGNI principle) |
||
| "key": "topology", | ||
| "type": "combo", | ||
| "label": "Topology", | ||
| "strings": { | ||
| "options": { | ||
| "linear": "linear", | ||
| "branched": "branched" | ||
|
nlehuby marked this conversation as resolved.
Outdated
|
||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| "icon": "iD-power-line", | ||
| "fields": [ | ||
| "name", | ||
| "ref", | ||
| "operator", | ||
| "topology", | ||
| "voltage", | ||
| "frequency", | ||
| "cables" | ||
| ], | ||
| "geometry": [ | ||
| "relation" | ||
| ], | ||
| "tags": { | ||
| "type": "power", | ||
| "power": "circuit" | ||
| }, | ||
| "reference": { | ||
| "key": "power", | ||
| "value": "circuit" | ||
| }, | ||
| "name": "Power Circuit" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| { | ||
| "icon": "iD-power-line", | ||
| "fields": [ | ||
| "name", | ||
| "ref", | ||
| "operator", | ||
| "voltage", | ||
| "cables" | ||
| ], | ||
| "geometry": [ | ||
| "relation" | ||
| ], | ||
| "tags": { | ||
| "type": "power", | ||
| "power": "line_section" | ||
| }, | ||
| "reference": { | ||
| "key": "power", | ||
| "value": "line_section" | ||
| }, | ||
| "name": "Section of Power Line" | ||
|
Collaborator
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. I am quite confused by this, also after reading docs |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can it be always replaced this way?
if yes, why not do this as a bot edit rather than going through iD? Also, with 241 uses upgrading existing tagging (if that is useful and worth doing) will take comparable effort to doing PR review of that change https://taginfo.openstreetmap.org/tags/power=branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same for other deprecation
note that these comments are not enabling bypassing https://wiki.openstreetmap.org/wiki/Automated_Edits_code_of_conduct
if you do automated edit you must follow these rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case of no further activity on this PR it will be closed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the proposal page:
power=branchis to replace by power=circuit and case by case requiredpower=line_sectionrelationstype=route+route=poweris to replace bytype=power+power=circuitFor my part, I don't plan on making any large-scale, automatic changes. I think it’s up to the local communities interested in this topic to take on this issue, and some have already started doing so on their own perimeter. In particular, regarding the
power=branchcase, they seem to have been introduced mainly as part of an import project I know nothing about, so I certainly won’t be changing anything.I simply suggest using the existing feature in the iD editor to notify contributors who might edit the object that this is no longer the correct way to label it, and to prevent new contributors from creating new objects with these tags. From what I understand, this is exactly what the feature in iD is meant to do, but if you don't think it's reasonable, I'll remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, do it
in my view this is effectively doing "large-scale, automatic changes" as at least some users press "update tags" blindly
and if these tags can be mass-transformed then it should be done with bot edit, not some manual distributed one
As disclaimer: yes, in past this deprecation feature was used and intended to be used differently, and I am effectively trying to change it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So sorry for any confusion here - and yes, situation partially changed over say last year.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, it's done.