Modify

Opened 6 years ago

Closed 6 years ago

Last modified 6 years 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 years ago.
pole_switch2.svg (6.1 KB ) - added by Don-vip 6 years ago.
pole_switch3.svg (6.1 KB ) - added by Don-vip 6 years ago.
pole_switch2b.svg (6.1 KB ) - added by Don-vip 6 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 by Klumbumbus, 6 years ago

Component: External presetInternal preset

comment:2 by Don-vip, 6 years ago

Keywords: power switch added

comment:3 by Don-vip, 6 years ago

In 12934/josm:

see #15365 - improve power=switch preset

comment:4 by Don-vip, 6 years ago

Milestone: 17.10

comment:5 by Don-vip, 6 years ago

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

comment:6 by francois.lacombe, 6 years ago

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

comment:7 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 12997/josm:

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

by francois.lacombe, 6 years ago

Attachment: pole_switch.svg added

comment:8 by francois.lacombe, 6 years ago

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 6 years ago by francois.lacombe (previous) (diff)

by Don-vip, 6 years ago

Attachment: pole_switch2.svg added

comment:9 by Don-vip, 6 years ago

Another idea:

- - -

- - -

Last edited 6 years ago by Don-vip (previous) (diff)

by Don-vip, 6 years ago

Attachment: pole_switch3.svg added

by Don-vip, 6 years ago

Attachment: pole_switch2b.svg added

comment:10 by Don-vip, 6 years ago

In 13000/josm:

see #15365 - rework icon and mapcss rule

comment:11 by francois.lacombe, 6 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.