mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 20:33:51 +01:00
crossing: Introduce @templates/crossing/traffic_signal
This extract the three fields to be reused in all traffic_signals presets. - "button_operated" - "traffic_signals/sound" - "traffic_signals/vibration" Nothing else is changed, this is just an extraction into a template.
This commit is contained in:
parent
e47e4d6325
commit
50aeb69b4e
4 changed files with 27 additions and 9 deletions
24
data/presets/@templates/crossing/traffic_signal.json
Normal file
24
data/presets/@templates/crossing/traffic_signal.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"fields": [
|
||||
"button_operated",
|
||||
"traffic_signals/sound",
|
||||
"traffic_signals/vibration"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
"line"
|
||||
],
|
||||
"tags": {
|
||||
"@template": "crossing/traffic_signal"
|
||||
},
|
||||
"searchable": false,
|
||||
"locationSet": {
|
||||
"include": [
|
||||
"999"
|
||||
],
|
||||
"exclude": [
|
||||
"999"
|
||||
]
|
||||
},
|
||||
"name": "{point}"
|
||||
}
|
||||
|
|
@ -3,9 +3,7 @@
|
|||
"fields": [
|
||||
"{@templates/crossing/defaults}",
|
||||
"{@templates/crossing/markings}",
|
||||
"button_operated",
|
||||
"traffic_signals/sound",
|
||||
"traffic_signals/vibration",
|
||||
"{@templates/crossing/traffic_signal}",
|
||||
"crossing_raised"
|
||||
],
|
||||
"moreFields": [
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
"fields": [
|
||||
"{@templates/crossing/defaults}",
|
||||
"{@templates/crossing/markings}",
|
||||
"button_operated",
|
||||
"traffic_signals/sound",
|
||||
"traffic_signals/vibration",
|
||||
"{@templates/crossing/traffic_signal}",
|
||||
"{@templates/crossing/geometry_line}"
|
||||
],
|
||||
"moreFields": [
|
||||
|
|
|
|||
|
|
@ -3,9 +3,7 @@
|
|||
"fields": [
|
||||
"{@templates/crossing/defaults}",
|
||||
"{@templates/crossing/markings}",
|
||||
"button_operated",
|
||||
"traffic_signals/sound",
|
||||
"traffic_signals/vibration",
|
||||
"{@templates/crossing/traffic_signal}",
|
||||
"{@templates/crossing/geometry_line}"
|
||||
],
|
||||
"moreFields": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue