[OSM-talk] Osmosis and Bounding Boxes
Karl Newman
siliconfiend at gmail.com
Mon Feb 18 22:33:29 GMT 2008
On Feb 18, 2008 1:47 PM, Stuart Poulton <swp at astro.le.ac.uk> wrote:
> Hi,
>
> No problems with the usage of multiple bounding boxes, infact in this case
> 14 of them. Each one output to a single file.
> Looks like the simplest solution may be to have a 15th polygon and output
> this to a final file.
>
> Cheers
>
> Stuart
>
>
> On 18 Feb 2008, at 21:42, Gregory wrote:
>
> I've heard you can only do one bounding box and nothing clever.
>
> On 18/02/2008, Stuart Poulton <swp at astro.le.ac.uk> wrote:
> >
> > Hi All,
> >
> > Can anyone advise.....
> >
> > If I'm extracting a series of bounding boxes to seperate files, can I
> > also extract the entire area to one file at the same time ?
> >
> > I'm currently using.....
> >
> > ../osmosis-0.24/bin/osmosis --read-xml file="../planet-080102.osm.bz2" \
> > --tee 3 \
> > --bounding-box top="60.85" bottom="58.70" left="-3.50" right="-0.75" \
> > --bounding-box top="58.70" bottom="55.50" left="-8.00" right="-5.00" \
> > --bounding-box top="58.70" bottom="55.50" left="-5.00" right="-1.50" \
> > --write-xml file="Grid0.osm" \
> > --write-xml file="Grid1.osm" \
> > --write-xml file="Grid2.osm" \
> >
> If your goal is to have the results of all three bounding boxes in one
file, you could tee the output of each bounding box, write one to a file,
then pass the other to a merge task, then write out that merged set. It
would be a complex command line but it should be possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080218/a20d6d47/attachment.html>
More information about the talk
mailing list