Ignore:
Timestamp:
03/04/08 14:49:13 (12 years ago)
Author:
spascoe
Message:

In progress changes to make csml2kml compatible with the HiGEM WMS (i.e. WMSs
based on the latest pylons stack). See the new config file for the WMS to
test on.

There are a couple of work arounds marked as "#!TODO" that need cleaning up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DPPP/kml/python/csml2kml/csml2kml/WMSLayerConvertor.py

    r3717 r3743  
    3030         
    3131    def convert(self): 
    32         ''' 
     32        """ 
    3333        Perform the conversion. 
    3434 
     
    4545        C{ViewWholeTimecourse}, C{ViewSplittedByMonth}, C{ViewSplittedByPeriod}. 
    4646        However, more views can be created (by extending {WMSLayer.View}) and added later. 
    47         ''' 
    48         viewTypes = [ViewWholeTimecourse, ViewSplittedByMonth, ViewSplittedByPeriod] 
     47        """ 
     48        #!TODO: make viewTypes configurable. 
     49        #viewTypes = [ViewWholeTimecourse, ViewSplittedByMonth, ViewSplittedByPeriod] 
     50        viewTypes = [ViewWholeTimecourse] 
    4951        self.topWmsLayer.toKML(self.wmsRequestConfigElement, viewTypes, self.baseKmlOutputDirectory, self.baseKmlOutputUrl) 
Note: See TracChangeset for help on using the changeset viewer.