On Thu, 19 Feb 2009 18:09:08 +0800, Xia Zhang <[email protected]> wrote:
> Hi All,
> 
> I just tried to combine two osm into one osm the Osmosis via:
> java -jar osmosis.jar --rx 1.osm --sort --rx 2.osm --sort  --m --wx
> final.osm

I just noticed the classpath.

Brett: What's your policy on the jar?
fat-jar with all dependencies and database-drivers or small jar?
In the former case you forgot to add the content of jpf.jar to osmosis.jar
in that release.

Xia:
I guess the following will work:

java -classpath osmosis.jar:jpf.jar:commons-logging-1.0.4.jar
org.openstreetmap.osmosis.core.Osmosis
--rx 1.osm --sort --rx 2.osm --sort  --m --wx final.osm


Marcus

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to