Re: [OSM-dev] Overpass API: Getting nodes together with centroids of areas ("POI query")?

2014-10-18 Thread Martin Raifer
Yes. Just replace the first print statement (``) with `` and drop the following two lines (recurse and second print). This will give you the coordinates for all nodes and an approximate* centroid for all ways and relations in the result set. Example: http://overpass-turbo.eu/s/5w2 * Because of per

[OSM-dev] Overpass API: Getting nodes together with centroids of areas ("POI query")?

2014-10-18 Thread Stefan Keller
Hi, A typical query gives all 1. nodes, 2. ways and 3. areas with "tourism=zoo” (see below). But I'd like to get back only point geometries which consist of 1. nodes together with (union) 2. centroids calculated on the fly from areas. I coined this a "POI query". Possible? Yours, S.