[osmosis-dev] call osmosis from groovy

Gubler, Ruediger rgubler at init-ka.de
Thu Sep 15 11:51:57 BST 2011


Hello,

I have to merge a lot of small *.osm files together.

The first try was to create a windows .bat file but the command line becomes longer than supported.
Now I wrote 2 groovy scripts and call osmosis directly (Over plexus-classworlds as done in the osmosis.bat). 
Unfortunately it looks like it can't find/load plugins (classpath error !?):

org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task type fast-read-xml

The groovy files are attached to this mail.

Can anyone help me?


Yours Rüdiger

-------------- next part --------------
A non-text attachment was scrubbed...
Name: innerMergeCall.groovy
Type: application/octet-stream
Size: 1011 bytes
Desc: innerMergeCall.groovy
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20110915/ff7f45af/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge.groovy
Type: application/octet-stream
Size: 552 bytes
Desc: merge.groovy
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20110915/ff7f45af/attachment-0001.obj>


More information about the osmosis-dev mailing list