I have an overpass query that queries municipalities in a specific region.
[out:json];
rel["de:amtlicher_gemeindeschluessel"~"01[0-9]{6}"];
out tags bb;
The JSON output includes the bounding boxes for the elements as shown here:
...
"type": "relation",
"id": 27020,
"bounds": {
"minlat": 54.7517986,
"minlon": 9.3572980,
"maxlat": 54.8370717,
"maxlon": 9.5068117
},
"tags": { ...
I would like to have the output as CSV. Here is an example that returns the centerpoints.
[out:csv(
::id,
"de:amtlicher_gemeindeschluessel",
wikipedia,
::lat,
::lon
)];
rel["de:amtlicher_gemeindeschluessel"~"01[0-9]{6}"];
out tags bb;
Is it possible to formulate the query so that the bounding box is delivered - i.e. 4 columns: minlat minlon maxlat maxlon?