Binary output raster values 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).
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
Last changed: $Date$