Rasterio

Latest version: v1.4.2

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

Scan your dependencies

Page 1 of 28

1.4.1

specifies a testing dependency that was previously undeclared..

Bug fixes:

- The xy() transform method once again accepts grid coordinates as input
(3198).
- A dataset's index() method again returns a tuple of ints, not floats (3195).

Other changes:

- GDAL 3.10 will disable opening "MEM::" datasets by default. Rasterio's
internal usage of these datasets is wrapped in special configuration.
- New color interpretation constants of GDAL 3.10 have been added to the
ColorInterp enum (3194).

1.4.0

versions at compile and run time have been removed across the entirety of the
project (3166).

1.4.0rc2

---------------------

1.4.0rc1

---------------------

This is the first 1.4.0 release candidate. There have been no changes since
1.4b2.

1.4.0 requires Python >= 3.9 and GDAL >= 3.5.

1.4b2

------------------

Bug fixes:

- When reprojecting a masked array, we now use the mask (reduced) as an alpha
band. There is now also an option to create an alpha band in the output, and
turn that into a mask when returning a mask array (3156).
- Find installed GDAL data directory by searching for gdalvrt.xsd (3157).
- Allow rasterio.open() to receive instances of MemoryFile (3145).
- Leaks of CSL string lists in get/set_proj_data_search_path() have been fixed
(3140).
- Color interpretation is correctly set to "palette" after a colormap is
written (3133).

Other changes:

- _OverviewResampling enum renamed to OverviewResampling (3151).

1.4b1

------------------

Deprecations:

- The statistics() method of a dataset is faulty and will be removed in version
2.0 (3134).

New features:

- New dataset stats(), clear_stats(), and update_stats() methods have been
added to replace the deprecated statistics() method (3134).
- Rasterize() can now capture output in a new or previously opened dataset and
can optionally return masked arrays (3131).
- An option to get a masked array from merge() and stack() has been added
(3130).
- The new stack tool and the existing CLI command now have the same bounds and
resolution behavior of merge() and rio-merge (3130).
- The merge tool and CLI command can now produce output with a resolution
equal to the highest source resolution. Defaults remain the same (3130.

Bug fixes:

- The Pyopener registry and VSI plugin have been rewritten to avoid filename
conflicts and to be compatible with multithreading. Now, a new plugin handler
is registered for each instance of using an opener (3113). Before GDAL 3.9.0
plugin handlers cannot not be removed and so it may be observed that the size
of the Pyopener registry grows during the execution of a program.
- A CSLConstList ctypedef has been added and is used where appropriate (3113).
- Missing parentheses in the denominators of the max_pixels calculation in
calc() and merge() have been added (3073, 3076). This constrains memory
use as originally intended.

Other changes:

- Enable support for extra dtypes in features.shapes: int8, float64 (3125).

Page 1 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.