Skip to content

Commit f35f415

Browse files
committed
Allow adding crossings only to highways
1 parent 8e4bb6f commit f35f415

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

data/presets/groups.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"toggleable/service_roads": {"name": "Service Roads", "description": "Driveways, Parking Aisles, Tracks, etc.", "toggleable": true, "matches": {"geometry": "line", "allTags": {"highway": {"service": true, "road": true, "track": true}}}},
1818
"toggleable/traffic_roads": {"name": "Traffic Roads", "description": "Highways, Streets, etc.", "toggleable": true, "matches": {"geometry": "line", "allTags": {"highway": {"motorway": true, "motorway_link": true, "trunk": true, "trunk_link": true, "primary": true, "primary_link": true, "secondary": true, "secondary_link": true, "tertiary": true, "tertiary_link": true, "residential": true, "unclassified": true, "living_street": true}}}},
1919
"toggleable/water": {"name": "Water Features", "description": "Rivers, Lakes, Ponds, Basins, etc.", "toggleable": true, "matches": {"anyTags": {"waterway": {"*": true, "no": false}, "natural": {"water": true, "coastline": true, "bay": true}, "landuse": {"pond": true, "basin": true, "reservoir": true, "salt_pond": true}}}},
20-
"vertices/highway": {"matches": {"geometry": "vertex", "anyTags": {"highway": {"emergency_bay": true, "give_way": true, "milestone": true, "mini_roundabout": true, "passing_place": true, "stop": true, "traffic_signals": true, "turning_circle": true, "turning_loop": true}, "traffic_calming": true, "traffic_sign": true}}, "vertexOf": {"geometry": "line", "anyTags": {"highway": {"motorway": true, "trunk": true, "primary": true, "secondary": true, "tertiary": true, "residential": true, "motorway_link": true, "trunk_link": true, "primary_link": true, "secondary_link": true, "tertiary_link": true, "unclassified": true, "road": true, "service": true, "track": true, "living_street": true, "bus_guideway": true, "path": true, "footway": true, "cycleway": true, "bridleway": true, "pedestrian": true}}}},
20+
"vertices/highway": {"matches": {"geometry": "vertex", "anyTags": {"highway": {"crossing": true, "emergency_bay": true, "give_way": true, "milestone": true, "mini_roundabout": true, "passing_place": true, "stop": true, "traffic_signals": true, "turning_circle": true, "turning_loop": true}, "traffic_calming": true, "traffic_sign": true}}, "vertexOf": {"geometry": "line", "anyTags": {"highway": {"motorway": true, "trunk": true, "primary": true, "secondary": true, "tertiary": true, "residential": true, "motorway_link": true, "trunk_link": true, "primary_link": true, "secondary_link": true, "tertiary_link": true, "unclassified": true, "road": true, "service": true, "track": true, "living_street": true, "bus_guideway": true, "path": true, "footway": true, "cycleway": true, "bridleway": true, "pedestrian": true}}}},
2121
"vertices/railway": {"matches": {"geometry": "vertex", "anyTags": {"railway": {"buffer_stop": true, "derail": true, "milestone": true, "signal": true, "station": true, "switch": true, "train_wash": true, "tram_stop": true}}}, "vertexOf": {"geometry": "line", "anyTags": {"anyGroups": {"railway/lines": true}}}},
2222
"vertices/railway/crossing": {"matches": {"geometry": "vertex", "anyTags": {"railway": "crossing"}}, "vertexOf": {"geometry": "line", "anyGroups": {"toggleable/paths": true, "railway/lines": true}}},
2323
"vertices/railway/level_crossing": {"matches": {"geometry": "vertex", "anyTags": {"railway": "level_crossing"}}, "vertexOf": {"geometry": "line", "anyGroups": {"highway/vehicular": true, "railway/lines": true}}},

data/presets/groups/vertices/highway.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"geometry": "vertex",
44
"anyTags": {
55
"highway": {
6+
"crossing": true,
67
"emergency_bay": true,
78
"give_way": true,
89
"milestone": true,

0 commit comments

Comments
 (0)