Skip to content

Commit

Permalink
Allow adding crossings only to highways
Browse files Browse the repository at this point in the history
  • Loading branch information
quincylvania committed Jul 24, 2019
1 parent 8e4bb6f commit f35f415
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/presets/groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"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}}}},
"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}}}},
"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}}}},
"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}}}},
"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}}}},
"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}}}},
"vertices/railway/crossing": {"matches": {"geometry": "vertex", "anyTags": {"railway": "crossing"}}, "vertexOf": {"geometry": "line", "anyGroups": {"toggleable/paths": true, "railway/lines": true}}},
"vertices/railway/level_crossing": {"matches": {"geometry": "vertex", "anyTags": {"railway": "level_crossing"}}, "vertexOf": {"geometry": "line", "anyGroups": {"highway/vehicular": true, "railway/lines": true}}},
Expand Down
1 change: 1 addition & 0 deletions data/presets/groups/vertices/highway.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"geometry": "vertex",
"anyTags": {
"highway": {
"crossing": true,
"emergency_bay": true,
"give_way": true,
"milestone": true,
Expand Down

0 comments on commit f35f415

Please sign in to comment.