[OSM-dev] OSMOSIS merge problem
shaun at shaunmcdonald.me.uk
Mon May 18 22:54:53 BST 2009
On 18 May 2009, at 21:13, Jürgen Gluch wrote:
> so far I used the "osmosis-0.24.1-java5" version to merge osm files.
> But one of my source files has changed to the 0.6-API recently (an
> extract from geofabrik.de). I thought to use a new version of
> osmosis to merge the files. So far without success. I tired
> "osmosis-0.31" to merge an 0.5-api file with a 0.6-api file to an
> 0.5-api file...
> this worked fine with 0.5-api files, but not with new 0.6-api:
> java -Xmx1024M -jar osmosis.jar --rx data.osm --sort --rx srtm.osm --
> sort --m --wx temp.osm
> I also tired:
> bin/osmosis --read-xml-0.6 file="data.osm" --sort --read-xml
> file="srtm.osm" --sort --merge --write-xml file="merged.osm"
> data.osm is 0.6-api
> srtm.osm is 0.5-api
> merged.osm shall become 0.5-api
There is no option to go from 0.6 to 0.5, however you can make the 0.5
stream a 0.6 stream by adding the --migrate task in the appropriate
part of the commandline.
More information about the dev