[osmosis-dev] Can not run Osmosis
marcus.wolschon at googlemail.com
marcus.wolschon at googlemail.com
Thu Feb 19 10:31:53 GMT 2009
On Thu, 19 Feb 2009 18:09:08 +0800, Xia Zhang <boyamyxia at gmail.com> 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
More information about the osmosis-dev
mailing list