From dc2e10096b570d3e0c2ca47993f68f08e84f1784 Mon Sep 17 00:00:00 2001 From: Markus Metz <33666869+metzm@users.noreply.github.com> Date: Sat, 14 Dec 2024 22:04:48 +0100 Subject: [PATCH] r.fusion: small fix for DCELL output --- src/raster/r.fusion/r.fusion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raster/r.fusion/r.fusion.py b/src/raster/r.fusion/r.fusion.py index 8b815827d6..b03a509167 100644 --- a/src/raster/r.fusion/r.fusion.py +++ b/src/raster/r.fusion/r.fusion.py @@ -354,7 +354,7 @@ def main(): exp = f"{output_map} = float({last_result})" gscript.mapcalc(exp) else: - gscript.run_command("g.copy", raster=f"{output_map},{last_result}") + gscript.run_command("g.copy", raster=f"{last_result},{output_map}") # copy color rules from input to output gscript.run_command("r.colors", map=output_map, raster=lowres_map)