Fix 'tranform' typo in doc & method

This commit is contained in:
Chris Holden 2016-08-03 13:08:54 -04:00
parent 59e58317c5
commit d00fd9aa75

View File

@ -16,7 +16,7 @@ from rasterio.transform import guard_transform, xy, rowcol
class TransformMethodsMixin(object):
"""Mixin providing methods for calculations related
to tranforming between rows and columns of the raster
to transforming between rows and columns of the raster
array and the coordinates.
These methods are wrappers for the functionality in
@ -46,7 +46,7 @@ class TransformMethodsMixin(object):
tuple
``(x, y)``
"""
return xy(self.tranform, row, col, offset=offset)
return xy(self.transform, row, col, offset=offset)
def ul(self, row, col):
"""Returns the coordinates (x, y) of the upper left corner of a