NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

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%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×42
×1
×1

question asked: 08 Jan, 21:07

question was seen: 165 times

last updated: 08 Jan, 21:07

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum