Opened 2 months ago

Last modified 5 weeks ago

#15007 new enhancement

Question: check and set key/value for more then one kv. Possible?

Reported by: Allroads Owned by: team
Priority: normal Milestone:
Component: External preset Version:
Keywords: checkbox Cc:

Description (last modified by Don-vip)

We have a traffic_sign C12

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" />

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

Attachments (0)

Change History (6)

comment:1 Changed 2 months ago by Allroads

Description: modified (diff)

comment:2 Changed 2 months ago by Don-vip

Description: modified (diff)
Keywords: Question preset removed

comment:3 Changed 2 months ago by Don-vip

Description: modified (diff)

comment:4 Changed 2 months ago by Allroads

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.

For setting traffic_sign this is important to be solved.

When all check boxes must be set, people make easier a mistake by not setting one.
Not easy to validate afterwards.

I like to make it easier, just check forward or backward and all the key/value are set right according to the traffic_sign.

Last edited 2 months ago by Allroads (previous) (diff)

comment:5 Changed 8 weeks ago by Allroads

Is it possible to make new attributes?

That we can make such check entry?

<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 8 weeks ago by Don-vip (previous) (diff)

comment:6 Changed 5 weeks ago by Allroads
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.

Modify Ticket

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

Add Comment

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

Note: See TracTickets for help on using tickets.