Rasterio

Latest version: v1.4.2

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 28

1.1.1

Not secure
------------------

Bug fixes:

- Calling a dataset's sample method with coordinates outside the extent of a
dataset with a nodata value of None has raised a TypeError (1822). Now, it
gives the values we would get from a boundless read of the dataset's values.
- Use new set_proj_search_path() function to set the PROJ data search path. For
GDAL versions before 3.0 this sets the PROJ_LIB environment variable. For
GDAL version 3.0 this calls OSRSetPROJSearchPaths(), which overrides
PROJ_LIB (1823).
- Check for header.dxf file instead of pcs.csv when looking for installed GDAL
data. The latter is gone with GDAL 3.0 but the former remains (1823).
- RGB rasters are now properly displayed by rasterio.plot.show (1650).

Notes:

- The wheels on PyPI include GDAL 2.4.3 with a patch that addresses the
multithreading issue reported in 1828.

1.1.0

Not secure
------------------

There have been no changes since 1.1b3.

1.1b3

Not secure
------------------

Bug fixes:

- A regression in WarpedVRT creation (1799) has been fixed. This required
implementation of GDALDatasetH reference counting in DatasetBase.stop().

1.1b2

Not secure
------------------

Bug fixes:

- When built from the official source distribution rasterio 1.1b1 would not
import due to the omission of _transform.c from the list of extension sources
in setup.py. This has been fixed.

1.1b1

Not secure
------------------

Deprecations:

- Support for Python 2 is deprecated and a warning is raised from the
rasterio.compat module. This module will be deleted in a future version.

New features:

- Added a new ``tag_namespaces()`` method datasets that returns names of
metadata namespaces that can be passed to the existing ``tags()`` method
(1740).
- Zoom levels can be automatically computed by rio-overview (511).
- An alternative endpoint for S3-compatible network storage can now be set when
creating an instance of AWSSession (1779). See GDAL's documentation of its
AWS_S3_ENDPOINT configuration option for more details.
- The merge tool has a new ``method`` keyword argument that can be used to
override the default painter's algorithm. It takes an alternative method name
as a string or a callable. Please see the merge tool docstring for the
callable's signature (1500).
- A new ``rasterio.transform.from_gcps()`` function returns the Affine matrix
that is a best fit to given ground control points (1749).

Bug fixes:

- Handle the AWS extension mentioned in 1159. Note that this does not enable
writing directly to S3.
- A syntax error in the specification of a Python version marker for enum34 in
requirements.txt has been fixed.
- Several cases of memory leaks involving temporary in-memory datasets have
been fixed. The rasterio test suite now runs without leaving any datasets
open.
- The default mode for dataset sharing has been switch from ``sharing=True`` to
``sharing=False`` to better serve development of multithreaded applications
(1775).
- Tests of rasterizing invalid shapes now catch the warnings about shape
skipping.

Other:

- The AUTHORS file has been updated and is now sorted by name (first name
first) or GitHub username.

1.0.28

Not secure
-------------------

- 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.

Page 10 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.