On Dec 2, 2007 12:27 PM, Lambertus <<a href="mailto:osm@na1400.info">osm@na1400.info</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div 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"></font></div></div></blockquote><div><br>As long as there is at least one node in the bbox then you should get the way.  If there are no nodes in the bbox (for example, when a way just crosses a corner) then it will not give you the way.
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff"><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></blockquote><div><br>Yes.  As far as I know the only limiting factor is the apache timeout (currently set to about 20 minutes).  If this becomes a practical problem it should be possible to increase that limit.
<br> <br>80n<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff"><div> </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><div><div></div><div class="Wj3C7c">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b> 
  <a title="80n80n@gmail.com" href="mailto:80n80n@gmail.com" target="_blank">80n</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="osm@na1400.info" href="mailto:osm@na1400.info" target="_blank">
Lambertus</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="dev@openstreetmap.org" href="mailto:dev@openstreetmap.org" target="_blank">
dev@openstreetmap.org</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Sunday, December 02, 2007 
  13:14</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><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+" target="_blank">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" target="_blank"> osm@na1400.info</a>> wrote:<br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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" target="_blank">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></div></div></div>
</blockquote></div><br>