[GRASS-user] problem with v.rast.stats

Yvan wrote:

I'm using the last version of GRASS 6.4ORC6 for Windows. I

>have a problem when I'm using the v.rast.stats function.
>There is an error message about the script :
>
>v.rast.stats -c vector=cadastre at mercier
>raster=mntyzeron_5m at mercier colprefix=mnt
>
>C:/GRASS-64-SVN/scripts/v.rast.stats: line 267:
>v.db.addcol:
>command not found
>ERROR: Cannot continue (problem adding columns).
>Restoring previous MASK...
>(Tue Jul 13 11:14:49 2010) Command finished (8 sec)
>
>Do you have any hint to solve this problem?

Hamish wrote:

Hello,

can you test with one of the nightly builds of 6.4.0 and see if you
still have the same problem?

what if you remove the @mapset parts of the map names?

tested with the latest nightly WinGrass64-build:

v.rast.stats vector=myfire@user1 raster=elevation@PERMANENT colprefix=te

v.rast.stats works normally.

Helmut
___________________________________________________________
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

Helmut:

tested with the latest nightly WinGrass64-build:

v.rast.stats vector=myfire@user1 raster=elevation@PERMANENT colprefix=te

v.rast.stats works normally.

I just tried with 6.4 nightly build r42815 on XP + the example in
the man page+dbf, and it seemed to freeze during a call to v.info
with cpu use at 0% and lots of free RAM.

^C did not seem to work from the msys rxvt terminal.. had to "X"
the term window.

now added -x to the shebang in the script (not sure if that does
anything on wingrass), set DEBUG=5, and used --verbose. It's still
running after ~10 minutes, lots and lots of debug messages to get
through... will try DEBUG=3 or less next time.

Hamish

hi,

I've also tested WinGRASS-6.4.SVN-r42815-1-Setup.exe on my WinVista32-box
with the manpage-example from spearfish (also dbf).

v.rast.stats, v.info, v.db.select, v.univar are working normally (all modules finished in about 1 minute).

but I've seen that, during v.rast.stats is processing, zoom in and out in the mapdisplay, v.rast.stats
can't finish correctly (message: ...elevation.dem can't be closed...) and in the mapdisplay
vector- and raster-maps are displayed in a mess.

maybe beacause of a temporal mask in the process?

Helmut

-----Ursprüngliche Nachricht-----
Von: Hamish
Gesendet: 18.07.2010 14:14:40
An: grass-user@lists.osgeo.org,Helmut Kudrnovsky
Betreff: Re: problem with v.rast.stats

Helmut:

tested with the latest nightly WinGrass64-build:

v.rast.stats vector=myfire@user1 raster=elevation@PERMANENT colprefix=te

v.rast.stats works normally.

I just tried with 6.4 nightly build r42815 on XP + the example in
the man page+dbf, and it seemed to freeze during a call to v.info
with cpu use at 0% and lots of free RAM.

^C did not seem to work from the msys rxvt terminal.. had to "X"
the term window.

now added -x to the shebang in the script (not sure if that does
anything on wingrass), set DEBUG=5, and used --verbose. It's still
running after ~10 minutes, lots and lots of debug messages to get
through... will try DEBUG=3 or less next time.

Hamish
___________________________________________________________
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail