<!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>80n Thanks for helping.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Downloaded all 200 bboxes and I'm afraid this won't 
fly. It takes about 1 - 3 minutes before each download completes (varies 
greatly). In total it took about 4 hours to download The Netherlands... Parsing 
the planet file takes about 1.5 to 2 hours.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I also noticed that the osmxapi does not specify 
the amount of data it's going to return although it seems to fetch the data 
first before it starts sending. Maybe something to add....?</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:35</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [OSM-dev] Osmosis bug when 
  using 'completeWays' option?</DIV>
  <DIV><BR></DIV>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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
    <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="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
      <DIV 
      style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">----- 
      Original Message ----- </DIV>
      <DIV 
      style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; moz-background-clip: -moz-initial; moz-background-origin: -moz-initial; moz-background-inline-policy: -moz-initial"><B>From:</B> 
      <A title=80n80n@gmail.com href="mailto:80n80n@gmail.com" 
      target=_blank>80n</A> </DIV>
      <DIV 
      style="FONT: 10pt arial; 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: 10pt arial; 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: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B> 
      Sunday, December 02, 2007 13:14</DIV>
      <DIV 
      style="FONT: 10pt arial; 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="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" 
        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></BLOCKQUOTE></BODY></HTML>