[OSM-talk] Edit filtered data
Roland Olbricht
roland.olbricht at gmx.de
Thu Aug 8 04:21:32 UTC 2013
Hello everybody,
as proposed now an application for the global bbox feature of
Overpass API v0.7.4:
Edit filtered objects:
http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Edit_filtered_data
For example, one could check for all shops in Bonn whether they have a
"wheelmap" tag or not and add the missing tags.
Basically, the global bounding box feature
http://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Global_Bbox
has two effects:
- The given bounding box will be applied to all subqueries
- The values will be returned in an extra element <em>bounds</em> in the
beginning of the response.
Thus the two queries
( way[shop=supermarket](50.6,7.0,50.8,7.3);
>;
node[shop=supermarket](50.6,7.0,50.8,7.3););
out;
and
[bbox:50.6,7.0,50.8,7.3];
( way[shop=supermarket];
>;
node[shop=supermarket];);
out;
are equal.
Cheers,
Roland
More information about the talk
mailing list