Ignore:
Timestamp:
27/03/08 10:19:42 (11 years ago)
Author:
spascoe
Message:

A required element was being missed. This has required a change to the WMS API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/pylons/wms_controller.py

    r3671 r3688  
    1616 
    1717from ows_common.model.wms import WmsDatasetSummary, Dimension 
    18 from ows_common.model import PossibleValues, BoundingBox, Contents 
     18from ows_common.model import PossibleValues, WGS84BoundingBox, BoundingBox, Contents 
    1919from ows_common.pylons import ows_controller 
    2020from ows_common.exceptions import * 
     
    9292            log.debug('Loading layer %s' % layerName) 
    9393 
     94            wgs84BBox = WGS84BoundingBox(layer.wgs84BBox[:2], 
     95                                         layer.wgs84BBox[2:]) 
    9496            # Get CRS/BBOX pairs 
    9597            bboxObjs = [] 
     
    108110                                   titles=[layer.title], 
    109111                                   CRSs=layer.crss, 
     112                                   wgs84BoundingBoxes=[wgs84BBox], 
    110113                                   boundingBoxes=bboxObjs, 
    111114                                   abstracts=[layer.abstract], 
Note: See TracChangeset for help on using the changeset viewer.