[gdal-dev] Get max elevation on "squares"

Luca Bertoncello lucabert at lucabert.de
Mon Dec 27 11:45:34 PST 2021


Am 27.12.2021 um 20:20 schrieb Alan Snow:

Hi Alan,

thank you very much for your answer!

> You may be looking for clip/mask:
>
> https://rasterio.readthedocs.io/en/latest/topics/masking-by-shapefile.html
>
> https://corteva.github.io/rioxarray/stable/examples/clip_geom.html
>
> After clipping, you can use numpy to do the sum.

As I sayd, I'm really new to GDAL.
I just have these TIFF-files and can't unterstand, from the pages you
linked, how can I split alle these files in little tiles of a given size.
Maybe can you give me an example?

Thanks a lot
Luca Bertoncello
(lucabert at lucabert.de)


More information about the gdal-dev mailing list