I am using Overpass api to query Building data from OpenStreetMap. the query string is like this
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
but doing this returns only 10 nodes like here What i want is 10 buildings. asked 04 Mar '13, 05:13 amritkarma |
I'm sorry, this is not feasible yet. I'll add it to the list of suggested features. answered 04 Mar '13, 07:07 Roland Olbricht |
In the meantime this is now possible by using the new geometry feature:
It will display exactly 10 buildings. Note that there's a small rendering issue in overpass turbo at this time, as only the boundary box is shown. However, as the geometry feature is rather new, I'm sure the rendering will be ok pretty soon. This has no impact on the query itself, though. Try on Overpass Turbo: http://overpass-turbo.eu/s/50g answered 11 Sep '14, 13:20 mmd |
Updated Sep 2014 due to new available features