Modify

Opened 7 years ago

Last modified 2 years ago

#15007 new enhancement

Tagging preset: check and set key/value for more then one kv.

Reported by: Allroads Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: tagging preset multiple tags checkbox Cc:

Description (last modified by Don-vip)

We have a traffic_sign C12

https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Nederlands_verkeersbord_C12.svg/60px-Nederlands_verkeersbord_C12.svg.png

Because this sign works from one side. Their could be no sign on the other side.
Other side, it is possible to enter and turn on road or visit a house/field. And go back.
The way must set to forward or backward on a small section. Where you do not turn anymore.

For the traffic_sign, mofa, moped and motor_vehicle

Can this be done with one checkbox? forward or backward.

And not with multiple checkboxes.

<item name="C12 " icon="traffic_signs/NL/NL_C12.png" type="node,way">
        <key key="traffic_sign"value="NL:C12" />
        <key key="motor_vehicle" value="no" />
        <key key="mofa" value="yes" />
        <key key="moped" value="yes" />

        <space />
        <check key="traffic_sign:forward" text="Forward motor_vehicle" default="off" value_off="" value_on="NL:C12" />
        <check key="traffic_sign:backward" text="Backward motor_vehicle" default="off" value_off="" value_on="NL:C12" />
        <check key="motor_vehicle:forward" text="Forward motor_vehicle" default="off" value_off="" value_on="no" />
        <check key="motor_vehicle:backward" text="Backward motor_vehicle" default="off" value_off="" value_on="no" />
        <check key="mofa:forward" text="Forward motor_vehicle" default="off" value_off="" value_on="yes" />
        <check key="mofa:backward" text="Backward motor_vehicle" default="off" value_off="" value_on="yes" />
        <check key="moped:forward" text="Forward motor_vehicle" default="off" value_off="" value_on="yes" />
        <check key="moped:backward" text="Backward motor_vehicle" default="off" value_off="" value_on="yes" />
</item>

Off course in above example the original k/v must be replace by *:forward= or *:backward=

Attachments (0)

Change History (7)

comment:1 by Allroads, 7 years ago

Description: modified (diff)

comment:2 by Don-vip, 7 years ago

Description: modified (diff)
Keywords: Question preset removed

comment:3 by Don-vip, 7 years ago

Description: modified (diff)

comment:4 by Allroads, 7 years ago

Thanks for cleaning up, hope someone have a solution.
I tried to search in other presets if this is done, but could not find a example.

Version 0, edited 7 years ago by Allroads (next)

comment:5 by Allroads, 7 years ago

Is it possible to make new attributes?
keys
values_on
values_off

That we can make such check entry?
multicheck?

<multicheck keys="traffic_sign:forward,motor_vehicle:forward,mofa:forward,moped:forward" text="Forward all" default="off" values_off="" values_on="NL:C12,no,yes,yes" />                        
<multicheck keys="traffic_sign:backward,motor_vehicle:backward,mofa:backward,moped:backward" text="Backward all" default="off" values_off="" values_on="NL:C12,no,yes,yes" />
                

When you give people the choice in multiselect, the failure rate for traffic-signs is higher.
This new enchancement give direct the right tags for traffic_signs situations.

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

comment:6 by Allroads, 7 years ago

https://help.openstreetmap.org/questions/57286/josm-preset-forward-backward-with-one-checkbox-how
I also asked it here.

Is it true what SimonPoole says?

Could this not be done?

It is important for a good preset for the traffic_sign tagging on the road.

comment:7 by skyper, 2 years ago

Component: External presetCore
Keywords: tagging preset multiple tags added
Summary: Question: check and set key/value for more then one kv. Possible?Tagging preset: check and set key/value for more then one kv.

This has nothing to do with external presets but is a feature request for multiple tags within one checkbox in tagging presets.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Allroads.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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