On 12/22/05, Francisco Alonso <[EMAIL PROTECTED]> wrote: > Hi: > > I have had a problem to read a GRASS file with a mapscript application. > > After some struggle I have realized that the problem was that: > > -A GRASS CELL raster file incluiding cells with a 0 value and with a colr file > cannot be read. > > Actually after add a 1 to all the cells (it was 0-254 file) and adjust the > colr file I could read it properly. > > I don't know if there are previous reports about this or if it is a real bug.
Paco, I have not encountered this myself, so I would appreciate it if you could file an appropriate bug on the issue. If you can, try and isolate the problem to just GDAL and file the bug against GDAL.. For instance, if you convert your grass cell to png with gdal_translate does it work? Perhaps this demonstrates the same underlying problem. In any event, I will need a modest sized demonstration dataset and all details to reproduce the problem. Please ensure the bug report gets assigned to me. Best regards, -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Programmer for Rent