Ignore:
Timestamp:
29/09/09 11:42:48 (11 years ago)
Author:
pnorton
Message:

Fixed the wcsdownload bounding box selection map so that it works with the new bounds control.

Also modified the templates to look for a custom config file value to set the Openlayers.js path, otherwise the compressed one will be used. Hopefully this will stop me committing the code with the wrong path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cowsclient/trunk/cowsclient/controllers/wcsdown.py

    r5759 r5778  
    4949        c.singleTimePoint = params.get('SINGLE_TIME', "") 
    5050         
    51         #endpoint = 'http://localhost:5000/clim_10/wcs?' 
    52  
    5351        layers = [] 
    5452        timepositions = None 
     
    5654        if endpoint != None: 
    5755             
     56            st1 = time.time() 
    5857            wcs, layers = self._getWCSObj(endpoint) 
     58            log.debug("retrieved wcs metadata in  = %s" % (time.time() - st1,)) 
    5959             
    6060            if layer != None: 
     61                st1 = time.time() 
    6162                layerMetadata, c.bboxLimits, timepositions, c.supportedFormats, c.supportedCRS =\ 
    6263                       self._getWCSMetadata(wcs, layer) 
     64                log.debug("retrieved layer metadata in  = %s" % (time.time() - st1,)) 
    6365                 
    6466         
Note: See TracChangeset for help on using the changeset viewer.