r.basins.fill(1)
π§ r.basins.fill β the GRASS GIS manual, but make it cute β¨
okay bestie, welcome to the GRASS GIS User's Manual page for r.basins.fill(1) π«Ά this one's all about carving out watershed subbasins and honestly? it's giving hydrology main character energy π
πΈ NAME πΈ
r.basins.fill β generates watershed subbasins raster map. that's it, that's the whole job π
π·οΈ KEYWORDS π·οΈ
raster, hydrology, watershed π
β¨ SYNOPSIS β¨
okay so here's how you actually call it:
r.basins.fill
r.basins.fill --help
r.basins.fill cnetwork=name tnetwork=name output=name number=integer
[--overwrite] [--help] [--verbose] [--quiet] [--ui]
π Flags π
little toggle besties, no values needed:
--overwriteβ let your output files just bulldoze whatever's already sitting there. yes, fr fr, it overwrites existing files π--helpβ prints the usage summary. your lil "what does this do again" button π--verboseβ verbose module output. she's chatty, she tells you everything π--quietβ quiet module output. shhh, minimal talking only π€«--uiβ force launching GUI dialog. for when you want the pretty windows instead πͺβ¨
π§ Parameters π§
these ones are the actual ingredients, and every single one is [required] β no skips, no substitutions:
cnetwork=name[required] β name of input coded stream network raster map. this is the one where every channel segment got "coded" with its own unique category value π·οΈtnetwork=name[required] β name of input thinned ridge network raster map. the ridges, bestie, we need the ridges β°οΈoutput=name[required] β name for output raster map. name your baby πnumber=integer[required] β number of passes through the dataset. how many laps are we doing π
π DESCRIPTION π
okay so r.basins.fill generates a raster map layer depicting subbasins, and it does this based on input raster map layers for:
- the coded stream network (where each channel segment has been "coded" with a unique category value), and
- the ridges within a given watershed ποΈ
the raster map layer depicting ridges should include the ridge which defines the perimeter of the watershed. don't forget the perimeter ridge, she matters π«Ά
the coded stream network can be generated as part of the r.watershed program β slay, automated β¨ but the map layer of ridges will need to be created by hand (for example, through digitizing done in wxGUI vector digitizer). yes bestie, by hand. manual labour. we love a craft project π¨
the resulting output raster map layer will code the subbasins with category values matching those of the channel segments passing through them π matchy matchy, iconic.
a user-supplied number of passes through the data is made in an attempt to fill in these subbasins. and here's the tea: if the resulting map layer from this program appears to have holes within a subbasin, the program should be rerun with a higher number of passes πππ more laps, fewer holes, periodt.
π NOTES π
β οΈ the current geographic region setting is ignored. instead, the geographic region for the entire input stream's map layer is used. so don't come crying to her about your region settings, she's not looking at them π
π SEE ALSO π
- See Appendix A of the GRASS Tutorial:
r.watershedfor further details on the combined use ofr.basins.fillandr.watershedπ r.water.outletr.watershedwxGUI vector digitizer
iykyk, the whole watershed squad π«Ά
π AUTHORS π
- Dale White, Dept. of Geography, Pennsylvania State University
- Larry Band, Dept. of Geography, University of Toronto, Canada
legends, honestly. ate and left no crumbs π
π₯ SOURCE CODE π₯
Available at: r.basins.fill source code (history)
Accessed: Saturday Jan 17 05:40:43 2026
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
and that's the whole page bestie!! π this was GRASS 8.4.2, page r.basins.fill(1), and you absolutely slayed reading it πβ¨ go fill some subbasins, no cap π¦
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms