[osmosis-dev] maintaining history

Frederik Ramm frederik at remote.org
Wed Jan 28 09:26:30 GMT 2009


Hi,

Brett Henderson wrote:
> 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.

There's also a Perl script that does conversions back and forth here:

/applications/utils/conv05

I have used that successfully to prepare ancient data for use with 
current osm2pgsql to produce my history animations. I did however not 
use osmosis to cut out the desired region but instead the 
extract-polygon script from

/applications/utils/osm-extract

in the 0.4 version. The Perl converter needs some memory to do its job 
and will refuse to process at least the more recent 0.4 planets in one 
go, so I had to excerpt first and then convert.

Bye
Frederik





More information about the osmosis-dev mailing list