[osmosis-dev] Extract Bounding Box

Yiannis Gkoufas johngouf85 at gmail.com
Wed Jul 25 16:59:43 BST 2012


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.

Cheers!

On 25 July 2012 07:23, Tobias Knerr <osm at tobias-knerr.de> wrote:

> On 23.07.2012 18:13, Yiannis Gkoufas wrote:
> > What I want to achieve is this: load the osm file in memory and make
> > several bounding-box requests to it through Java.
> > Can someone point me to any reference that will help me with that?
>
> I've once written a forum post with some example code on how to load a
> file into a Java application using Osmosis:
>
> http://forum.openstreetmap.org/viewtopic.php?pid=213212#p213212
>
> Maybe it helps you to get started. I've not used the bounding box
> feature inside a Java application yet, but I assume it would be possible
> to build a pipeline of Osmosis tasks by setting a BoundingBoxFilter
> instance as the sink of the reader.
>
> Let us know if you get it to work!
>
> Regards,
> Tobias
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20120725/68ab5027/attachment.html>


More information about the osmosis-dev mailing list