Opened 7 years ago
Last modified 3 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 )
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" /> </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 , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|---|
Keywords: | Question preset removed |
comment:3 by , 7 years ago
Description: | modified (diff) |
---|
comment:5 by , 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.
comment:6 by , 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 , 3 years ago
Component: | External preset → Core |
---|---|
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.
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.