[GRASS-dev] [GRASS GIS] #32: r.what: shouldn't use static buffers
for the inputs
GRASS GIS
trac at osgeo.org
Wed Jan 30 08:17:06 EST 2008
#32: r.what: shouldn't use static buffers for the inputs
---------------------+------------------------------------------------------
Reporter: 1gray | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-trunk
Keywords: |
---------------------+------------------------------------------------------
It seems that I'm a lucky one to face all these !``static buffer!''
issues.
{{{
$ r.what \
input=2006-
08-{0{1,2,3,4,5,6,7,8,9},{1,2}{0,1,2,3,4,5,6,7,8,9},3{0,1}}.[...].{{1,2,3,4,5,6,7,8,9},1{0,1,2,3,4,5,6,7,8,9},20}
\
east_north=[...]
r.what: can only do up to 150 cell files, sorry
$
}}}
Surely I can raise {{{NFILES}}} in {{{raster/r.what/main.c}}}, but
wouldn't it be better to replace all the mess in {{{r.what}}} with a
pure dynamic buffer-based solution? (Hopefully I could make a patch.)
I've tested the command above with GRASS 6.2.3-debian-1, but I can see
the relevant code in a recent SVN trunk as well.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/32>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
More information about the grass-dev
mailing list