Hi,

James P. Biagioni wrote:
> When I try to cut a bounding box out of the Planet.osm file, with the
> completeWays=yes option on, I receive the error: java.io.IOException:
> No space left on device

This option creates a large (10s of GB) temporary file. Is it possible 
that the temporary file is created on another disk partition where you 
do not have so much space?

The size of the temp file is proportional to the size of the input file. 
So if you e.g. cut a little area out of the full planet, you will have a 
full-size temporary file. In such a situation performance will improve 
dramatically if you first cut out a slighty larger area than required 
WITHOUT completeWays=yes, and only then cut out the smaller area - in 
this case only the stuff you cut out first needs to go to the temp file:

osmosis --rx planet.osm --bb <larger_bounding_box> 
clipIncompleteEntities=yes --bb <smaller_bounding_box> completeWays=Yes 
--wx cutout.osm

Of course this will lose any nodes which are outside of the larger bbox.

Bye
Frederik


_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to