|
NAMEr.circle - Creates a raster map containing concentric rings around a given point.KEYWORDSraster, buffer, geometry, circleSYNOPSISr.circler.circle --help r.circle [-b] output=name coordinates=east,north [min=float] [max=float] [multiplier=float] [--overwrite] [--help] [--verbose] [--quiet] [--ui] Flags:
Parameters:
DESCRIPTIONThis module creates an output raster map centered on the x,y values specified with the coordinate parameter, 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.The mult parameter can be used to multiply the output raster cells by a common factor. Note that this parameter does not affect the output raster position or size; only the z-values are changed with this parameter. 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). EXAMPLESGenerate 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=300Generate 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 ALSOg.region, g.remove, g.rename, i.fft, i.ifft, r.maskAUTHORBill Brown, U.S. Army Construction Engineering Research LaboratoryAdditional flag/min/max parameter by Markus Neteler, University of Hannover SOURCE CODEAvailable at: r.circle source code (history)Main index | Raster index | Topics index | Keywords index | Graphical index | Full index © 2003-2021 GRASS Development Team, GRASS GIS 7.8.6 Reference Manual
Visit the GSP FreeBSD Man Page Interface. |