I want to extend a raster layer to another layer's extension (my input raster layer is smaller). The new raster cells should have 0 value.

Is this possible in QGIS?


It should be doable with gdal_translate http://www.gdal.org/gdal_translate.html by giving the extended size with the -projwin parameter together with -a_nodata 0 for defining the nodata value.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.