Hello, I'm trying to use osmconvert to get a csv file from the changesets-latest.osm dump. I did the following:
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? |
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. |
I wrote a script, in case it helps someone: https://github.com/dalek2point3/jmpscripts/blob/master/python/parsechange.py |