Skip to content

Instantly share code, notes, and snippets.

@hyperreality
Last active October 29, 2025 20:54
Show Gist options
  • Select an option

  • Save hyperreality/e3f88d5db32e2eaa72a47db75768ef57 to your computer and use it in GitHub Desktop.

Select an option

Save hyperreality/e3f88d5db32e2eaa72a47db75768ef57 to your computer and use it in GitHub Desktop.
Get cyclable tracks in view on overpass turbo
[out:json][timeout:60];
// All rideable categories within the current map view
(
/* Bridleways */
way
["highway"="bridleway"]
["access"!~"no"]
["bicycle"!~"no"]
({{bbox}});
/* Bridleways by designation on other highway types */
way
["designation"="public_bridleway"]
["access"!~"no"]
["bicycle"!~"no"]
({{bbox}});
/* Restricted byways */
way
["designation"="restricted_byway"]
["access"!~"no"]
["bicycle"!~"no"]
({{bbox}});
/* BOATs */
way
["designation"="byway_open_to_all_traffic"]
["access"!~"no"]
["bicycle"!~"no"]
({{bbox}});
/* Cycleways */
way
["highway"="cycleway"]
["access"!~"no"]
["bicycle"!~"no"]
({{bbox}});
way
["cycleway"="yes"]
["access"!~"no"]
["bicycle"!~"no"]
({{bbox}});
/* Shared-use paths & tracks */
way
["highway"="footway"]
["area"!="yes"]
["bicycle"~"^(designated|yes|permissive)$"]
({{bbox}});
way
["highway"="path"]
["area"!="yes"]
["bicycle"~"^(designated|yes|permissive)$"]
({{bbox}});
way
["highway"="track"]
["area"!="yes"]
["bicycle"~"^(designated|yes|permissive)$"]
({{bbox}});
);
// Display
out geom;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment