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

Hello,

I'm trying to use osmconvert to get a csv file from the changesets-latest.osm dump. I did the following:

osmconvert changesets-latest.osm --csv="@id @created_at @numchange_changes @closed_at @min_lat @min_lon @max_lat @max_lon @user @uid" --csv-headline -o=changesets.csv

But this gave me nothing -- i just got an empty csv file. I dont think osmosis can be used to generate CSV files either. Any ideas?

asked 13 Dec '13, 15:53

figuringout's gravatar image

figuringout
41124
accept rate: 0%


permanent link

answered 26 May '14, 21:50

figuringout's gravatar image

figuringout
41124
accept rate: 0%

osmconvert can only convert OSM files (which contain nodes, ways, relations) - not changeset files (which only contain meta data about who edited where when, but not real geodata).

If you need a CSV file with geodata, don't use changesets-latest, use the planet file or an exctract of that. If you need a CSV file with the metadata from changesets-latest, it looks like you'll have to write a few lines in a scripting language of your choice. Or XSLT, even.

permanent link

answered 14 Dec '13, 22:35

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Your answer
toggle preview

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:

×47

question asked: 13 Dec '13, 15:53

question was seen: 3,916 times

last updated: 26 May '14, 21:50

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