[MapProxy] globals.cache.base_dir

Oliver Tonnhofer olt at omniscale.de
Wed Jun 15 00:56:02 PDT 2016


Hi,

can you provide a complete example? Are you overwriting the location in the cache?


Regards,
Oliver

-- 
Oliver Tonnhofer  | Omniscale GmbH & Co KG  | http://omniscale.com
OpenStreetMap WMS and tile services         | http://maps.omniscale.com




> On 07.06.2016, at 13:25, Radim Blazek <radim.blazek at gmail.com> wrote:
> 
> Hi,
> 
> I am not able to get globals.cache.base_dir working with mapproxy
> 1.8.2. Cache files are still written to ./cache_data. My yaml:
> 
> globals:
>  cache:
>    base_dir: '/tmp/mapproxy/cache_data'
> 
> What am I doing wrong?
> 
> From what I see in GlobalConfiguration,
>  self.base_config = load_default_config()
> and load_base_config() is never called (apart in test unit). It seems
> that GlobalConfiguration is never loaded from yaml.
> 
> Radim
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



More information about the MapProxy mailing list