source: qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/controllers/csmlwms_csml.py @ 5849

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/qesdi/wms_ddc_vis/trunk/lib/wms_ddc_vis/controllers/csmlwms_csml.py@5849
Revision 5849, 499 bytes checked in by pnorton, 12 years ago (diff)

Added some code to try and pass the axis config xml to the UI.

Also included a modified version of the beaker cache decorator that I've been using to cache the coastline map.

Line 
1import logging
2
3from cows.pylons.wms_controller import WMSController
4from cows.service.imps.csmlbackend.wms_csmllayer import CSMLwmsLayerMapper
5
6from wms_ddc_vis.lib.wms_request_log_utils import buildLogString, wms_request_logger
7
8log = logging.getLogger(__name__)
9
10class Csmlwms2Controller(WMSController):
11    layerMapper = CSMLwmsLayerMapper()
12
13   
14    def __before__(self, **kwargs):
15        wms_request_logger.info( buildLogString(request) )
16        WMSController.__before__(self, **kwargs)
17
18
19
Note: See TracBrowser for help on using the repository browser.