r.circle(1grass)
β¨ r.circle β the GRASS User's Manual glow-up β¨
okay bestie, welcome to r.circle from the GRASS User's Manual, aka the girl who draws perfect lil concentric rings on your raster and never misses π
π NAME π
r.circle β she creates a raster map with concentric rings around a given point. that's it, that's the whole personality, and it ate. π
π KEYWORDS π
raster, buffer, geometry, circle
π¦ SYNOPSIS π¦
r.circle
r.circle --help
r.circle [-b] output=name coordinates=east,north [min=float]
[max=float] [multiplier=float] [--overwrite] [--help] [--verbose]
[--quiet] [--ui]
π Flags:
-bβ generate a binary raster map. like, binary pattern only (super useful for making a mask, iykyk).--overwriteβ allow output files to overwrite existing files. yes ma'am, permission granted.--helpβ print usage summary. the "wait what do i type" button π«Ά--verboseβ verbose module output. she will not stop talking.--quietβ quiet module output. she will say nothing. iconic.--uiβ force launching GUI dialog. for the visual girlies β¨
πΈ Parameters:
output=name[required] β name for output raster map. you gotta name her, she's your baby.coordinates=east,north[required] β the coordinate of the center (east,north). where the magic happens.min=floatβ minimum radius for ring/circle map (in meters).max=floatβ maximum radius for ring/circle map (in meters).multiplier=floatβ data value multiplier. multiply those z-values, go off.
π DESCRIPTION π
so r.circle creates an output raster map centered on the x,y values you gave with the coordinate parameter, and it goes all the way out to the edge of the current region. the output cell values increase linearly from the specified center. the min and max parameters control the inner and outer output raster map radii, respectively. no cap. π
the mult parameter can be used to multiply the output raster cells by a common factor. heads up though: this parameter does not affect the output raster position or size β only the z-values get changed with this parameter. she's just changing the vibe of your numbers, not the geometry, fr fr.
binary-output raster maps (solid circles of one value) can be created with the -b flag. raster maps so created can be used to create binary filters for use in i.ifft (inverse Fourier transformations; apply filter with r.mask). fancy science bestie behavior π§
π₯ EXAMPLES π₯
generate a raster circle at current map center with a radius of 300m and outwardly increasing raster values:
EASTCENTER=`g.region -c | awk β /center easting:/ { print $3 }β`
NORTHCENTER=`g.region -c | awk β /center northing:/ { print $3 }β`
r.circle output=circle coordinate=${EASTCENTER},${NORTHCENTER} max=300
generate a binary raster ring around current map center with an inner radius of 500m and an outer radius of 1000m:
EASTCENTER=`g.region -c | awk β /center easting:/ { print $3 }β`
NORTHCENTER=`g.region -c | awk β /center northing:/ { print $3 }β`
r.circle -b output=circle coordinate=${EASTCENTER},${NORTHCENTER} min=500 max=1000
π SEE ALSO π
g.region, g.remove, g.rename, i.fft, i.ifft, r.mask
π AUTHORS π
Bill Brown, U.S. Army Construction Engineering Research Laboratory
Additional flag/min/max parameter by Markus Neteler, University of Hannover
π SOURCE CODE π
Available at: r.circle source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a
Main index | Raster index | Topics index | Keywords index | Graphical index | Full index
ok that's the whole page, you're fully caught up bestie π this was GRASS 8.5.0 from the GRASS 8.5.0 Reference Manual, Β© 2003-2026 GRASS Development Team β and the manual name was published under r.circle(1grass), grandmother of the whole thing π«Ά slay, go draw some circles, periodt β¨πΈ
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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