Changeset 2969 for TI05-delivery


Ignore:
Timestamp:
24/10/07 12:19:24 (12 years ago)
Author:
domlowe
Message:

adding time limits to capabilities doc

Location:
TI05-delivery/ows_framework/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_common/ows_common/wcs.py

    r2833 r2969  
    1818    """ 
    1919    """ 
    20     def __init__(self, CRSs=[], description=None, formats=[],supportedCRSs=[],**kw): 
     20    def __init__(self, CRSs=[], description=None, formats=[],supportedCRSs=[],timelimits=[],**kw): 
    2121        super(WcsDatasetSummary, self).__init__(**kw) 
    2222 
     
    2525        self.formats=formats 
    2626        self.supportedCRSs=supportedCRSs 
     27        self.timeLimits=timelimits 
    2728 
    2829 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs1_0_0.py

    r2968 r2969  
    116116        csmlbbox=feature.getCSMLBoundingBox() 
    117117        if csmlbbox is not None: 
    118             bbox=csmlbbox.getBox()         
     118            bbox=csmlbbox.getBox()                     
     119            timeLimits=csmlbbox.getTimeLimits() 
    119120        else: 
    120121            csmlbbox=c.dataset.getCSMLBoundingBox() 
    121             bbox=csmlbbox.getBox() 
     122            bbox=csmlbbox.getBox()           
     123            timeLimits=csmlbbox.getTimeLimits() 
    122124        #crs= csmlbbox.getCRSName() 
    123125        crs=feature.getNativeCRS() 
     
    127129                                 boundingBoxes=[BoundingBox([bbox[0],bbox[1]], [bbox[2],bbox[3]], 
    128130                                 crs='CRS:84')], description=cvgDescription,abstracts=cvgAbstract, formats=['application/cf-netcdf'], 
    129                                  supportedCRSs=crslist 
     131                                 supportedCRSs=crslist, timelimits=timeLimits 
    130132                                 ) 
    131133 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/wcs1_0_0_Capabilities.kid

    r2968 r2969  
    5555 
    5656  <CoverageOfferingBrief py:def="coverageSummary(ds)"> 
    57     <!--!  coverageSummary comes from wmsDatasetSummary  TODO   -->  
     57    <!--!  coverageSummary comes from wcsDatasetSummary  TODO   -->  
    5858    <name py:if="ds.identifier is not None" py:content="ds.identifier"/>     
    5959    <label py:if="ds.titles is not None" py:content="ds.titles"/>         
     
    6161            <gml:pos>${bb.lowerCorner[0]} ${bb.lowerCorner[1]}</gml:pos>                   
    6262            <gml:pos>${bb.upperCorner[0]} ${bb.upperCorner[1]}</gml:pos>         
     63            <gml:timePosition>${ds.timeLimits[0]}</gml:timePosition> 
     64            <gml:timePosition>${ds.timeLimits[1]}</gml:timePosition> 
    6365    </lonLatEnvelope>     
    6466    <keywords> 
Note: See TracChangeset for help on using the changeset viewer.