Skip to content

Instantly share code, notes, and snippets.

@KHwong12
Created August 17, 2020 04:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KHwong12/3a9bafde7daf59dc3665ff52d3aaf0c5 to your computer and use it in GitHub Desktop.
Save KHwong12/3a9bafde7daf59dc3665ff52d3aaf0c5 to your computer and use it in GitHub Desktop.
[out:json][timeout:25];
// fetch area “HK” to search in
{{geocodeArea:HK}}->.searchArea;
// gather results
(
// query part for: “route=ferry”
way["route"="ferry"](area.searchArea);
relation["route"="ferry"](area.searchArea);
);
// print results
out body;
>;
out skel qt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment