[osmosis-dev] Extract Bounding Box

Brett Henderson brett at bretth.com
Sun Jul 29 13:54:10 BST 2012


Hi Yiannis,

On 26 July 2012 01:59, Yiannis Gkoufas <johngouf85 at gmail.com> wrote:

> Hi Tobias,
>
> thanks a lot for your response! Your post is already my starting point.
> However, I didn't find a way to extract the bounding box multiple times
> from the same loaded osm file.
> So, for the time I am just going to use the API.
>

Are you trying to load the OSM file once but read several different
bounding boxes from it?  If so, have you looked at the --tee task?  It lets
you read from a single file and split the output to several bounding box
tasks.  Something like:
osmosis --rx myfile.osm --tee 2 --bb <my bbox 1> --wx bbox1.osm --bb <my
bbox 2> --wx bbox2.osm

Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120729/c9f58bb0/attachment.html>


More information about the osmosis-dev mailing list