[OSM-dev] Osmosis is 0.6 ready

Brett Henderson brett at bretth.com
Mon Nov 10 12:42:32 GMT 2008


Hi All,

Osmosis is now API 0.6 ready.  Preferably use the version in svn, 
although the latest interim version is currently linked to from the API 
0.6 wiki page 
http://wiki.openstreetmap.org/index.php/OSM_Protocol_Version_0.6#Osmosis

It supports 0.5 and 0.6 at the same time with 0.5 and 0.6 tasks both 
available.  To invoke 0.6 tasks, append a "-0.6" to the long version of 
the task name. For example, --read-xml becomes --read-xml-0.6. Short 
names such as --rx are not supported for 0.6 tasks yet. When the 0.6 
production cutover occurs I'll release a new version with 0.6 tasks as 
the default.

A basic migration task called --migrate is available for converting 0.5 
files into 0.6 format. It loses user information but otherwise should 
work correctly. An example command line would be:
osmosis --read-xml-0.5 data05.osm --migrate --write-xml-0.6 data06.osm

The 0.6 design hasn't totally stabilised yet so there's a chance that it 
could break but for now it should be fairly stable.  As of an hour ago 
I've been able to successfully replicate changes between two mysql 
databases using the latest rails schema from svn.  Let me know if you 
encounter any problems.

Cheers,
Brett





More information about the dev mailing list