On Tue, Sep 21, 2010 at 5:30 AM, Frederik Ramm <frede...@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.

Scott
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to