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 <[email protected]> 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 > [email protected] > http://lists.openstreetmap.org/listinfo/osmosis-dev >
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
