That's exactly what I was looking for Brett! Thanks a lot! PS: However, I still think that the Java documentation for osmosis is poor.
On 29 July 2012 15:54, Brett Henderson <[email protected]> wrote: > Hi Yiannis, > > On 26 July 2012 01:59, Yiannis Gkoufas <[email protected]> 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 > >
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
