DESCRIPTION

r.rot90 rotates a raster array by 90 degrees clockwise.

NOTES

The entire map must be loaded into memory, which may be a problem for large rasters. The coordinates of the northern and southern bounds of the map will be flipped to satisfy the N > S requirement. It is likely that the user will want to use the r.region module to reset the bounds regardless.

REQUIREMENTS

GNU Octave.

TODO

Either rewrite as a C module (see the code from GRASS 5's m.rot90 module) or use NumPy/SciPy to do the work, as the Python libraries may be more commonly installed than GNU Octave.

SEE ALSO

r.flip Addon module for GRASS 6
m.flip and m.rot90 modules for GRASS 5
r.in.mat
r.out.mat
r.region

AUTHOR

Hamish Bowman
Dunedin, New Zealand

Last changed: $Date$