I want to create a single bounding shapefile polygon of valid pixels in raster data (GeoTIFF) using python.
I need something efficient as I need to do this for hundreds of rasters. I had thought of writing out a mask using simple numpy manipulation, then passing that to gdal_polygonize.py, but that will not be quick enough. Does anyone know of a more direct way?
أكثر...
I need something efficient as I need to do this for hundreds of rasters. I had thought of writing out a mask using simple numpy manipulation, then passing that to gdal_polygonize.py, but that will not be quick enough. Does anyone know of a more direct way?
أكثر...