Ignore:
Timestamp:
25/01/10 15:04:48 (11 years ago)
Author:
pnorton
Message:

Modified the WCS code to work with the csml files in folders in the same way as the WMS code.

File:
1 edited

Legend:

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

    r5962 r6398  
    9494         
    9595        #TODO, the bounding box may include a Z dimension in WCS. 
    96         for cvgName, coverage in self.layers.items(): 
     96        for cvgName, coverage in sorted(self.layers.items()): 
    9797            log.debug('Loading coverage %s' % cvgName) 
    9898 
     
    109109            #From the ows_servers stack - allthese values should come from  the Coverage object. 
    110110            #TODO, the bounding box may include a Z dimension in WCS. 
    111             ds = WcsDatasetSummary(identifier=coverage.id, 
     111            ds = WcsDatasetSummary(identifier=coverage.name, 
    112112                                 titles=coverage.title, 
    113113                                 wgs84BoundingBoxes=[coverage.wgs84BBox], 
Note: See TracChangeset for help on using the changeset viewer.