venkivenkat / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

try download 404 tile all time #467

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I write new TileSource。
2.some tile url will return 404.  
e.g.
 “http://t0.tianditu.cn/cva_c/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cva&STYLE=default&TILEMATRIXSET=c&TILEMATRIX=13&TILEROW=1372&TILECOL=6543&FORMAT=tiles”
3.it will try to download this tile all time.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
android 4.1

Please provide any additional information below.

LogCat
08-21 11:04:34.269: 
W/com.mutu.mapapi.tileprovider.modules.MapTileDownloader(11549): Problem 
downloading MapTile: /12/6545/1372 HTTP response: HTTP/1.1 404 Not Found
08-21 11:04:34.269: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6543/1370
08-21 11:04:34.279: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6546/1371
08-21 11:04:34.279: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: Online Tile Download Provider with 
tile: /12/6545/1372
08-21 11:04:34.279: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider adding tile to 
working queue: /12/6546/1371
08-21 11:04:34.289: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6546/1371
08-21 11:04:34.289: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: Online Tile 
Download Provider for tile: /12/6543/1372
08-21 11:04:34.289: D/com.mutu.mapapi.tileprovider.MapTileProviderBase(11549): 
MapTileProviderBase.mapTileRequestFailed(): /12/6543/1372
08-21 11:04:34.299: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3271/682
08-21 11:04:34.299: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3271/684
08-21 11:04:34.299: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: Online Tile 
Download Provider for tile: /12/6545/1372
08-21 11:04:34.299: D/com.mutu.mapapi.tileprovider.MapTileProviderBase(11549): 
MapTileProviderBase.mapTileRequestFailed(): /12/6545/1372
08-21 11:04:34.299: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3274/682
08-21 11:04:34.309: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3273/682
08-21 11:04:34.319: D/com.mutu.mapapi.tileprovider.MapTileProviderArray(11549): 
MapTileProviderArray.getMapTile() requested but not in cache, trying from async 
providers: /12/6545/1371
08-21 11:04:34.319: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: File System Cache 
Provider for tile: /12/6545/1371
08-21 11:04:34.319: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.319: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3272/682
08-21 11:04:34.329: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3271/683
08-21 11:04:34.329: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File System Cache Provider found tile in 
working queue: /12/6545/1371
08-21 11:04:34.329: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File System Cache Provider adding tile to 
working queue: /12/6545/1371
08-21 11:04:34.339: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6545/1371
08-21 11:04:34.339: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: File System Cache Provider with 
tile: /12/6545/1371
08-21 11:04:34.339: D/com.mutu.mapapi.tileprovider.MapTileProviderArray(11549): 
MapTileProviderArray.getMapTile() requested but not in cache, trying from async 
providers: /12/6545/1372
08-21 11:04:34.339: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3271/686
08-21 11:04:34.349: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: File System Cache 
Provider for tile: /12/6545/1371
08-21 11:04:34.349: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3270/682
08-21 11:04:34.349: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3270/684
08-21 11:04:34.349: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /11/3270/686
08-21 11:04:34.349: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: File Archive Provider 
for tile: /12/6545/1371
08-21 11:04:34.359: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: File System Cache 
Provider for tile: /12/6545/1372
08-21 11:04:34.359: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.359: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.359: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6546/1369
08-21 11:04:34.369: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File System Cache Provider found tile in 
working queue: /12/6545/1372
08-21 11:04:34.369: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File System Cache Provider adding tile to 
working queue: /12/6545/1372
08-21 11:04:34.369: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File Archive Provider found tile in working 
queue: /12/6545/1371
08-21 11:04:34.369: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File Archive Provider adding tile to working 
queue: /12/6545/1371
08-21 11:04:34.369: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6543/1369
08-21 11:04:34.379: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6545/1372
08-21 11:04:34.379: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6545/1371
08-21 11:04:34.379: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1369
08-21 11:04:34.389: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6546/1372
08-21 11:04:34.389: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6546/1368
08-21 11:04:34.389: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: File Archive Provider with tile: 
/12/6545/1371
08-21 11:04:34.409: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1368
08-21 11:04:34.409: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: File System Cache Provider with 
tile: /12/6545/1372
08-21 11:04:34.409: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: File System Cache 
Provider for tile: /12/6545/1372
08-21 11:04:34.409: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: File Archive 
Provider for tile: /12/6545/1371
08-21 11:04:34.419: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6544/1369
08-21 11:04:34.419: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: File Archive Provider 
for tile: /12/6545/1372
08-21 11:04:34.419: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.419: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: Online Tile Download 
Provider for tile: /12/6545/1371
08-21 11:04:34.419: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.429: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File Archive Provider found tile in working 
queue: /12/6545/1372
08-21 11:04:34.429: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File Archive Provider adding tile to working 
queue: /12/6545/1372
08-21 11:04:34.429: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1370
08-21 11:04:34.429: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1371
08-21 11:04:34.439: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider adding tile to 
working queue: /12/6545/1371
08-21 11:04:34.439: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6546/1370
08-21 11:04:34.439: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6545/1372
08-21 11:04:34.439: D/com.mutu.mapapi.tileprovider.MapTileProviderArray(11549): 
MapTileProviderArray.getMapTile() requested but not in cache, trying from async 
providers: /12/6543/1372
08-21 11:04:34.449: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: File Archive Provider with tile: 
/12/6545/1372
08-21 11:04:34.449: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6545/1371
08-21 11:04:34.449: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: File System Cache 
Provider for tile: /12/6543/1372
08-21 11:04:34.449: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: File Archive 
Provider for tile: /12/6545/1372
08-21 11:04:34.449: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.449: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6543/1371
08-21 11:04:34.459: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: Online Tile Download 
Provider for tile: /12/6545/1372
08-21 11:04:34.459: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.459: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1372
08-21 11:04:34.459: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider adding tile to 
working queue: /12/6545/1372
08-21 11:04:34.469: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6545/1372
08-21 11:04:34.479: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File System Cache Provider found tile in 
working queue: /12/6543/1372
08-21 11:04:34.479: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File System Cache Provider adding tile to 
working queue: /12/6543/1372
08-21 11:04:34.479: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6543/1372
08-21 11:04:34.479: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1371
08-21 11:04:34.489: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6544/1371
08-21 11:04:34.489: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: File System Cache Provider with 
tile: /12/6543/1372
08-21 11:04:34.489: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: File System Cache 
Provider for tile: /12/6543/1372
08-21 11:04:34.509: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6544/1370
08-21 11:04:34.509: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1373
08-21 11:04:34.509: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: File Archive Provider 
for tile: /12/6543/1372
08-21 11:04:34.509: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.539: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6544/1373
08-21 11:04:34.549: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6545/1372
08-21 11:04:34.549: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6547/1372
08-21 11:04:34.549: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6547/1369
08-21 11:04:34.549: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File Archive Provider found tile in working 
queue: /12/6543/1372
08-21 11:04:34.559: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6547/1370
08-21 11:04:34.559: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6547/1373
08-21 11:04:34.569: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: File Archive Provider adding tile to working 
queue: /12/6543/1372
08-21 11:04:34.579: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6543/1372
08-21 11:04:34.579: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6544/1374
08-21 11:04:34.589: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: File Archive Provider with tile: 
/12/6543/1372
08-21 11:04:34.589: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider found tile in 
working queue: /12/6543/1370
08-21 11:04:34.589: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.nextTile() on provider: Online Tile Download Provider adding tile to 
working queue: /12/6543/1370
08-21 11:04:34.589: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.run() processing next tile: /12/6543/1370
08-21 11:04:34.599: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: File Archive 
Provider for tile: /12/6543/1372
08-21 11:04:34.599: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() on provider: Online Tile Download 
Provider for tile: /12/6543/1372
08-21 11:04:34.599: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.loadMaptileAsync() adding tile to request queue for 
modular provider.
08-21 11:04:34.639: 
W/com.mutu.mapapi.tileprovider.modules.MapTileDownloader(11549): Problem 
downloading MapTile: /12/6546/1371 HTTP response: HTTP/1.1 404 Not Found
08-21 11:04:34.679: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
TileLoader.tileLoadedFailed() on provider: Online Tile Download Provider with 
tile: /12/6546/1371
08-21 11:04:34.689: 
D/com.mutu.mapapi.tileprovider.modules.MapTileModuleProviderBase(11549): 
MapTileModuleProviderBase.removeTileFromQueues() on provider: Online Tile 
Download Provider for tile: /12/6546/1371

