[MapProxy] Some questions regarding Tilecache

Oliver Tonnhofer olt at bogosoft.com
Tue Mar 23 14:33:21 EDT 2010


Hi Cédric,

On 23.03.2010, at 19:06, Cédric Moullet wrote:
> Mapproxy sounds very promising. Can Mapproxy supports the OL tilecache format (http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Layer/TileCache.js#L102) ?

no, there is no support for that format. It is used internally, though.

At the moment it supports two formats. 

- /proxy/tms/1.0.0 as described in http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification 
- /proxy/tiles a simplification of the TMS format

The later does not serve any metadata and always begins with a single tile on level 0, as expected by OpenLayers.

It should be easy to add the Tilecache format. You only need another subclass of TileRequest. See
http://bitbucket.org/olt/mapproxy/src/tip/mapproxy/tms/request.py

> If yes, then it would mean that it is possible to use Mapproxy as a tile reprojector for existing tile sets. Is it right ?

Yes, that should work then.

Regards,
Oliver

-- 
Oliver Tonnhofer <tonnhofer at omniscale.de>
Omniscale - Dominik Helle, Oliver Tonnhofer GbR
Nadorster Str. 60, 26123 Oldenburg
Tel: +49(0)441/9392774-2 (Fax: 9)



More information about the MapProxy mailing list