[osmosis-dev] Extract Bounding Box

Yiannis Gkoufas johngouf85 at gmail.com
Sun Jul 29 14:12:02 BST 2012


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 <brett at bretth.com> wrote:

> 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/51c23a13/attachment.html>


More information about the osmosis-dev mailing list