From OpenStreetMap Wiki
Jump to: navigation, search

Please let me know if there is a more appropriate forum for this, but I've tried some slightly different procedures from described here with no success. I will test the installation instructions by the book now, but I'd like to understand why my approach didn't work.

I've started from a `osm.bz2` file with `--read-xml` (instead of a osh file with `--read-pbf`). I understand that it does not include history information, so I've proceeded to process some OSC files with `--read-xml-change` and `--write-owldb-change`, but the changeset records do not get created (I get zero from SELECT count(*) FROM changesets).

I thought processing OSC files would create the changeset records as stated on the 'Importing Data' section. What am I doing wrong?

Yes, this is good place to ask such questions. I am sorry for all the trouble with installation. OWL is really complex, I'm trying to simplify things but some stuff just cannot be simplified :( Anyway, about your question - table "changesets" holds metadata for changesets. This data is not available with regular OSM data dumps - it is separate. In the instructions there is a section called "Importing changeset metadata" which I have to expand and explain how to import this metadata - I promise I will do that today. Briefly - I'm using a modified version of to import weekly metadata dumps and then my script scripts/download_changesets which downloads current changesets. Paweł Paprota 14:44, 17 January 2013 (UTC)

Thanks. You may want to change the text under 'Importing Data' it is leading to believe that processing OSC changes is sufficient to create changesets. It lead me, anyway... :-)
I added instructions on how to import changeset metadata. Let me know if they are useful to you and if they work :-) Paweł Paprota 16:56, 17 January 2013 (UTC)