Changeset 4897


Ignore:
Timestamp:
02/02/09 11:50:33 (11 years ago)
Author:
domlowe
Message:

Fixing bug in csml layer caching

Location:
cows/trunk/cows
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cows/trunk/cows/pylons/wms_controller.py

    r4228 r4897  
    192192            try: 
    193193                layerObj = self.layers[layerName] 
    194                 layers[layerName] = layerObj 
     194                layers[layerName] = layerObj 
    195195            except KeyError: 
    196196                raise InvalidParameterValue('Layer %s not found' % layerName, 
     
    255255        # Find the slab in the cache first 
    256256        cacheKey = layerObj.getCacheKey(srs, dimValues) 
    257          
    258257        slab = self._layerSlabCache.get(cacheKey) 
    259258        if slab is None: 
     
    281280        #layerName, layerObj = self._getLayerParam() 
    282281        layers = self._getLayerParam() 
     282        log.debug('GetMap request for layer(s) %s'%layers) 
    283283        # Coordinate parameters 
    284284        bbox = tuple(float(x) for x in self.getOwsParam('bbox').split(',')) 
  • cows/trunk/cows/service/imps/csmlbackend/wms_csmllayer.py

    r4809 r4897  
    184184        dimList = list(dimValues.items()) 
    185185        dimList.sort() 
    186         return '%s:%s' % (crs, dimList) 
     186        return '%s:%s:%s' % (self._feature.id, crs, dimList) 
    187187 
    188188    def getFeatureInfo(self, format, crs, point, dimValues): 
Note: See TracChangeset for help on using the changeset viewer.