New answers tagged

0 votes

Using Rasterio or GDAL to stack multiple bands without using subprocess commands

(thanks to https://gis.stackexchange.com/a/299218/155670, https://gis.stackexchange.com/a/223915/155670) import osgeo.gdal from osgeo.gdal import Dataset vrt_internal_name: str = '' # if non-empty ...
Георгий Савельев's user avatar
0 votes

Can I preserve a fading alpha layer when mosaicing images with gdal?

Radouxju is right, gdalwarp allows you to fade layers based on the alpha band -cblend appears to be an alternative to having a fading alpha band Without using -cblend, I found that import os cmd = r'...
Buff Fox's user avatar
  • 104

Top 50 recent answers are included