On Dec 19, 2007 4:49 PM, Martijn van Oosterhout <<a href="mailto:kleptog@gmail.com">kleptog@gmail.com</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 class="Ih2E3d">On Dec 19, 2007 10:14 AM, 80n <<a href="mailto:80n80n@gmail.com">80n80n@gmail.com</a>> wrote:<br>> Since osmxapi doesn't have this limitation I'm wondering if it would be<br>> feasible to download some selected ways (landuse=forest, etc) from osmxapi
<br>> [1] for a much larger area.  These could then be merged with the z12 data<br>> from the main api.<br><br></div>I was thinking if osmxapi could note while loading if an area exceeds<br>the size of a zoom-12 tile, then a special search for
<br>[osmxapi:oversize=1] would return only those objects. This should be<br>fairly quick.<br></blockquote><div><br>This should be feasible.  I'm thinking something like:<br><br>/api/0.5/way[bbox=w,x,y,z]/oversize<br><br>
would return all ways that are not in the bbox but have an extent that *includes* the bbox.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Really, it's a bug in the API that such polygons arn't returned since<br>they intersect the requested area.<br><br>Most of the suggestions here seem to suffer from the problem that<br>they're specific to zoom-12 rendering. If the data ever gets detailed
<br>enough that we switch to zoom13 or 14, we have ot go add lots more<br>such nodes...<br></blockquote><div><br>Yes, we shouldn't add any more z12 assumptions.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Have a nice day,<br><font color="#888888">--<br>Martijn van Oosterhout <<a href="mailto:kleptog@gmail.com">kleptog@gmail.com</a>> <a href="http://svana.org/kleptog/" target="_blank">http://svana.org/kleptog/</a>
<br></font></blockquote></div><br>