pypi rasterio 1.3.0

latest releases: 1.4.3, 1.4.2, 1.4.1...
2 years ago

Rasterio 1.3.0 has new features, deprecations, and many bug fixes. It supports Python versions 3.8+ and GDAL versions 3.1+. Please see https://github.com/rasterio/rasterio/blob/master/CHANGES.txt for a fine grain description of changes since 1.2.10. Major changes and deprecations are listed below.

Packaging

  • Building from source now requires Cython (#2016).
  • PyPI wheels include GDAL 3.5.0 and PROJ 9.0.0.

Deprecations:

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

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.
  • 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).
  • 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).
  • Added support for PROJ JSON based interchange for CRS (#2212).
  • More efficient window intersection and union (#2164).
  • New Affine, GCP, and RFC transformer classes (#2225).

Don't miss a new rasterio release

NewReleases is sending notifications on new releases.