User:Historicbruno

From OpenStreetMap Wiki
Jump to navigation Jump to search

Overpass API snippets

Some of these might be useful for me (to remember) or for others to discover.

Find all waterways (e.g. rivers) within a state

This is useful for working on lots of waterways, without loading "too much" data at once:

TODO relations

[timeout:25][bbox:{{bbox}}];
{{geocodeArea:Kentucky, United States}}->.kyArea;
(
    way["waterway"](area.kyArea);
);
out body;
>;
out skel qt;