Not to get into the coding as I have no idea how it is handled, but better to not offer a 404 page, but to keep the min/max zoom tile as the reply in this case.<br>Ie if asking for zoom 20+ return with zoom 19 instead. More of a redirect instead of 404 if zoom is out of bounds.<br>
<br>One possibility to slightly abuse the zoom limits... tms[19,19]:http://... probably fine for lots of stuff as you would probably end up at that level anyhow.<br>Could we get just 2 zoom levels? say 16 and 19?<br><br>
Dale<br><br><div class="gmail_quote">On Sun, Sep 23, 2012 at 2:21 PM, Ian Dees <span dir="ltr"><<a href="mailto:ian.dees@gmail.com" target="_blank">ian.dees@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The "root cause" if you will, is that TileStache doesn't support 404ing instead of grey tiles when a request falls out of the specified bounds. If someone wants to code that up and submit a pull request, I would much rather use that.<div class="HOEnZb">
<div class="h5"><br>
<br><div class="gmail_quote">On Sun, Sep 23, 2012 at 1:18 PM, Alan Millar <span dir="ltr"><<a href="mailto:grunthos503@yahoo.com" target="_blank">grunthos503@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF"><div>I also found there is a minimum zoom also. Put it in the url as min,max like</div><div><br></div><div>tms[16,19]:http://...</div><div><br></div><div>Fixes the grey tiles when I zoom back out. <br>
<br>- Alan<div><div><br></div></div></div><div><br>On Sep 23, 2012, at 12:54 AM, Toby Murray <<a href="mailto:toby.murray@gmail.com" target="_blank">toby.murray@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite">
<div><p>I knew about the max zoom setting but for some reason never thought about applying it to the TIGER tiles to fix the grey....</p>
<p>Toby</p>
<div class="gmail_quote">On Sep 21, 2012 1:23 PM, "Alan Millar" <<a href="mailto:grunthos503@yahoo.com" target="_blank">grunthos503@yahoo.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Maybe everyone else knows this, but I just discovered it myself so I<br>
thought I would share it.<br>
<br>
I've been using Remap-a-tron to fix up US roads. I use both the Bing<br>
imagery and the TIGER 2012 tiles overlaid, and it makes it really<br>
useful.<br>
<br>
However, I've been frustrated that I can pretty far in with the Bing<br>
images, but if I go too far, the Tiger (normally transparent) tiles turn<br>
grey and obscure the Bing images. I've been continually turning off and<br>
back on the Tiger layer, which is a bit annoying after a while.<br>
<br>
JOSM has an easy limit in the Preferences for the maximum zoom, but it<br>
affects everything. I set it to 19, and then I did not get the grey<br>
boxes from Tiger, but did not get the higher detailed photos from Bing<br>
either.<br>
<br>
As it turns out, JOSM does have a max-zoom per tile server feature; it<br>
just is not obvious or clearly documented that I could find.<br>
<br>
You can enter it as part of the TMS url like this:<br>
<br>
tms[19]:http://{switch:a,b,c}.<a href="http://tile.openstreetmap.us/tiger2012_roads/%7Bzoom%7D/%7Bx%7D/%7By%7D.png" target="_blank">tile.openstreetmap.us/tiger2012_roads/{zoom}/{x}/{y}.png</a><br>
<br>
The number 19, right up front, says that the maximum zoom to use for<br>
this layer is 19. This solved the whole thing for me.<br>
<br>
I also found that if you go into Josm preferences in expert mode, and<br>
dig and dig and dig into the imagery providers entries, this is labeled<br>
as max-zoom. Too bad it isn't easier to find.<br>
<br>
Anyways, hope this helps others too.<br>
<br>
- Alan<br>
<br>
<br>
<br>
_______________________________________________<br>
Talk-us mailing list<br>
<a href="mailto:Talk-us@openstreetmap.org" target="_blank">Talk-us@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-us" target="_blank">http://lists.openstreetmap.org/listinfo/talk-us</a><br>
</blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Talk-us mailing list</span><br><span><a href="mailto:Talk-us@openstreetmap.org" target="_blank">Talk-us@openstreetmap.org</a></span><br>
<span><a href="http://lists.openstreetmap.org/listinfo/talk-us" target="_blank">http://lists.openstreetmap.org/listinfo/talk-us</a></span><br></div></blockquote></div><br>_______________________________________________<br>
Talk-us mailing list<br>
<a href="mailto:Talk-us@openstreetmap.org" target="_blank">Talk-us@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-us" target="_blank">http://lists.openstreetmap.org/listinfo/talk-us</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Talk-us mailing list<br>
<a href="mailto:Talk-us@openstreetmap.org">Talk-us@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk-us" target="_blank">http://lists.openstreetmap.org/listinfo/talk-us</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Dale Puch<br>