v.to.rast:error G_set_window()

Agustin Lobo alobo at ija.csic.es
Mon Jul 12 11:09:57 EDT 1999


On Thu, 8 Jul 1999, Michel Wurtz - ENGEES/CEREG wrote:

> Agustin Lobo wrote:
> > When running v.to.rast using grass5.0beta, I've found
> > that if the resulting raster needs more than
> > one single processing pass, the result is wrong.
> [...]


> You will notice that in the first run, you have 2040 rows, and
> that the job is done with 4 passes.  The second time, once pass is
> enough.
> 
> There is an undocumented parameter in v.to.rast : "rows=512"
> gives the number of rows keeped in memory (512 by default). This
> is the reason why your first run uses 4 passes. 4 x 512 -> 2048.
> 
> Try "v.to.rast in=vgeugoode.v out=vgeugoode rows=2040" with the
> first region. It should work, without any change in the sources.
> 


Thanks, it works. It seems that there is a bug that affects only
if more than 1 page is needed.

Agus




More information about the grass-user mailing list