4 ms·
Take a look at rasterio in Python (best installed using Conda because you need a few tricky dependencies like GDAL). It's designed for geospatial data that can
by joshvm 5y ago
Take a look at rasterio in Python (best installed using Conda because you need a few tricky dependencies like GDAL). It's designed for geospatial data that can be too large for RAM. You usually open data windows that are smaller views into the image. Ideally you'd have a geotiff but I don't see why it couldn't open a normal one.
I've used a variant of this code to tile large aerial surveys for processing. The snippet needs a bit of cleaning but it works out of the box:
https://gis.stackexchange.com/questions/306861/split-geotiff-into-multiple-cells-with-rasterio https://gis.stackexchange.com/questions/306861/split-geotiff...