Menu

#296 Mapy.cz maps in zooms > 10 are broken

open
nobody
None
1
2017-07-21
2017-07-20
tumic
No

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.

Discussion

  • r_x

    r_x - 2017-07-21

    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.

     
  • tumic

    tumic - 2017-07-21

    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... ;-)

     

Log in to post a comment.