Returns all nodes that are inside a given bounding box and any relations that reference them. Also returns all ways that reference at least one node that is inside the bounding box, and relations that reference those ways.
Parameters (1)
bbox(string, query, required)
Bounding box as left,bottom,right,top (min_lon,min_lat,max_lon,max_lat) in WGS84 degrees
import zingu_apis
api = zingu_apis.api("openstreetmap")
result = api.fetch("map", bbox="13.3988,52.5094,13.4010,52.5100")
for item in result:
print(item)
const resp = await fetch("https://api.openstreetmap.org/api/0.6/map?bbox=13.3988%2C52.5094%2C13.4010%2C52.5100");
const data = await resp.json();
import zingu_apis
api = zingu_apis.api("openstreetmap")
result = api.fetch("map", bbox="13.3988,52.5094,13.4010,52.5100")
for item in result:
print(item)
const resp = await fetch("https://api.openstreetmap.org/api/0.6/map?bbox=13.3988%2C52.5094%2C13.4010%2C52.5100");
const data = await resp.json();