Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

How to set a spatial filter with Python/GDAL?

$
0
0

Is there a way with GDAL (Python) to set a spatial filter (bounding-box) on a raster before I process it? I want to read it as an array.

BandReadAsArray(band, xoff=0, yoff=0, win_xsize=None, win_ysize=None, buf_xsize=None, buf_ysize=None, buf_obj=None)

Viewing all articles
Browse latest Browse all 397

Trending Articles