Commit 91c75068 authored by mlang's avatar mlang
Browse files

Add of pixel size property

No related merge requests found
Showing with 5 additions and 0 deletions
+5 -0
......@@ -498,6 +498,11 @@ class Raster(Sized):
"""The raster's geo-transformation (tuple of floats)"""
return self._transform
@property
def pixel_size(self):
""""The pixel size of the image"""
return self.transform[1]
@property
def gdal_extent(self):
"""The raster's extent, as given by GDAL (tuple of floats)"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment