[osmosis-dev] osmbin plugin

Marcus Wolschon marcus.wolschon at googlemail.com
Tue Apr 27 17:49:58 BST 2010


Hello Daniel,

Osmbin has some known bugs that I was just never able to pinpoint
and has been replaces by the H2Database here. (at some point in time
there would always be inconsistencies in the indice despite me having
sanity-checks all over the place :( ) It works but is not perfect.

You´ll have a hard time getting it to run in J2SE as it uses memory
mapped files all over
the place for performance reasons but conventional IO-code is in there too
as a fallback due to limitations on the size of memory mapped files on
the Atom-platform.
So it is possible.

> On my Machine is running Win 7 enterprise and I cannot write in the
> Applocation Data Folder.
> So I copied the libosm-2.5.2-RC1-plugin_for_osmosis-0.32.zip into the bin
> directory of osmosis-0.32.
>
> But if I use this command:
> osmosis --read-xml file="map.osm" --writeOsmBin-0.6 dir="osmbin-map"
>
> I get a OsmosisRuntimeException:  Task Type writeOsmBin-0.6 does not exist.
>
> Can anyone please help?

In the osmosis-sources there is a class PluginManager.
You can look up the pathes that is searches for plugins there.


Marcus




More information about the osmosis-dev mailing list