[GRASS-SVN] r56463 - in grass-addons/grass6/raster: . r.rot90

svn_grass at osgeo.org svn_grass at osgeo.org
Wed May 29 04:57:02 PDT 2013


Author: hamish
Date: 2013-05-29 04:57:01 -0700 (Wed, 29 May 2013)
New Revision: 56463

Added:
   grass-addons/grass6/raster/r.rot90/
   grass-addons/grass6/raster/r.rot90/Makefile
   grass-addons/grass6/raster/r.rot90/description.html
Log:
+module to rotate a raster array 90 deg CW

Copied: grass-addons/grass6/raster/r.rot90/Makefile (from rev 56420, grass-addons/grass6/raster/r.flip/Makefile)
===================================================================
--- grass-addons/grass6/raster/r.rot90/Makefile	                        (rev 0)
+++ grass-addons/grass6/raster/r.rot90/Makefile	2013-05-29 11:57:01 UTC (rev 56463)
@@ -0,0 +1,7 @@
+MODULE_TOPDIR = ../..
+
+PGM = r.rot90
+
+include $(MODULE_TOPDIR)/include/Make/Script.make
+
+default: script

Copied: grass-addons/grass6/raster/r.rot90/description.html (from rev 56420, grass-addons/grass6/raster/r.out.kml/description.html)
===================================================================
--- grass-addons/grass6/raster/r.rot90/description.html	                        (rev 0)
+++ grass-addons/grass6/raster/r.rot90/description.html	2013-05-29 11:57:01 UTC (rev 56463)
@@ -0,0 +1,43 @@
+<h2>DESCRIPTION</h2>
+
+<em>r.rot90</em> rotates a raster array by 90 degrees clockwise.
+
+<h2>NOTES</h2>
+
+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 <em>r.region</em>
+module to reset the bounds regardless.
+
+
+<h2>REQUIREMENTS</h2>
+
+<a href="http://www.gnu.org/software/octave/">GNU Octave</a>.
+
+
+<h2>TODO</h2>
+
+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.
+
+
+<h2>SEE ALSO</h2>
+
+<em><a href="r.flip.html">r.flip</a></em> Addon module for GRASS 6<br>
+<em>m.flip</em> and <em>m.rot90</em> modules for GRASS 5<br>
+<em>
+<a href="r.in.mat.html">r.in.mat</a><br>
+<a href="r.out.mat.html">r.out.mat</a><br>
+<a href="r.region.html">r.region</a>
+</em>
+
+
+<h2>AUTHOR</h2>
+
+Hamish Bowman<br>
+<i>Dunedin, New Zealand</i>
+
+<p>
+<i>Last changed: $Date$</i>



More information about the grass-commit mailing list