[GRASS5] Re: problem with r.fill.nulls

Markus Neteler neteler at itc.it
Thu Apr 7 11:25:56 EDT 2005


Michael,

[I changed grass-admin to grass5 address]

On Wed, Apr 06, 2005 at 05:35:18PM -0700, Michael Barton wrote:
> I¹m having a problem with r.fill.nulls that I think is somewhat different
> from the ones previously reported. The problem is that it goes through the
> process of doing the interpolation, but somehow never makes the map to
> patch. Below, I list the output from the script when trying to fill the
> nulls in an SRTM DEM. I¹m running it on 6.1 cvs from 26 March on a Mac OSX.
> I¹ve tried it in both x11 and aqua versions with no difference. I WAS able
> to do this a couple weeks ago. Any suggestions
> 
> Michael
> = = = = = r.fill.nulls output = = = =
> 
> r.fillnulls input=SRTM_u03_p198r033 output=SRTM_u03_p198r033_fillnul
> tension=40. smooth=0.1
> Using tmp file r_fillnulls_1236
...
> 
> Percent complete: 
> GRASS_INFO_ERROR(1266,1): Key column type is not integer

-> here is the problem!


You probably got into the dbfdriver trap: I was updating the
shapelib in GRASS to GDAL 1.2.6. But there is a bug in the dbf driver
in GDAL which made integer columns to floating point columns.
This bug was present over one weekend, then I discovered it
and reverted.
 http://grass.itc.it/pipermail/grass-commit/2005-March/017090.html

Later I updated again to 1.2.6 along with a bugfix
suggested by Frank:

 http://grass.itc.it/pipermail/grass-commit/2005-March/017113.html
 http://grass.itc.it/pipermail/grass-commit/2005-March/017114.html

Please update your installation and report again.


More information about the grass-dev mailing list