Ignore:
Timestamp:
26/01/07 15:01:10 (13 years ago)
Author:
domlowe
Message:

lots of changes to do with subsetting

File:
1 edited

Legend:

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

    r1922 r2061  
    3939    #returns a list of feature ids for the dataset 
    4040    self.featureList = [] 
    41     for member in self.featureCollection.members: 
     41    for member in self.featureCollection.featureMembers: 
    4242            self.featureList.append(member.id) 
    4343    return self.featureList 
     
    4545def getFeature(self, featureID): 
    4646    """ returns a single feature object """ 
    47     for member in self.featureCollection.members: 
     47    for member in self.featureCollection.featureMembers: 
    4848            if member.id == featureID: 
    4949                return member     
Note: See TracChangeset for help on using the changeset viewer.