[osmosis-dev] maintaining history
Brett Henderson
brett at bretth.com
Tue Jan 27 20:38:24 GMT 2009
Karl Newman wrote:
> On Tue, Jan 27, 2009 at 3:37 AM, Stefan Baebler
> <stefan.baebler at gmail.com <mailto:stefan.baebler at gmail.com>> wrote:
>
> I'm maintaining historic snapshots of OSM data in Slovenia [1] to
> illustrate local OSM growth.
> There are excerpts from all 0.5 planet dumps, but I'd like to extend
> that to version 0.4 planets also (during 0.3 times and earlier our
> area was most likely full of dragons). I plan to keep historic data
> excerpts in original format (0.4, 0.5...) and converted to current
> version (whatever future brings).
>
> My question is:
> Which SVN revision would still support reading and writing 0.4, making
> an excerpt and saving it in 0.5 format (or is there jar with version
> 0.21 available somewhere). SVN tags are used only since version 0.28.
>
> Stefan
>
> [1] http://www.openstreetmap.si/data/
>
>
> 0.4 tasks were removed in SVN 5189, so if you svn up -r 5188, you
> should get the most up-to-date Osmosis that still has 0.4 tasks. It
> looks like r5184 is the last commit to the osmosis directory that had
> 0.4 tasks. That might be a good revision to tag, by the way...
There is no migration task from 0.4 to 0.5 format though. So you'll be
able to read 0.4 planet files, extract the Slovenia region, and write
the result to a 0.4 file. You won't be able to save the result in 0.5
format. The only method I'm aware of for migrating 0.4 data to 0.5
format is the migration script that runs on the mysql database. I hope
that is still available somewhere.
As for tagging, I'd be happy to see key older revisions of osmosis
tagged as well. I'll do it one day if nobody beats me to it.
Brett
More information about the osmosis-dev
mailing list