Paolo wrote:
> v.to.rast [email protected] column=codice_cor output=test use=attr
> gives an error:
> ...
> Area without centroid (may be OK for island)
> G_calloc: unable to allocate 18446744072399020032 * 8 bytes at raster.c:71

it is saying that it can not allocate enough memory for the task ....

> A local problem, or a general issue?

looking at the WIND file,
cols:       1777198
rows:       4927865

that is a very large raster you are trying to create...

try:
  g.region res=10 -ap

which should fix it. then a more reasonable:
rows:       2460
cols:       3330


alternatively you could set v.to.rast rows= to a lower number, which
would reduce the memory needs. but then you run out of disk space
(unless you do have 8TB).


also, looking at the data it might be better to make 2 raster maps, one
for the NW block and one for the SE block. Completely empty data rows
are quite efficient to deal with but big chunks of empty columns are not.


Hamish





_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to