Skip to content

Commit

Permalink
crossing: Add lit to all crossing "way" geometry presets via new `@…
Browse files Browse the repository at this point in the history
…template/geometry_way_more`

The "lit" value was present on some of the presets before and is common to be applied to all kind of ways.
  • Loading branch information
tordans committed Apr 26, 2024
1 parent b77c741 commit 49f782c
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 17 deletions.
22 changes: 22 additions & 0 deletions data/presets/@templates/crossing/geometry_way_more.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"fields": [
"smoothness",
"lit"
],
"geometry": [
"line"
],
"tags": {
"@template": "crossing/geometry_way_more"
},
"searchable": false,
"locationSet": {
"include": [
"999"
],
"exclude": [
"999"
]
},
"name": "{point}"
}
2 changes: 1 addition & 1 deletion data/presets/highway/cycleway/_crossing.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/cycleway/crossing/_marked.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/cycleway/crossing/bicycle_foot.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"moreFields": [
"{@templates/crossing/traffic_signal_more}",
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/cycleway/crossing/uncontrolled.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/cycleway/crossing/unmarked.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/footway/crossing.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"flashing_lights"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/footway/crossing/_marked.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"flashing_lights"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/footway/crossing/_zebra.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"flashing_lights"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/footway/crossing/traffic_signals.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"moreFields": [
"{@templates/crossing/traffic_signal_more}",
"smoothness",
"{@templates/crossing/geometry_way_more}",
"flashing_lights"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/footway/crossing/uncontrolled.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"flashing_lights"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/footway/crossing/unmarked.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"flashing_lights"
],
"geometry": [
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/path/_crossing.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/path/crossing/_marked.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/path/crossing/_traffic_signals.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"moreFields": [
"{@templates/crossing/traffic_signal_more}",
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/path/crossing/_uncontrolled.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
Expand Down
2 changes: 1 addition & 1 deletion data/presets/highway/path/crossing/_unmarked.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"surface"
],
"moreFields": [
"smoothness",
"{@templates/crossing/geometry_way_more}",
"{@templates/crossing/bicycle_more}",
"flashing_lights"
],
Expand Down

0 comments on commit 49f782c

Please sign in to comment.