Преглед на файлове

libraster: update documentation for Map type ("raster", "reclass", "GDAL-link", or "virtual")

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72772 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz преди 7 години
родител
ревизия
bb078be84d
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      include/raster.h
  2. 2 2
      lib/raster/history.c

+ 1 - 1
include/raster.h

@@ -164,7 +164,7 @@ enum History_field
     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,

+ 2 - 2
lib/raster/history.c

@@ -213,8 +213,8 @@ void Rast_format_history(struct History *hist, int field, const char *fmt, ...)
  *
  * 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.