mirror of
https://github.com/rasterio/rasterio.git
synced 2026-02-01 14:34:43 +00:00
Fix 'tranform' typo in doc & method
This commit is contained in:
parent
59e58317c5
commit
d00fd9aa75
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user