This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to use Overpass Api for specific BoundingBox

0
1

I am trying to get parks from specific area through Overpass API. The Query is like -

[out:json][timeout:25];
(
  node["leisure"="park"]({{bbox}});
  way["leisure"="park"]({{bbox}});
  relation["leisure"="park"]({{bbox}});
);

out body;
>;
out skel qt;

How can I replace bbox with certain specific BoundingBox like '50.6,7.0,50.8,7.3' ?

Any help would be appreciated.

asked 27 Nov '15, 17:49

Suri45's gravatar image

Suri45
21223
accept rate: 0%


One Answer:

1

Yeah.. i got it. I just entered boundingbox like (50.6,7.0,50.8,7.3) and Its working. Thanks

answered 27 Nov '15, 18:12

Suri45's gravatar image

Suri45
21223
accept rate: 0%

Source code available on GitHub .