Mapy.cz maps in zooms > 10 are broken
Brought to you by:
r_x
Turistic maps (and maybe all other, haven't tryed it) from mapy.cz:
<url>http://mapserver.mapy.cz/1turist-m/{$z}-{$x}-{$y}</url>
work only up to zoom 10, from zoom 11, no images are displayed (according to what I see in wireshark, the tiles are however downloaded). The issue can be reproduced on linux with Open JDK as well as on windows with latest JRE.
This is a server problem. For an unknown reason the tiles of zoom 11 to 18 are transmitted using the content type "appication/octet-stream" instead of "image/png".
If you open a tile from an affected layer in the web browser it will not be displayed as image.
Just test the following URLs and you will see.
http://mapserver.mapy.cz/1turist-m/11-1115-700
http://mapserver.mapy.cz/1turist-m/10-557-350
Usually a content type different to "image/..." indicates a download error. Therefore the map tiles are not processed and shown.
What about adding a check, wheather the data is some image format in case of "appication/octet-stream"? Reporting the server "error" won't most probably help in this case... ;-)