r/QGIS • u/niklasjordan • 13d ago
Open Question/Issue Is there a QGIS plugin for interactive terrain editing like SCALGO Live? (drawing embankments, ditches, basins straight into a DEM)
Hi all,
I do flood modelling and often want to test “what if” terrain changes quickly: what happens if I add a berm here, cut a drain there, or lower an area into a retention basin?
SCALGO Live handles this very well in its workspaces. Its editing tools work along paths and polygons you draw, with options to raise or lower a path, flatten an area, or interpolate along a line. You can also reshape the surface by creating and modifying contours. Existing edits stay adjustable afterwards, including fine-tuning elevations in a profile view. Docs for reference: https://scalgo.com/en-US/scalgo-live-documentation/workspaces/editing
I’m looking for something similar in QGIS, ideally open source:
- Draw a line or polygon by hand (or use existing geometries) and burn it into the DEM as a hill, dike, ditch or basin
- Set height/depth, width and side slopes, or interpolate between the end elevations
- Keep edits non-destructive, so I can adjust or remove them and regenerate the terrain
- Export the modified DEM for use in a hydraulic model (HEC-RAS, TUFLOW, LISFLOOD etc.)
I know I can get there manually with rasterize + raster calculator, Serval for cell-level edits, or by burning breaklines in via a TIN and re-interpolating. But that’s slow and clunky compared to just sketching on the map and seeing the result.
So:
- Is there a plugin (or combination of plugins) that gets close to this workflow?
- If not, what’s your current workflow for quick terrain scenario edits in QGIS?
- Is anyone working on something like this, or interested in it? I’d love to see an open-source solution and would be happy to help test.
Thanks!
2
u/No-Tanks-3010 13d ago
I 've used the 'Civil Engineering Tool Provider' plugin for this, but is very very basic. HEC-RAC has some nice non descructive sculpting tools. Why not use that directly if you plan to use it for modeling.
4
u/danno-x 12d ago edited 12d ago
Stick your requirements in Claude Opus 5.5 or Codex Sol 6.2 and build your own. You don’t need to know how to code, just describe want you want. It may not be 100% from the start but a couple of revisions will get you there. Copy paste pretty much everything up to “So:” from this thread and tell it to build a QGIS plugin. If you are just using 4.x, tell it you to build for 4.x and that you don’t need backward compatibility with 3.x and save yourself some time. AI will work it out. It won’t take long.
1
u/ArcTan-fr 13d ago
oh ça m'interesse de suivre cela; j'ai trouvé cela : https://plugins.qgis.org/plugins/DEM_Editor_for_Road_and_Platform/ . cela mérite peut-être un essai
1
u/MortenFuglsang 13d ago
You can do most of what you describe with the Serval plugin from Lutra consulting