Happy New Year!
Bug fixes
- Fixed plot.show(adjust=True) with respect to 16-bit integer data (#2733).
- Align offsets in rio-clip as well as height and width to match gdal_translate with -projwin (#2729).
- Allow rio-warp's --target-aligned-pixels option to be used with --dst-bounds or --src-bounds (#2729).
- Normalize paths before calling os.add_dll_directory on Windows (#2705).
- Affine version 2.4.0 exposes a bug in Rasterio's test_deprecated.py module, a test than erroneously fails. This test has been fixed and passes with all versions of the affine module.
- Better, recursive cleanup of MemoryFile /vsimem/ directories.
- Python ignores SIGPIPE by default. By never catching BrokenPipeError via
except Exceptionwhen, for example, piping the output of rio-shapes to the Unix head program, we avoid getting an unhandled BrokenPipeError message when the interpreter shuts down (#2689). - Fixes for unsigned access to S3 (#2688, backport of #2669).
- Ignore blockysize when converting untiled datasets to tiled datasets (#2687, backport of #2678).