Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2307 closed defect (duplicate)

wmsplugin: blank tiles saved

Reported by: Teemu Koskinen <teemu.koskinen@…> Owned by: xeen
Priority: minor Milestone:
Component: Plugin Version: latest
Keywords: wmsplugin Cc:

Description

Sometimes WMS-server (at least Landsat) returns blank tiles and not an error message. wmsplugin thinks these are valid and happily saves them to cache. These tiles seem to be around 800 bytes, much smaller than proper tiles returned by the server.

The wms-layers reload erroneus tiles action does not reload these tiles, as the plugin doesn't recognise blank tiles as errnoeus.

Attachments (1)

190b48e4c17996f9aae05f487d68392e.png (806 bytes ) - added by anonymous 16 years ago.
Example of blank tile.

Download all attachments as: .zip

Change History (10)

comment:1 by anonymous, 16 years ago

I have this problem since yesterday. I can't really use landsat images anymore because it loads only half the tiles or less

by anonymous, 16 years ago

Example of blank tile.

comment:2 by anonymous, 16 years ago

Hi,

I've been having this problem since last week, both on my home machine (Debian Linux, ADSL to internet) and at work (WinXP via work network and proxy). It has stopped me from doing any WMS mapping. I keep JOSM and plugins updated on both machines.

As with the other reports, about half tiles are blank, and only about 800 bytes per tile in cache. Most are 806 bytes, a few are 804 bytes.

Deleting the blank tiles and reloading doesn't help.

Thanks.

comment:3 by xeen, 16 years ago

Owner: changed from team to xeen

Detecting them based on file size surely isn't the right approach. I did a bit testing and I sometimes get tiles consisting of only one color but still are like 2 kB. Does anyone know a good algorithm to do that?

in reply to:  3 comment:4 by anonymous, 16 years ago

Replying to xeen:

Detecting them based on file size surely isn't the right approach. I did a bit testing and I sometimes get tiles consisting of only one color but still are like 2 kB. Does anyone know a good algorithm to do that?

All of mine are 804 or 806 bytes. JOSM shows them as black in colour.

I had a look at some of the blank tiles with a hex editor, and between the header and end of file stuff, the rest of the data shows as all zeros. Perhaps an algorithm/short_script to examine the data area of the files and check for all zeros?

Just a thought.

comment:5 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

[o15091].

comment:6 by alexm, 16 years ago

The threshold of 2048 is to small, I raised this to 4096 in the patch for #3294

comment:7 by alexm, 16 years ago

Resolution: fixed
Status: closedreopened

This is for example for error messages of the Yahoo WMS plugin.

comment:8 by stoecker, 16 years ago

Resolution: duplicate
Status: reopenedclosed

comment:9 by stoecker, 16 years ago

Closed as duplicate of #3591.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain xeen.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.