diff --git a/src/raster/r.watersheds/main.c b/src/raster/r.watersheds/main.c index 20960da6eb..a8a129fa69 100644 --- a/src/raster/r.watersheds/main.c +++ b/src/raster/r.watersheds/main.c @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) G_add_keyword(_("watershed delineation")); module->description = _("Delineates a large number of watersheds using the " "Memory-Efficient Watershed Delineation (MESHED) " - "OpenMP parallel algorithm by Cho (2024)."); + "OpenMP parallel algorithm by Cho (2025)."); opt.dir = G_define_standard_option(G_OPT_R_INPUT); opt.dir->key = "direction"; diff --git a/src/raster/r.watersheds/r.watersheds.html b/src/raster/r.watersheds/r.watersheds.html index 081cf34b43..062310a4e9 100644 --- a/src/raster/r.watersheds/r.watersheds.html +++ b/src/raster/r.watersheds/r.watersheds.html @@ -36,7 +36,7 @@

NOTES

EXAMPLES

-This example uses the North Carolina sample dataset. +These examples use the North Carolina sample dataset.

Calculate flow accumulation using r.watershed and delineate all watersheds from draining cells using r.watersheds: @@ -64,7 +64,23 @@

EXAMPLES

- + +
+ +

Perform the same analysis for 10,938 bridges in North Carolina: +

+# set computational region
+g.region -ap raster=elev_state_500m
+
+# calculate drainage directions using r.watershed
+r.watershed -s elevation=elev_state_500m drainage=drain_state
+
+# delineate all watersheds using r.watersheds
+r.watersheds dir=drain_state outlets=bridges output=bridge_wsheds nproc=$(nproc)
+
+ +
+

SEE ALSO

diff --git a/src/raster/r.watersheds/r_watersheds_bridge_wsheds.png b/src/raster/r.watersheds/r_watersheds_bridge_wsheds.png new file mode 100644 index 0000000000..b49670affd Binary files /dev/null and b/src/raster/r.watersheds/r_watersheds_bridge_wsheds.png differ diff --git a/src/raster/r.watersheds/r_watersheds_nc_example.png b/src/raster/r.watersheds/r_watersheds_nc_example.png deleted file mode 100644 index 1df8260f1e..0000000000 Binary files a/src/raster/r.watersheds/r_watersheds_nc_example.png and /dev/null differ diff --git a/src/raster/r.watersheds/r_watersheds_wsheds.png b/src/raster/r.watersheds/r_watersheds_wsheds.png new file mode 100644 index 0000000000..a9f41bed87 Binary files /dev/null and b/src/raster/r.watersheds/r_watersheds_wsheds.png differ