Original issue reported on code.google.com by hanhe...@gmail.com on 21 Aug 2013 at 3:09

GoogleCodeExporter commented 9 years ago
it will try download this tile over and over again

Original comment by hanhe...@gmail.com on 21 Aug 2013 at 3:19

GoogleCodeExporter commented 9 years ago
This is a known issue. Many times tiles are not available for short periods of 
time. For example if a tile server is under heavy load then it may temporarily 
deny access to a tile, but then later allow access once the load has lightened. 
So we don't want to completely stop requesting a tile if it doesn't load on the 
first request.

Some things to try:

1. Why are you requesting a tile that doesn't exist? If you don't have imagery 
for a particular zoom level then you should limit the maps so the user is not 
allowed to go to that zoom level. If you have control over the tile server, one 
solution would be to return "loading" tiles or "imagery not available" tiles 
instead of a 404 error.

2. One solution is to create a custom modular tile provider that adds an 
artificial delay at the end of the tile provider chain. So if all the regular 
modular tile providers fail then the custom provider will sleep for a few 
seconds and then fail. After that the tile will be re-requested. This doesn't 
prevent re-requesting the tile but it adds a delay so that it isn't getting 
hammered constantly.

I don't know if this is something we will fix. The delayed tile provider is an 
okay idea, but I don't know if it that is something we want to add by default 
because some users may not appreciate what could be perceived as a "drop in 
performance".

