On Tue, Sep 21, 2010 at 5:30 AM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div class="im"><br>
<br>
Scott Crosby wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This has been done. RC2 is in osmosis trunk. Changes are almost<br>
exclusively to the underlying osmbin.jar with no format<br>
incompatibilities. Changes include:<br>
</blockquote>
<br></div>
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).<br>
<br>
One minor bug I've found is that when I try<br>
<br>
osmosis --fast-read-xml in.xml --buffer --write-bin out.osm.pbf compress=none<br>
<br></blockquote><div><br></div><div>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.</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
and accidentally run this in a directory where I do not have write access, I get<br>
<br>
java.io.FileNotFoundException: out.osm.pbf (Permission denied)<br>
[...]<br>
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Argument compress for task 3-write-bin was not recognised.<br>
        at org.openstreetmap.osmosis.core.pipeline.common.TaskManagerFactory.createTaskManager(TaskManagerFactory.java:64)<br>
<br>
The latter message is obviously bogus, as compress=none is accepted fine when the output file is writable.<br></blockquote><div><br></div><div>Thanks. I have a tentative fix in my tree.</div><div><br></div><div>Scott</div>
<div> </div></div>