<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>A few questions about that:</FONT></DIV>
<DIV><FONT face=Arial size=2>- Does that include ways crossing the bbox
boudaries? Osmosis has the tendency to 'forget' ways that have only one node
into the bbox, that's why I was trying the 'completeWays' option. This results
in 'gaps' between bboxes when converted to Garmin images.</FONT></DIV>
<DIV><FONT face=Arial size=2>- I need lot's of small bboxes. Currently about 200
for The Netherlands only, but expanding to 'the world' when I feel that the maps
are production ready. Can the osmxapi handle that? I think that, in the long
run, I'll need to fall back to a local copy to do all the work
on...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>About the latest planet; I could start patching
that with daily/weekly dumps which would suffice for my needs.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=80n80n@gmail.com href="mailto:80n80n@gmail.com">80n</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=osm@na1400.info
href="mailto:osm@na1400.info">Lambertus</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=dev@openstreetmap.org
href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, December 02, 2007
13:14</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [OSM-dev] Osmosis bug when
using 'completeWays' option?</DIV>
<DIV><BR></DIV>Lambertus<BR>You might find that this would also do what you
need:<BR><BR>wget <A
href="http://www.informationfreeway.org/api/0.5/map?bbox=3.15,50.65,3.6,51.1 ">http://www.informationfreeway.org/api/0.5/map?bbox=3.15,50.65,3.6,51.1
</A>-O extract/63240001.osm<BR><BR>Probably a bit quicker and probably more
current than the latest planet.<BR><BR>80n<BR><BR><BR><BR>
<DIV class=gmail_quote>On Dec 2, 2007 11:07 AM, Lambertus <<A
href="mailto:osm@na1400.info"> osm@na1400.info</A>> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">When
trying to extract a number of bounding boxes from the planet file using
<BR>Osmosis I run into a problem with the 'completeWays'
option:<BR>Everything works well until I add the completeWays option.
Osmosis fails to<BR>write the data to the output directory (which is on a
separate harddisk) but <BR>instead something starts using all the space on
my root disk. It is not an<BR>.osm file as updatedb & locate can't find
any stray ones. The whole process<BR>runs way longer that normal and finally
dies when it runs out of disk space. <BR>When the process dies the space on
the disk is not released, that happens<BR>only after a reboot.<BR><BR>Is
this a bug or does the completeWays option invoke some sort of
buffering?<BR><BR>Below is an example of my Osmosis command (reduced to only
one output for <BR>clarity), both the 'planet/' and 'extract/' directories
are on a separate<BR>disk:<BR><BR>java -Xmx1048m -jar
utils/osmosis/osmosis.jar<BR>--read-xml enableDateParsing=no
file="planet/planet-latest.osm "<BR>outPipe.0="planet"<BR>--tee
inPipe.0="planet" outputCount=1 outPipe.0="t1"<BR>--bounding-box
completeWays=yes inPipe.0="t1" left=3.15 bottom=50.65<BR>top=51.1 right=3.6
outPipe.0= "bb1"<BR>--write-xml inPipe="bb1"
file="extract/63240001.osm"<BR><BR><BR><BR>_______________________________________________<BR>dev
mailing list<BR><A href="mailto:dev@openstreetmap.org">dev@openstreetmap.org
</A><BR><A
href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev"
target=_blank>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</A><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>