Original comment by kurtzm...@gmail.com on 21 Aug 2013 at 9:55

GoogleCodeExporter commented 9 years ago
some tile is a white picture, so  was not on the server.I cannot change the 
server.

adds a delay is a idea, I can try it.

thank you

Original comment by hanhe...@gmail.com on 22 Aug 2013 at 1:41

GoogleCodeExporter commented 9 years ago
I do have the same issue with OpenSeaMap.
If there is no seamak, which is in average more than 99% of the tiles the 
OpenSeaMap server sends back a 404 error.
See the last comment from the openseamap deveolpper at the bottom of this 
thread.
http://forum.openseamap.org/viewtopic.php?id=1815 :
"OpenSeaMap tiles are transparent overlays with the same tile addressing 
scheme, but is stored as a sparse array - where there is no Seamark image there 
is no tile, so remember to handle 404s as a feature, not a bug! Malcolm 
Herring, OpenSeaMap developer"

Could we inernally create a transparent tile after a certain number of retries?

Original comment by henri.la...@gmail.com on 12 Feb 2014 at 6:28

GoogleCodeExporter commented 9 years ago
See also issue 13

Original comment by neilboyd on 14 Feb 2014 at 9:56

GoogleCodeExporter commented 9 years ago
The idea of keeping track of failed 404 downloads and preventing them from 
retrying after a certain number of failures has been tossed around for a while 
- but a 404 is pretty final and although I don't think we should cache a 404, 
why don't we just return a "tile imagery missing" image to the tile cache in 
these cases?

The tricky part is preventing the file cache from saving the "tile imagery 
missing" tile to the cache. Maybe we add a "no cache" flag to the tile object.

Original comment by kurtzm...@gmail.com on 14 Feb 2014 at 2:31