[MapProxy] Caching a TMS server returning missing or empty tiles

Oliver Tonnhofer olt at omniscale.de
Tue Jan 31 09:58:41 EST 2012

On 31.01.2012, at 13:14, Jean-Claude Repetto wrote:
> I'm trying to use MapProxy to cache a TMS server. Sometimes, when the tile is empty, the server returns a http error 404 (Not found). Some TMS servers return a http error 204 (No content).
> Example :
> http://toolserver.org/tiles/bicycle/16/34333/22936.png -> OK
> http://toolserver.org/tiles/bicycle/16/34333/22935.png -> 404
> Is it possible to configure MapProxy so that missing (404) or empty (204) tiles are replaced by a default tile (generally a white tile, a black tile, or a transparent tile) ?

No, there is currently no support for this.


Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn

More information about the MapProxy mailing list