diff --git a/pyproject.toml b/pyproject.toml index ed03433..4010f45 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "rasters" -version = "1.5.0" +version = "1.5.1" description = "raster processing toolkit" readme = "README.md" authors = [ diff --git a/rasters/raster_geometry.py b/rasters/raster_geometry.py index e8625d9..68c7d7d 100644 --- a/rasters/raster_geometry.py +++ b/rasters/raster_geometry.py @@ -65,19 +65,19 @@ def __repr__(self): display_dict = { "dimensions": { - "rows": self.rows, - "cols": self.cols + "rows": int(self.rows), + "cols": int(self.cols) }, "bbox": { - "xmin": x_min, - "ymin": y_min, - "xmax": x_max, - "ymax": y_max + "xmin": float(x_min), + "ymin": float(y_min), + "xmax": float(x_max), + "ymax": float(y_max) }, - "crs": self.crs.__repr__(), + "crs": str(self.crs.__repr__()), "resolution": { - "cell_width": self.cell_width, - "cell_height": self.cell_height + "cell_width": float(self.cell_width), + "cell_height": float(self.cell_height) } } diff --git a/rasters/version.txt b/rasters/version.txt index bc80560..26ca594 100644 --- a/rasters/version.txt +++ b/rasters/version.txt @@ -1 +1 @@ -1.5.0 +1.5.1