[Gfoss] v.rast.stats - ERRORE: An error occurred while converting vector to raster

Markus Neteler neteler a osgeo.org
Sab 20 Apr 2013 08:56:21 CEST


2013/4/19 marco.donnini a tiscali.it <marco.donnini a tiscali.it>:
> ciao a tutti/e
>
> ho lanciato il seguente comando con GRASS 6.4.2:
>
> v. rast.stats vector=reticolo_appennino_centrale_utm_wgs84_32 a Appennini
> raster=dem_appennini a Appennini colprefix=elev
>
> mi è comparsa una
> schermata di errore come se fosse rimasto nella memoria il comando v.to.
> rast che effettivamente ho lanciato in precedenza.

No - sarebbe impossibile. Invece v.rast.stats è uno script che
chiama internamente v.to.rast che in seguito va in crash su tale
macchina con tale dataset.

...
>
> GRASS 6.4.2
> (utm_wgs84_32):~ > v.rast.stats
> vector=reticolo_appennino_centrale_utm_wgs84_32 a Appennini
> raster=dem_appennini a Appennini colprefix=elev
> *** buffer overflow
> detected ***: v.to.rast terminated
> ======= Backtrace: =========
...
> v.to.rast (update_hist+0x9a)[0x40434a]
> v.to.rast(vect_to_rast+0x614)[0x405998]
> v. to.rast(main+0x45e)[0x403c1e]
> /lib/x86_64-linux-gnu/libc.so.6
> (__libc_start_main+0xed)[0x7f374f21f76d]
> v.to.rast[0x402de9]
> ======= Memory map: ========
...
> Aborted (core dumped)
> ERRORE: An error occurred while converting vector to raster

Dalla history di sviluppo:
http://trac.osgeo.org/grass/log/grass/branches/releasebranch_6_4/vector/v.to.rast

vedo che qualche bug è stato risolto dopo il rilascio di
GRASS 6.4.2. Che sistema operativo è (distro)? La soluzione è
l'aggiornamento di GRASS su un 6.4.3RCx:

http://grass.osgeo.org/download/software/linux/

saluti
Markus


Maggiori informazioni sulla lista Gfoss