We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged


This calls for a custom geoprocessing tool: Alle the features in a shapefile are clipped form the source raster and saved as a separate file with same properties. You can run this script in the qgis python editor after changing the path and filenames. import os, sys from osgeo import gdal, gdalnumeric, ogr, osr import numpy as np # config, all your data ...


with the commanline tool gdal_contour you can choose from which band the contour lines shall be created. In this example band 42: gdal_contour -a elev dem.tif contour_band_42.shp -i 10.0 -b 42 This can be integrated in a batch file. On Unix it should be something like this: for BAND in {1..120} do gdal_contour -a elev dem.tif contour_band_${BAND}.shp -...

Top 50 recent answers are included