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

Holger Schiebold hschiebold at codematix.de
Mon Feb 20 10:26:55 EST 2012

Am 31.01.2012 15:58, schrieb Oliver Tonnhofer:
> 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.
> Regards,
> Oliver

but now it is :-) thank you Oliver for the fast implementation

@jean-claude look at the new options for error handling in tms sources 
in the current documentation


Holger Schiebold

codematix GmbH
Felsbachstrasse 5/7
D-07745 Jena
Tel. +49 (3641) 3038-34

More information about the MapProxy mailing list