Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2307 closed defect (duplicate)

wmsplugin: blank tiles saved

Reported by: Teemu Koskinen <teemu.koskinen@…> Owned by: xeen
Priority: minor 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 4 years ago.
Example of blank tile.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 4 years ago by anonymous

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

Changed 4 years ago by anonymous

Example of blank tile.

comment:2 Changed 4 years ago by anonymous

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 follow-up: Changed 4 years ago by xeen

  • 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?

comment:4 in reply to: ↑ 3 Changed 4 years ago by anonymous

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 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

comment:6 Changed 4 years ago by alexm

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

comment:7 Changed 4 years ago by alexm

  • Resolution fixed deleted
  • Status changed from closed to reopened

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

comment:8 Changed 4 years ago by stoecker

  • Resolution set to duplicate
  • Status changed from reopened to closed

comment:9 Changed 4 years ago by stoecker

Closed as duplicate of #3591.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.