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

A short question: is it possible to enter a user-specific row using Overpass Turbo with out:csv? For example, an empty row? That would help structuring the csv output.

Here, an example where I added out:count here and there to get something close to an empty row.

Thanks in advance!

asked 08 Sep '21, 15:27

G%C3%A5seborg's gravatar image

Gåseborg
31171016
accept rate: 50%


You'll probably have to post process it, but you may be able to develop this:

[bbox:{{bbox}}]
[out:csv(name,NewL;false)];
way[leisure]; 
for (t["leisure"])
{
 make stat
  name=_.val,
  NewL='\n\n';
 out tags;
}

https://overpass-turbo.eu/s/1b1E

permanent link

answered 09 Sep '21, 14:29

DaveF's gravatar image

DaveF
3.3k8498133
accept rate: 16%

Thanks for the workaround! I adapted it slightly to make it easier, just using "make ooo ::id="0"; out tags;" see example on https://overpass-turbo.eu/s/1b3V

(10 Sep '21, 14:41) Gåseborg

Good. BTW - if you want all of those mapped entities change 'node' to 'nwr'

(10 Sep '21, 15:49) DaveF

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:

×483
×228

question asked: 08 Sep '21, 15:27

question was seen: 1,049 times

last updated: 10 Sep '21, 15:49

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