d.rast.inf help, please

Ronald Wiemer ronald at archis.nl
Wed Nov 24 16:26:43 EST 1993


I had the same problem when running r.reclass.inf. I found out that it had
to do with the output of the SQL statement. Our version of Informix does
not left justify the output, so there are spaces in front of the column-names,
which are printed as a header for each SQL query. These spaces have to be 
removed. I inserted an extra line of code in infxQry.c :

 while (!feof(fpin) )
                if(fgets(buf,LINE,fpin))
                {
/* extra line */i=0;while (buf[i++] == ' ');i--;
 to remove those spaces. 


Ronald Wiemer
ARCHIS
Amersfoort, The Netherlands



More information about the grass-user mailing list