[Git][debian-gis-team/rasterio][upstream] New upstream version 1.0.28
Bas Couwenberg
gitlab at salsa.debian.org
Tue Sep 10 05:23:14 BST 2019
Bas Couwenberg pushed to branch upstream at Debian GIS Project / rasterio
Commits:
d24b0b33 by Bas Couwenberg at 2019-09-10T04:07:41Z
New upstream version 1.0.28
- - - - -
3 changed files:
- CHANGES.txt
- rasterio/__init__.py
- rasterio/_io.pyx
Changes:
=====================================
CHANGES.txt
=====================================
@@ -1,10 +1,18 @@
Changes
=======
+1.0.28 (2019-09-09)
+-------------------
+
+- Coercion to ``int`` was forgotten in the block size guard introduced in
+ 1.0.27 and code that passes string valued ``blockxsize`` and ``blockysize``
+ keyword arguments to ``rasterio.open()`` was broken (#1769). This has been
+ fixed in 1.0.28.
+
1.0.27 (2019-09-05)
-------------------
-- Resolve #1744 by adding a `dtype` keyword argument to the WarpedVRT
+- Resolve #1744 by adding a ``dtype`` keyword argument to the WarpedVRT
constructor. It allows a user to specify the working data type for the warp
operation and output.
- All cases of deprecated affine right multiplication have been changed to be
=====================================
rasterio/__init__.py
=====================================
@@ -42,7 +42,7 @@ import rasterio.path
__all__ = ['band', 'open', 'pad', 'Env']
-__version__ = "1.0.27"
+__version__ = "1.0.28"
__gdal_version__ = gdal_version()
# Rasterio attaches NullHandler to the 'rasterio' logger and its
=====================================
rasterio/_io.pyx
=====================================
@@ -1082,7 +1082,7 @@ cdef class DatasetWriterBase(DatasetReaderBase):
if tiled:
blockxsize = kwargs.get("blockxsize", None)
blockysize = kwargs.get("blockysize", None)
- if (blockxsize and blockxsize % 16) or (blockysize and blockysize % 16):
+ if (blockxsize and int(blockxsize) % 16) or (blockysize and int(blockysize) % 16):
raise RasterBlockError("The height and width of dataset blocks must be multiples of 16")
kwargs["tiled"] = "TRUE"
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/commit/d24b0b33db14b288de600ff680ff19b6a0b6b339
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/rasterio/commit/d24b0b33db14b288de600ff680ff19b6a0b6b339
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20190910/792bda5e/attachment-0001.html>
More information about the Pkg-grass-devel
mailing list