[OSM-dev] Release candidate for OSM binary format is in osmosis trunk.

Scott Crosby scrosby at cs.rice.edu
Tue Sep 21 22:20:39 BST 2010

On Tue, Sep 21, 2010 at 5:30 AM, Frederik Ramm <frederik at remote.org> wrote:

> Hi,
> Scott Crosby wrote:
>> This has been done. RC2 is in osmosis trunk. Changes are almost
>> exclusively to the underlying osmbin.jar with no format
>> incompatibilities. Changes include:
> I've been using it for a few days now and it looks promising; I might be
> able to publish regular .osm.pbf extracts soon (and kick out the .bz2 stuff
> soon after).
> One minor bug I've found is that when I try
> osmosis --fast-read-xml in.xml --buffer --write-bin out.osm.pbf
> compress=none
If you want concurrency, you need a larger buffer than the default of 100
entities. With the default of 8000 entities in a block, I suggest a
bufferCapacity of 12000.

> and accidentally run this in a directory where I do not have write access,
> I get
> java.io.FileNotFoundException: out.osm.pbf (Permission denied)
> [...]
> org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument compress
> for task 3-write-bin was not recognised.
>        at
> org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory.createTaskManager(TaskManagerFactory.java:64)
> The latter message is obviously bogus, as compress=none is accepted fine
> when the output file is writable.

Thanks. I have a tentative fix in my tree.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100921/1631c8cd/attachment.html>

More information about the dev mailing list