Ignore:
Timestamp:
03/07/07 15:42:31 (12 years ago)
Author:
domlowe
Message:

changes to kid template

Location:
TI05-delivery/ows_framework/trunk/ows_server
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/trunk/ows_server/development_dom.ini

    r2625 r2693  
    2525tmp_dir = %(here)s/data/tmp 
    2626publish_dir=%(here)s/ows_server/public/filestore 
    27 ows_common_config = %(here)s/eg_ows_capabilities.xml 
     27ows_common_config = %(here)s/wcs_ows_capabilities.xml 
    2828 
    2929# If you'd like to fine-tune the individual locations of the cache data dirs 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wcs.py

    r2691 r2693  
    151151                    # Retrieve dataset and selected feature             
    152152            dataset = csmlCache[fileoruri] 
    153             print dataset 
    154153            feature = dataset.getFeature(identifier) 
    155154            if feature is None: 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/controllers/csml_wms.py

    r2631 r2693  
    108108 
    109109        """ 
    110          
    111110        # Populate the context object with information required by the template 
    112111        c.dataset = csmlCache[file] 
  • TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/ows/wcs_capabilities.kid

    r2653 r2693  
    5656    <ows:Abstract py:if="ds.abstracts is not None" py:content="ds.abstracts"/>     
    5757    <ows:Metadata></ows:Metadata> 
    58     <ows:WGS84BoundingBox></ows:WGS84BoundingBox> 
     58    <ows:WGS84BoundingBox py:for="bb in ds.boundingBoxes" 
     59                 minx="${bb.lowerCorner[0]}" 
     60                 miny="${bb.lowerCorner[1]}" 
     61                 maxx="${bb.upperCorner[0]}" 
     62                 maxy="${bb.upperCorner[1]}"/> 
    5963    <CoverageSummary py:for="ds1 in ds.datasetSummaries" py:replace="coverageSummary(ds1)"/> 
    6064  </CoverageSummary> 
Note: See TracChangeset for help on using the changeset viewer.