[GRASS-SVN] r72772 - in grass/trunk: include lib/raster

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 5 12:37:45 PDT 2018


Author: mmetz
Date: 2018-06-05 12:37:45 -0700 (Tue, 05 Jun 2018)
New Revision: 72772

Modified:
   grass/trunk/include/raster.h
   grass/trunk/lib/raster/history.c
Log:
libraster: update documentation for Map type ("raster", "reclass", "GDAL-link", or "virtual")

Modified: grass/trunk/include/raster.h
===================================================================
--- grass/trunk/include/raster.h	2018-06-05 19:35:05 UTC (rev 72771)
+++ grass/trunk/include/raster.h	2018-06-05 19:37:45 UTC (rev 72772)
@@ -164,7 +164,7 @@
     HIST_MAPSET,
     /*! \brief User who creater raster map */
     HIST_CREATOR,
-    /*! \brief Map type (always "raster") */
+    /*! \brief Map type ("raster", "reclass", "GDAL-link", or "virtual") */
     HIST_MAPTYPE,
     /*! \brief Description of original data source (two lines) */
     HIST_DATSRC_1,

Modified: grass/trunk/lib/raster/history.c
===================================================================
--- grass/trunk/lib/raster/history.c	2018-06-05 19:35:05 UTC (rev 72771)
+++ grass/trunk/lib/raster/history.c	2018-06-05 19:37:45 UTC (rev 72772)
@@ -213,8 +213,8 @@
  *
  * This routine initializes the <i>hist</i> structure, recording the
  * date, user, module name and the raster map <i>name</i>
- * structure. The <i>type</i> is an anachronism from earlier versions
- * of GRASS and should be specified as "raster".
+ * structure. The <i>type</i> can be "raster", "reclass", "GDAL-link",
+ * or "virtual".
  *
  * <b>Note:</b> This routine only initializes the data structure. It
  * does not write the history file.



More information about the grass-commit mailing list