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

Jean-Claude Repetto jrepetto at free.fr
Tue Feb 21 15:29:28 EST 2012


On 02/20/12 16:26, Holger Schiebold wrote:
> 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
>
> regards
>

Hello,

Thank you for having implemented my feature request. I have tested it, 
and found no problem.

Best regards,
Jean-Claude



More information about the MapProxy mailing list