Martijn<br>Thanks, I think I've got a handle on the probable cause now.  <br><br>Not sure yet what the best solution is.<br><br>The South Africa issue appears unrelated - its more likely that two adjacent tiles were generated with different versions of something.  The latitudes should otherwise match across tiles.
<br><br>80n<br><br><div class="gmail_quote">On Jan 21, 2008 11:40 AM, Martijn van Oosterhout <<a href="mailto:kleptog@gmail.com">kleptog@gmail.com</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;">
<div class="Ih2E3d">On Jan 21, 2008 11:58 AM, 80n <<a href="mailto:80n80n@gmail.com">80n80n@gmail.com</a>> wrote:<br>> I've been working on a captions layer for low zoom levels (z4 - z7).<br>><br>> The results are nice, but there seems to be a projection problem.  Items are
<br>> being displaced vertically.<br>><br>> Everything is spot-on for z8-z12, but when I try to repeat the process for<br>> z4-z7 then the error is apparent.<br>><br>> I'm guessing at the moment that the problem has always been there, but is
<br>> insignificant at z8, whereas at lower zoom levels it starts to become quite<br>> noticeable.<br><br></div>Sounds a lot like:<br><a href="http://wiki.openstreetmap.org/index.php/Osmarender_bug" target="_blank">
http://wiki.openstreetmap.org/index.php/Osmarender_bug</a><br><br>The error grows by the square of the zoom, so at lower zoom levels it<br>gets worse, much worse.<br><div class="Ih2E3d"><br>> Is there anyone who is familiar with the mercator projection code in
<br>> tilesgen.pl / <a href="http://tahproject.pm" target="_blank">tahproject.pm</a> that might be able to shed some light on this<br>> problem?<br><br></div>My guess is that the mercator preprocessor needs to be invoked to
<br>project each point individually, and not just the four corners with<br>linear interpolation.<br><br>Note: I think the new lowzoom process has similar issues:<br><a href="http://www.informationfreeway.org/?lat=-33.92&lon=22.52&zoom=11&layers=B000F000F" target="_blank">
http://www.informationfreeway.org/?lat=-33.92&lon=22.52&zoom=11&layers=B000F000F</a><br><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>