timmy-o-toole
timmy-o-toole

Reputation: 61

Reading subset / subarea of GeoTIFF file without having to read whole file first?

I have more than 10k of tiff-landsat images, though I only need to read a predefined pixel area by given coordinates. Is there a solution to handle thsi fast and easy, without reading the whole tiff?

I thought there might be a solution that I am able to read the predefined area and not the whole file.

Upvotes: 2

Views: 815

Answers (1)

timmy-o-toole
timmy-o-toole

Reputation: 61

found the solution: windows from rasterio does the job https://rasterio.readthedocs.io/en/latest/topics/windowed-rw.html

Upvotes: 2

Related Questions