Skip to content

Instantly share code, notes, and snippets.

@hyperreality
Created November 7, 2025 14:57
Show Gist options
  • Select an option

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

Select an option

Save hyperreality/8b0354671bbc63d352906afce6a17aa1 to your computer and use it in GitHub Desktop.
Overpass: Get off-road walkable routes
[out:json][timeout:60];
// Walkable-by-pedestrians (non-road) ways in current map view
(
/* Explicitly pedestrian-focused highways */
way
["highway"~"^(footway|path|pedestrian|steps|bridleway)$"]
["area"!="yes"]
["access"!~"^(no|private)$"]
["foot"!~"^(no|private)$"]
["footway"!~"sidewalk"]
({{bbox}});
/* Rights of way commonly walkable in the UK */
way
["designation"~"^(public_footpath|public_bridleway|restricted_byway)$"]
["access"!~"^(no|private)$"]
["foot"!~"^(no|private)$"]
["footway"!~"sidewalk"]
({{bbox}});
/* Tracks where foot access is explicitly allowed */
way
["highway"="track"]
["area"!="yes"]
["access"!~"^(no|private)$"]
["foot"~"^(yes|designated|permissive)$"]
({{bbox}});
);
// Display
out geom;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment