Raster map:
Type of Map: raster;
Data Type: CELL;
Rows: 744; Columns: 744;
Number of Categories: 10599
Vector map:
Type of map: vector (level: 1);
Number of points: 0; Number of centroids: 1;
Number of lines: 0; Number of boundaries: 7;
Number of areas: 0; Number of islands: 0;
Map is 3D: No;
Number of dblinks: 1
The vector area is inside the raster map.
The full command output is in the attached file.
Thank you!
Andres Kuusk;
Tartu Observatory, Estonia;
andres@aai.ee
#1222: v.rast.stats returns error: global name 'vector' is not defined
--------------------------+-------------------------------------------------
Reporter: akbgf | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: unspecified
Keywords: v.rast.stats | Platform: Linux
Cpu: x86-32 |
--------------------------+-------------------------------------------------
#1222: v.rast.stats returns error: global name 'vector' is not defined
--------------------------+-------------------------------------------------
Reporter: akbgf | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: unspecified
Keywords: v.rast.stats | Platform: Linux
Cpu: x86-32 |
--------------------------+-------------------------------------------------
Comment(by mmetz):
I have made some more changes:
* input vector key changed to vector, as in 6.x
* the temporary region is now aligned to the raster instead of just
setting the region resolution to the raster, avoiding grid shifts and
slightly inaccurate results
* -nan is now converted to NULL and not left as -nan (-nan can sometimes
occur)
* the table key column is no longer hardcoded to cat, instead the actual
table key column is used
* speed up by using the zonal functionality of r.univar (number of
categories times faster)