BlogDocs

:sparkles: Support reading multi-band GeoTIFF files(#13)

Merged
Comparing
multi-band
(
ae35a13
) with
main
(
b23a973
)
+6%
IMPROVEMENTS
1
REGRESSIONS
0
UNTOUCHED
1
NEW
1
DROPPED
0
IGNORED
0

Benchmarks

Improved

test_read_geotiff_remote
python/tests/test_io_geotiff.py::test_read_geotiff_remote
+6%
8.8 ms
8.3 ms

New

test_read_geotiff_multi_band
python/tests/test_io_geotiff.py::test_read_geotiff_multi_band
N/A
N/A
121.6 ms

Passed

test_read_geotiff_local
python/tests/test_io_geotiff.py::test_read_geotiff_local
+1%
245.5 µs
242.6 µs

Commits

Click on a commit to change the comparison range
base
main
b23a973
0%
:sparkles: Support reading multi-band GeoTIFF files Count the number of bands or channels in the GeoTIFF file when decoding by looking at the ColorType. E.g. Gray = 1 band, Multiband = N bands. Added a unit test to read a 2-band float32 GeoTIFF file.
867da21
8 months ago
by weiji14
0%
:white_check_mark: Pytest check reading multi-band remote GeoTIFF Ensure that reading a multi-band GeoTIFF file from a remote URL works.
124c2bf
8 months ago
by weiji14
0%
:memo: Update note on multi-band support in main README.md Also clarify that the roadmap item on reading single-band GeoTIFFs is for different dtypes.
d3caf4a
7 months ago
by weiji14
+6%
:pushpin: Pin to image-tiff 0c54a18 The Multi-band PR at https://github.com/image-rs/image-tiff/pull/224 has been merged, so updating to use the main branch instead.
6cb65cd
7 months ago
by weiji14
0%
:goal_net: Return TiffUnsupportedError instead of unimplemented panic Replace `unimplemented!` with a recoverable TiffError::UnsupportedError instead to allow for better exception handling. Moved the band counting logic in the ndarray method above the image dimension line, and added a unit test to ensure unsupported ColorType TIFFs are handled properly.
ae35a13
7 months ago
by weiji14
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.