Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Overpass api to query Building data from OpenStreetMap. the query string is like this

(way[building](bbox);node(w););out body;

This works really fine (the bounding box is specified by Openlayers).

Now i want to improve it, such that only 10 buildings are returned by the query, to speed up the process. For this i used the query

(way[building](bbox);node(w););out 10;

but doing this returns only 10 nodes like here

What i want is 10 buildings.

share|improve this question
up vote 1 down vote accepted

this is not feasible yet.

See the same question answer from

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.