TransWikia.com

QGIS SAGA Channel network error: Input layers do not have the same grid extent

Geographic Information Systems Asked by Graham vdR on April 21, 2021

I am trying to follow along with this exercise using my own DEM.

I have done the first step, creating the catchment area, with no trouble. When I try to run the Channel network algorithm, however, I get the error message “Input layers do not have the same grid extent.”

I don’t see anywhere to specify a change in extent or cell size, so I’m puzzled about why the extents are different at all. And then if they are different, how can I get them to be the same? I’ve tried using the raster layer clipping to make new layers from the DEM and the catchment area to the same extent, but this gave me the same error.

I did try running the Channel network and drainage basins algorithm, and this worked but the channels seemed to be incomplete − it looked like only the top two order channels were there, with nothing below these.

I’m using QGIS 2.6.0 on Windows 8.1.


I’ve been using TauDEM to do this work since I haven’t resolved the issue described above.

2 Answers

To make two grids to have the same grid system, open SAGA GUI and load your both (or more grids).Then open the tool "Resampling". Choose one grid as input grid and grid system. You will be able to select the other grid system as target grid system. After that both grids will be in the same grid system. Please notice that the resampling may modify the values of the processed grid.

Answered by Flaviu Meseșan on April 21, 2021

I had the same issue some time ago, and found out eventually that my grids were actually slightly off centered, even if it did not look like they were.

I solved it by using gdal Warp (reproject) tool on QGIS 3.16 without reprojecting the raster. I used it just to resample one of the rasters to match the exact grid of the other one. The grids also need to have the same cell size, which can also be adjusted in Warp (reproject) tool.

I wrote a blog post about it, where you can find a larger explanation: https://www.luisalucchese.com/post/saga-gis-error-catchment-area/

Answered by L. Lucchese on April 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP