[MapProxy] publish ArcGIS Server cache as TMS and WMS
Oliver Tonnhofer
tonnhofer at omniscale.de
Mon Mar 7 02:01:03 EST 2011
On 06.03.2011, at 21:40, Duarte Carreira wrote:
> So I'm trying MapProxy with an ESRI cache, and I get this error:
>
> File "c:\python25\lib\site-packages\mapproxy-1.0.0-py2.5.egg\mapproxy\config\l
> oader.py", line 781, in wms_layer
> map_layer = self.context.sources[source_name].source()
> File "c:\python25\lib\site-packages\mapproxy-1.0.0-py2.5.egg\mapproxy\config\l
> oader.py", line 619, in source
> format = file_ext(params['format'])
> KeyError: 'format'
>
> I have the simplest yaml possible. A single layer, a single source, and a single cache...
Please post that configuration, it's really hard to guess.
> I tried also with no cache, same result.
You need to use a cache for tile sources. You can disable additional caching with `disable_storage`, but all the tile magic of MapProxy happens inside the 'cache'. And then, the format should be passed from the cache to the source and you shouldn't get an error like that.
Regards,
Oliver
--
Oliver Tonnhofer | Omniscale GmbH & Co KG | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt
More information about the MapProxy
mailing list