Commit 2c31e4f1 authored by Eric Duminil's avatar Eric Duminil
Browse files

Example query

parent a3cfa895
......@@ -74,6 +74,7 @@ def get_osm_roads(bounds):
else:
print("Downloading data...")
# TODO: Could add trees from OSM too.
# Example query: https://overpass-turbo.eu/s/1JNc
api = overpy.Overpass()
result = api.query(f"""
way({bounds.S},{bounds.W},{bounds.N},{bounds.E}) ["highway"];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment