Modify

Opened 3 weeks ago

Closed 6 days ago

Last modified 5 days ago

#15365 closed enhancement (fixed)

Power switch extension

Reported by: francois.lacombe Owned by: team
Priority: normal Milestone: 17.10
Component: Internal preset Version:
Keywords: power switch Cc:

Description

Hi,

Last year, a proposal was adopted to extend power=switch features on OSM.
This ticket is now intended to complete JOSM preset
A key switch=* can be used on power=switch objects and take 4 values : disconnector, circuit_breaker, mechanical and earthing
https://wiki.openstreetmap.org/wiki/Key:switch

According to https://wiki.openstreetmap.org/wiki/Tag:power%3Dswitch
It may be useful to ask mappers for following tags, when using power=switch (on existing preset)

  • switch
  • cables
  • operator
  • voltage
  • ref

As power=transformer, a switch can also be on top of a pole.
In this case (and only), switch=* will be used with power=pole (and not power=switch)
It may be good to create a specific preset "pole with switch" and ask for same tags than standalone switches.
Since some keys can be used both for pole and switches, some namespaces may be useful :

  • ref => pole:ref and switch:ref

As a side business, it may be good to add a validation rule to warn about any power=switch without switch key.

Let me know if you have any issue to add this to power presets

Thanks in advance :)

Attachments (4)

pole_switch.svg (2.6 KB) - added by francois.lacombe 6 days ago.
pole_switch2.svg (6.1 KB) - added by Don-vip 5 days ago.
pole_switch3.svg (6.1 KB) - added by Don-vip 5 days ago.
pole_switch2b.svg (6.1 KB) - added by Don-vip 5 days ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 3 weeks ago by Klumbumbus

Component: External presetInternal preset

comment:2 Changed 2 weeks ago by Don-vip

Keywords: power switch added

comment:3 Changed 2 weeks ago by Don-vip

In 12934/josm:

see #15365 - improve power=switch preset

comment:4 Changed 2 weeks ago by Don-vip

Milestone: 17.10

comment:5 Changed 7 days ago by Don-vip

Are all types of switch (mechanical,circuit_breaker,disconnector,earthing) relevant for those placed on a pole?

comment:6 Changed 7 days ago by francois.lacombe

Yes, in France we have mechanical and circuit breakers but other can be found elsewhere I think

comment:7 Changed 6 days ago by Don-vip

Resolution: fixed
Status: newclosed

In 12997/josm:

fix #15365 - add "pole with switch" preset + new power icon & new validation rules

Changed 6 days ago by francois.lacombe

Attachment: pole_switch.svg added

comment:8 Changed 6 days ago by francois.lacombe

Hi

Thanks for updates you've made

Regarding combinations.mapcss update, it may be better to only check for switch={circuit_breaker,disconnector,earthing,mechanical} associated with power since switch=* key is intended to be shared between different fields of knowledge.

Additionally, I'd suggest another icon for poles with switch on top, see pole_switch.svg attached to this ticket

All the best

Last edited 5 days ago by francois.lacombe (previous) (diff)

Changed 5 days ago by Don-vip

Attachment: pole_switch2.svg added

comment:9 Changed 5 days ago by Don-vip

Another idea:

- - -

- - -

Last edited 5 days ago by Don-vip (previous) (diff)

Changed 5 days ago by Don-vip

Attachment: pole_switch3.svg added

Changed 5 days ago by Don-vip

Attachment: pole_switch2b.svg added

comment:10 Changed 5 days ago by Don-vip

In 13000/josm:

see #15365 - rework icon and mapcss rule

comment:11 Changed 5 days ago by francois.lacombe

Nice one :)

But it can let users think cable goes underground in the same time a switch cut it, can't you ?
If I had to choose, i'd take the 2b.

power=pole + switch=mechanical stands for this : http://products.ensto.com/catalogs/images/W4/trading/2004530_W4.jpg

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.