Changeset 2898 for TI02-CSML


Ignore:
Timestamp:
19/09/07 12:31:53 (12 years ago)
Author:
domlowe
Message:

fix to feature.getCSMLBoundingBox() method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/API/ops_GridSeriesFeature.py

    r2890 r2898  
    2222def getCSMLBoundingBox(self): 
    2323    #returns a complete boundingBox object including temporal domain and crs 
    24     if hasattr(self.value.gridSeriesDomain, 'boundedBy'): 
    25         return csml.API.csmlbbox.CSMLBoundingBox(self.featureCollection.boundedBy) 
     24    if hasattr(self, 'boundedBy'): 
     25        return csml.API.csmlbbox.CSMLBoundingBox(self.boundedBy) 
    2626    else: 
    2727        return None 
    2828 
    2929def getBoundingBox(self): 
    30     bbox=self.value.gridSeriesDomain 
    3130    try: 
    3231        lower1=eval(bbox.boundedBy.lowerCorner.CONTENT.split()[0]) 
Note: See TracChangeset for help on using the changeset viewer.