[OSM-dev] osmosis 0.30 problem...

Karl Newman siliconfiend at gmail.com
Mon Apr 27 16:13:02 BST 2009


On Mon, Apr 27, 2009 at 7:07 AM, Gary68 <gary at gary68.de> wrote:

> hi,
>
> i want to use the clipIncompleteEntities option for 0.6 data files.
> osmosis version is 0.30
>
> i get:
> com.bretth.osmosis.core.OsmosisRuntimeException: Argument
> clipIncompleteEntities for task 2-bounding-box was not recognised.
>
>
> is option order crucial?
>
> command line is:
> ../../osmosis/osmosis-0.30/bin/osmosis --rx ../../osmdata/spain.osm
> --bounding-box left=-5.7 right=-3.8 bottom=35.99 top=36.9
> clipIncompleteEntities=true --wx ../../osmdata/costadelsol.osm
>
>
> cheers
>
> gerhard
>

That option is only implemented in the 0.6 tasks, and Osmosis 0.30 defaults
to 0.5 tasks. In order to use this with 0.30, you need to specifically
indicate 0.6 tasks by appending -0.6 to each task name. In other words:

../../osmosis/osmosis-0.30/bin/osmosis --read-xml-0.6
../../osmdata/spain.osm --bounding-box-0.6 left=-5.7 right=-3.8 bottom=35.99
top=36.9 clipIncompleteEntities=true --write-xml-0.6
../../osmdata/costadelsol.osm

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090427/52727153/attachment.html>


More information about the dev mailing list