Changeset 2472


Ignore:
Timestamp:
Mar 3, 2006, 10:36:26 AM (18 years ago)
Author:
nick
Message:

update get_data_points function in geospatial_data to allow addition
and fixed error from old verison,
also update call get_data_points in quantity

Location:
inundation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inundation/geospatial_data/geospatial_data.py

    r2471 r2472  
    9696    def get_geo_reference(self):
    9797        return self.geo_reference
    98         
     98       
    9999    def get_data_points(self, absolute = True):
    100100        if absolute is True:
     
    105105        else:
    106106            return self.data_points
    107 
     107   
    108108    def get_attributes(self, attribute_name = None):
    109109        """Return values for one named attribute.
  • inundation/pyvolution/quantity.py

    r2447 r2472  
    586586        #FIXME: Use this function for the time being. Later move code in here
    587587
    588         points = geospatial_data.get_data_points()
     588        points = geospatial_data.get_data_points(absolute = False)
    589589        values = geospatial_data.get_attributes()
    590590        data_georef = geospatial_data.get_geo_reference()
Note: See TracChangeset for help on using the changeset viewer.