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

I have currently the following query: http://overpass-api.de/api/interpreter?data=(node%22highway%22;way(bn);%3E;);(.;rel(bn););(.;rel(bw););._;out;

I would like to retrieve the data in an csv output format. I found out that I need to add this to the query data=[out:format]... Works like a charm for JSON but not for CSV. What am I doing wrong?

Thanks

asked 30 Mar '15, 13:56

Linda's gravatar image

Linda
1222
accept rate: 0%


[out:csv] alone will not work. You need to specify exactly, which fields should be included in the response. Please check out the documentation on the wiki page as pointed out earlier today. Also, you can test your query in http://overpass-turbo.eu , which may be more convenient.

Can you elaborate a bit more, what you're trying to do?

permanent link

answered 30 Mar '15, 14:05

mmd's gravatar image

mmd
5.7k15388
accept rate: 37%

edited 30 Mar '15, 14:10

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:

×85
×42

question asked: 30 Mar '15, 13:56

question was seen: 9,028 times

last updated: 30 Mar '15, 14:10

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