Rasterio

Latest version: v1.4.2

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

Scan your dependencies

Page 5 of 28

1.3b3

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

Bug fixes:

- A bottleneck in construction of non-EPSG CRS objects has been fixed (2488).
- The last runtime checks for GDAL version 3.1+ have been removed (2463).

1.3b2

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

Changes:

- The merge tool has new "sum" and "count" merge methods (2457).

Bug fixes:

- Some GDAL methods may set a failure level error while also succeeding,
according to their return value. We now ensure that callers of these methods
can clear any leftover errors (2487).

Linux and macOS wheels for 1.3b1 are built using the version of rasterio-wheels
dated 2022-06-21.

1.3b1

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

New features:

- A dataset's write method now accepts Numpy masked arrays and has a "masked"
keyword argument. In this case, if masked is False, the masked array's filled
method is called with the dataset's nodata value or else the masked array's
fill value. If the masked argument is True, the dataset's write_mask method
is called.

Changes:

- Various decorators requiring a GDAL version of 2+ have been deleted. Rasterio
now absolutely requires GDAL 3.1+ (2452).

Packaging:

Wheels for 1.3b1 are built using the version of rasterio-wheels dated
2022-05-10.

1.3a4

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

Deprecations:

- The precision keyword arguments of methods in rasterio.transform,
rasterio.windows, and rasterio.merge are unused and will be removed in
version 2.0. The --precision option of rio-merge is similarly deprecated
(2432).
- The rasterio.path module will be removed in version 1.4 and a deprecation
warning is issued when the module is imported (2423).

New features:

- Datasets have a new statistics method that computes the minimum, maximum,
mean, and standard deviation of a raster band's data, matching the output of
gdalinfo (2441).
- The rio-warp CLI command now takes --wo (--warper-option) and --to
(--transformer-option) options, allowing the use of PROJ coordinate
transformation pipelines like "--to coordinate_operation=proj=pipeline"
(2438).

Changes:

- The Python file VSI plugin is now created and installed at the same time
other GDAL drivers are registered (2435).
- Various optimizations for sample_gen() (2338).
- Update Cython property declarations to modern style (2316).
- The rasterio.path module has been moved to rasterio._path and all its member
made private (2423). A new version of rasterio.path temporarily provides
aliases to maintain compatibility.

Bug fixes:

- Rasterio's warper is fixed such that it can support reprojection to a
specific dataset band (2369).
- Erroneously overlapping slices (reported in 2378) are now prevented by
ensuring that slice indexes with negative values are set to zero (2434).
- Prevent erroneous sign flip in a south-up dataset's res property (2370).
- Allow DatasetReader and DatasetWriter to take string filenames and URLs
(2426).
- Support for compound EPSG CRS has been added (2425).
- Z coordinates are no longer ignored when transforming using RPCs (2422).
- Integer overflow errors in CRS.from_epsg are caught and CRSError is raised
(2395).

1.3a3

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

New features:

- The CRS class has been added to rasterio.__all__.
- Python file objects and file-like objects from, for example, fsspec are
adapted for opening to get a dataset without copying file data to a
MemoryFile (2141).

Bug fixes:

- Fix bug in usage of numpy 1.14 (2377).
- rasterio.open returns a dataset accessor and never a
contextlib._GeneratorContextManager for all kinds of input (2360).
- Fix the "adjust" keyword argument of rasterio.plot.show (2359).
- Preserve origin when scaling in creating a WarpedVRT (2364).
- Exceptions are no longer raised for a category of errors emitted from
warp-related GDAL functions (2353).
- Enable unsafe casting for copyto in the merge tool (2265).

Packaging:

Wheels for 1.3a3 are built using the version of rasterio-wheels dated
2022-02-04. Library versions include GDAL 3.4.1, PROJ 8.2.1, and GEOS 3.10.2.

1.3a2

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

New features:

- The InMemoryRaster class in rasterio._io has been removed and replaced by a
more direct and efficient wrapper around numpy arrays (2301).
- Add support for PROJ JSON based interchange for CRS (2212).
CRS.to_dict(proj_json=True) returns a PROJ JSON style dict and CRS.from_dict()
will accept a PROJ JSON style dict. PROJ JSON text is accepted by
CRS.from_user_input().

Page 5 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.