[GRASS5] MAXFILES in libgis too low

Markus Neteler neteler at itc.it
Thu Mar 24 13:30:13 EST 2005


Hi,

while trying to export a few hundred maps into a
big ERDAS/IMG multichannel file (using the GDAL/GRASS plugin
and gdal_merge.py), I stumbled over

 lib/gis/G.h :#define MAXFILES    256

While this number is lower than 365 days, Radim
reminded me of the memory allocation.

How to deal with this problem? Simply changing
MAXFILES to a higher number will cause problems
on handhelds.

Markus




More information about the grass-dev mailing list