[OSM-dev] Using osmosis as a lib?

Franz graff at cip.ifi.lmu.de
Mon Jan 24 14:40:01 GMT 2011


Hi,

is it possible to use osmosis as a library in order to use it in an own,
separate java program? I wanted to transform pbf to xml and extract
subregions from larger osm/pbf files.

I already downloaded osmosis-0.38 bins and the sources from SVN and
checked the docs which explains everything great if I'd wanted to do the
above in the command line.
Could someone please give me a hint, how I could use osmosis directly
(not via cli) to transform pbf to xml and possibly also how to cut
regions from large xml/pbf files?

Any help would be appreciated,
Regards
Franz



More information about the dev mailing list