Changes between Version 26 and Version 27 of Geo_reference


Ignore:
Timestamp:
Feb 27, 2009, 4:17:20 PM (14 years ago)
Author:
rwilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Geo_reference

    v26 v27  
    3535|| '''get_absolute(self, points)''' || Given a list (or array) of Points geo-referenced to this '''Geo_reference''', return a list (or array) of Points with absolute coordinates (ie, relative to the UTM origin).  Note: also changes the input Point list! The inverse of '''get_relative()'''. ||
    3636|| '''get_relative(self, points)''' || Given a list (or array) of Points geo-referenced to this '''Geo_reference''', return a list (or array) of Points with relative coordinates (ie, relative to the '''Geo_reference''' origin).  Note: also changes the input Point list! The inverse of '''get_absolute()'''. ||
    37 || '''reconcile_zones(self, other)''' || Compare two '''Geo_reference''' instances and reconcile the '''.zone''' attributes. If either instance (but not both) have a '''.zone''' of DEFAULT_ZONE then copy the '''.zone''' attribute fron the instance with a real zone.  Note: if `other` is None then assume a default '''Geo_reference '' instance. ||
    38 || '''methodname(self, P)''' ||  ||
    39 || '''methodname(self, P)''' ||  ||
    40 || '''methodname(self, P)''' ||  ||
    41 || '''methodname(self, P)''' ||  ||
    42 || '''methodname(self, P)''' ||  ||
    43 || '''methodname(self, P)''' ||  ||
    44 || '''methodname(self, P)''' ||  ||
    45 || '''methodname(self, P)''' ||  ||
     37|| '''reconcile_zones(self, other)''' || Compare two '''Geo_reference''' instances and reconcile the '''.zone''' attributes. If either instance (but not both) have a '''.zone''' of DEFAULT_ZONE then copy the '''.zone''' attribute from the instance with a real zone.  Note: if `other` is None then assume a default '''Geo_reference''' instance. ||
     38|| '''get_origin(self)''' || Returns a tuple of ('''.zone''', '''.xllcorner''', '''.yllcorner''') for the instance.  Note: should use this method and delete methods '''get_xllcorner()''', '''get_yllcorner()''' and '''get_zone()'''. ||
     39|| '''_ _cmp_ _(self, other)''' || Allows python code to directly compare two '''Geo_reference''' instances.  Two instances are equal if their '''.zone''', '''.xllcorner''' and '''yllcorner''' attributes are the same. ||
    4640
    4741== Notes ==
    4842
    49 
     43There is a lot of room for error in handling '''Point''' and '''Geo_reference''' instances.  The '''
    5044-----
    5145== [InternalDocumentation Internal Documentation]/[wiki:Classes Classes] ==