Ticket #1222 (closed defect: fixed)
v.rast.stats returns error: global name 'vector' is not defined
| Reported by: | akbgf | Owned by: | grass-dev@… |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.0.0 |
| Component: | Vector | Version: | svn-trunk |
| Keywords: | v.rast.stats | Cc: | andres@… |
| Platform: | Linux | CPU: | x86-32 |
Description
Command
v.rast.stats -e input=ma3935@CHRIS raster=5703_14r@CHRIS colprefix=ma_14
returns error: global name 'vector' is not defined.
GRASS 7.0 compiled from weekly source grass-7.0.svn_src_sn apshot_2010_11_20,
OpenSUSE-11.1 Linux 2.6.27.54-0.1-pae; Intel Pentium 4 CPU 3.00GHz
./configure --enable-shared --with-postgres --with-gdal=/usr/local/bin/gdal-config --with-postgres-includes=/usr/include/pgsql/ --with-postgres-libs=/usr/lib/postgresql --without-freetype
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@…

