Retrieve min and max lon/lat using csv output and bb output

Hi, I am trying to output a relation as a CSV along with the bounds of the bbox. My template query comes from this example which retrieves the center lon and lat.

[out:csv(::id,name,::lat,::lon; true; ",")];

(rel["name"="Southampton"]["place"="city"];);

out center;

But moving to using bb as the out:

[out:csv(::id,name,::minlat,::minlon,::maxlat,::maxlon; true; ",")];

(rel["name"="Southampton"]["place"="city"];);

out bb;

I get no data returned for the min and max long and lat fields.

Am I doing something wrong or is this simply not supported? Best, Chris

asked 08 Jan, 21:07

Chessel's gravatar image

Chessel
11336
accept rate: 0%