Changeset 3623 for TI05-delivery


Ignore:
Timestamp:
17/03/08 12:03:05 (11 years ago)
Author:
domlowe
Message:

colourmap now in config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/service/imps/wms_csmllayer.py

    r3622 r3623  
    5757        """ 
    5858        fileoruri=kwargs['fileoruri'] 
    59         #print config['tmpfilebuffer'] 
    6059         
    6160        #TODO - handle file paths/directories URIs in config 
     
    207206 
    208207        """ 
    209         cmap=cm.gist_rainbow_r # renderOpts is hook for colourmap.   
     208        cmap=eval(config['colourmap']) # renderOpts is hook for colourmap, for now use config 
    210209        grid=Grid(self.layer, self._netcdf, bbox, width, height) 
    211210        #how to handle varmin,varmax? ..read array? 
Note: See TracChangeset for help on using the changeset viewer.