[GRASS-SVN] r43909 - grass-addons/raster/r.univar.zonal

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Oct 14 07:05:58 EDT 2010


Author: mmetz
Date: 2010-10-14 04:05:58 -0700 (Thu, 14 Oct 2010)
New Revision: 43909

Modified:
   grass-addons/raster/r.univar.zonal/r3.univar_main.c
Log:
use G3d_readCats

Modified: grass-addons/raster/r.univar.zonal/r3.univar_main.c
===================================================================
--- grass-addons/raster/r.univar.zonal/r3.univar_main.c	2010-10-14 11:05:39 UTC (rev 43908)
+++ grass-addons/raster/r.univar.zonal/r3.univar_main.c	2010-10-14 11:05:58 UTC (rev 43909)
@@ -168,7 +168,7 @@
 	if (G3d_readRange(zonemap, mapset, &zone_range) == -1)
 	    G_fatal_error("Can not read range for zoning raster");
 	G3d_range_min_max(zmap, &dmin, &dmax);
-	if (G_read_raster_cats(zonemap, mapset, &(zone_info.cats)))
+	if (G3d_readCats(zonemap, mapset, &(zone_info.cats)))
 	    G_warning("no category support for zoning raster");
 
 	/* properly round dmin and dmax */



More information about the grass-commit mailing list