Opened 2 years ago
Last modified 22 months ago
#22633 new enhancement
Check tag with multiple values on power lines when changing direction of way
Reported by: | Gazer75 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | power line multiple voltage wire | Cc: | francois.lacombe |
Description
For some tag values like voltage and wires the direction of way matters when there are multiple circuits.
Like two circuits with one being triple and one double wire.
Same can be true for voltages. The side of the tower each set is on will matter for a dual circuit.
Example:
power=line
cables=6
circuits=2
wires=triple;double
voltage=400000;132000
Changing the direction of the way will then put the values on the wrong side sort of, as values would be counted left to right.
This is basically a similar check line oneway=* and direction=* tags
It would apply to power=line and power=minor_line
Attachments (0)
Change History (4)
comment:1 by , 2 years ago
Cc: | added |
---|---|
Keywords: | power line multiple voltage wire added |
comment:2 by , 2 years ago
I know this is not really acceptable but the most relevant solution is to use routing relations
https://wiki.openstreetmap.org/wiki/Proposed_features/Power_routing_proposal
Despite years-long RFC we don't manage to agree on launching the vote to unlock all benefits it brings.
Such multiple values in one key is a workaround, because every values of those lists should go in a dedicated relation.
Currently, those lists are barely usable and indeed depend on the direction of the way.
That's why I don't recommend to make development on editors side since it's a data matter.
If JOSM maintainers want to go there anyway, yes changing lists order on every way direction change is a right thing to do.
comment:3 by , 23 months ago
A circuit relation would not indicate which side of the tower it is on.
The order of value is the same as for tagging multiple road lanes and their values basically.
Lane 1 is always the leftmost one.
Either way the Openinframap currently do display values from left to right depending on way direction.
comment:4 by , 22 months ago
We miss a logical level here. Lanes aren't represented in the power model.
Voltages and frequencies are the operating ones, bound to relations, not the design ones, bound to the physical lines.
One solution could be using the way's role in every relation to state which "lane" the relation runs over the line, but it's not currently done, nor proposed.
We had the same kind of issue for tower refs that can be different for every relations.
If the first routing proposal had been voted years ago, we could begin to think to proper solution for those remaining issues.
I am unsure about this. The wiki does not mention the order. One solution would be to use post-fix
:left
/:middle
/:right
for the keys in question which does already work for JOSM and possibly all other editor software respecting the post-fixes.