Opened 6 years ago

Last modified 5 years ago

#19383 closed enhancement

Add line_management to power support presets — at Version 10

Reported by: francois.lacombe Owned by: team
Priority: normal Milestone: 20.11
Component: Internal preset Version:
Keywords: power, line_management, tower:type, cleanup Cc:

Description (last modified by Klumbumbus)

Dear maintainers,

The key line_management has been very recently reviewed on the wiki and received an approval vote.
osmwiki:Key:line_management
It allows to better describe all power supports and remove any use tower:type or pole:type

The post-vote cleanup is in progress and documentation is currently under completion.
It may be great to update JOSM presets as follow :

  • Add the key with its seven values (straight, branch, split, cross, transpose, transition and termination) on power supports presets power=tower, power=pole, power=insulator, power=portal and power=terminal
  • Warn about tower:type or pole:type on any power support object since no value remains recommended with them. Encourage replacement as follows : https://wiki.openstreetmap.org/wiki/Proposed_features/Lines_management#Values_to_be_replaced
  • Warn about the use of line_management on any other feature than a node.

Feel free to ask for any unclear point, all the best

François

Change History (10)

comment:1 by francois.lacombe, 6 years ago

Description: modified (diff)

comment:2 by skyper, 6 years ago

Description: modified (diff)

Are multiple values allowed? e.g. branch;transpose.

Note: JOSM does not well support the additional separator |, so far.

comment:4 by skyper, 6 years ago

Description: modified (diff)

in reply to:  2 comment:5 by skyper, 6 years ago

Replying to skyper:

Are multiple values allowed? e.g. branch;transpose.

Sorry, this example is in complete, I meant: line_management=branch;transpose|straight

Note: JOSM does not well support the additional separator |, so far.

In this case, we are talking about a node which has not left/right side. It might be better to use direction like: line_management:NW=branch;transpose plus line_management:SE=straight.

comment:6 by anonymous, 6 years ago

Hi @skyper

This key is mainly intended for single values but complex situations may exists encouraging us to combine some of the 7 values in a matrix (not in a ; list)
| and () define a table with columns and rows. I drafted a page explaining this, conform to highway's lanes usage: https://wiki.openstreetmap.org/wiki/Matrix_values
https://wiki.openstreetmap.org/wiki/Proposed_features/Lines_management#Level_composition_matrix

It's the same as line_attachment.

Anyway, line_management=branch;transpose|straight, combining | and ; can't exist.

:NW, :SE... option are interesting but weren't proposed. I'm ok to give it a try, do you have past examples on which it has been done this way?

in reply to:  6 ; comment:7 by skyper, 6 years ago

Replying to anonymous:

Hi @skyper

This key is mainly intended for single values but complex situations may exists encouraging us to combine some of the 7 values in a matrix (not in a ; list)
| and () define a table with columns and rows. I drafted a page explaining this, conform to highway's lanes usage: https://wiki.openstreetmap.org/wiki/Matrix_values
https://wiki.openstreetmap.org/wiki/Proposed_features/Lines_management#Level_composition_matrix

It's the same as line_attachment.

Anyway, line_management=branch;transpose|straight, combining | and ; can't exist.

The difference is a <combo box> vs. a <multiselect> and which separator. Above looks like a <multiselect> with | as separator. In my understanding this means you might have several lines but for each line only one value is possible at that point (node).

:NW, :SE... option are interesting but weren't proposed. I'm ok to give it a try, do you have past examples on which it has been done this way?

Usually [:]direction is used in the key and the cardinals are in the value. In your case, I would restrict to only use two letter abbreviations and estimations but I am sorry, I have no existing tag which is somewhat in use. The problem exists e.g. if you have a city_limit sign with names on both sides.

in reply to:  7 comment:8 by francois.lacombe, 6 years ago

Replying to skyper:

The difference is a <combo box> vs. a <multiselect> and which separator. Above looks like a <multiselect> with | as separator. In my understanding this means you might have several lines but for each line only one value is possible at that point (node).

Understood.
Let's focus on 7 simple values for now, just like line_attachment case: a combo box will do the job.
Matrix values, composed situations will come later (knowledgeable people are expected to type it manually).

Usually [:]direction is used in the key and the cardinals are in the value. In your case, I would restrict to only use two letter abbreviations and estimations but I am sorry, I have no existing tag which is somewhat in use. The problem exists e.g. if you have a city_limit sign with names on both sides.

Got it, thank you
Due to recent vote it should be tested prior to be documented.
I think it's a decent way of doing for many POI in OSM. I'll see to integrate to further refinement on poles (a third stage proposal is already drafted and will be voted by the end of 2020).

comment:9 by francois.lacombe, 5 years ago

Hi guys

Are the 7 simple values acceptable for you to begin with?
They are similar to what is done on line_attachment preset #17984

Adding them to presets will allow to speed up the cleaning of corresponding tower:type values

:direction alternative still waiting to be evaluated and shouldn't block simple values integration

All the best

comment:10 by Klumbumbus, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.