[osmosis-dev] How to merge 2 osm files
Sam Vekemans
acrosscanadatrails at gmail.com
Mon Jul 19 21:09:24 BST 2010
Hi there,
I was wondering how i can use osmosis to merge 2 osm files.
I use Windows XP and want to use the command line for it.
My guess is this
osmosis --rx file2.osm --rx file1.osm --m --wx merged.osm
Yet it does not work on my computer.
When preforming this task, i need to make file1.osm and file2.osm in
the 'osmosis' directory.
Perhaps i need to use
java -jar osmosis.jar --rx file2.osm --rx file1.osm --m --wx merged.osm
and i get a 'noClassDefFoundError
similar to the errors in this thread
http://www.mail-archive.com/newbies@openstreetmap.org/msg01252.html
Unfortunatly, the wiki page tells users to download a planet.osm file.
But that is just 1 function of the osmosis program, and not what im
looking for.
I dont have a planet.osm extract, nor a local PostgreSQL rails port database.
http://wiki.openstreetmap.org/wiki/Osmosis
Im just looking to take 2 .osm files and bring them into 1 .osm file.
Thanks,
Sam
P.S. I'll post the question to http://help.openstreetmap.org/ and
see if the right answer is found :)
Twitter: @Acrosscanada
Blogs: http://acrosscanadatrails.posterous.com/
http://Acrosscanadatrails.blogspot.com
Facebook: http://www.facebook.com/sam.vekemans
Skype: samvekemans
IRC: irc://irc.oftc.net #osm-ca Canadian OSM channel (an open chat room)
@Acrosscanadatrails
More information about the osmosis-dev
mailing list