v.to.rast:error G_set_window()
Michel Wurtz - ENGEES/CEREG
mw at engees.u-strasbg.fr
Thu Jul 8 10:28:10 EDT 1999
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.
[...]
> I reproduce an example:
>
[ First attempt ...]
> rows: 2040
> cols: 4616
>
[Second attempt with a smaller region ...]
> rows: 255
> cols: 577
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.
--
Michel Wurtz ENGEES - CEREG
1, quai Koch - BP 1039, F-67070 STRASBOURG cedex
Tel: +33 03.88.24.82.45 Fax: +33 03.88.37.04.97
More information about the grass-user
mailing list