[GRASS-user] .e00 to DEM

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Wed Jul 8 17:37:12 EDT 2009


Nikos:

> > * gdal reports:
> >   Band 1 Block=20x4 Type=Int16, ColorInterp=Undefined
> >   Min=0.000 Max=1371.000
> >   NoData Value=-32768

> > * grass reports:
> >   r.info dem250 -tr
> >   min=-32687
> >   max=32645
> >   datatype=CELL

Did you notice that gdal's "NoData Value=-32768" != grass' "min=32645" !
= grass' "max=32645". It's not a typo of mine. Where are these values
(that grass reports) coming from?


Dylan:

> Looks like a 16bit signed integer file. I have found that in the past using 
> gdal_translate and manually setting the data type and nodata value results in 
> the generation of a new file that GRASS can read in without further work. 

Will try.

> Also, have you tried manually setting NULL cells with
> r.null setnull=32768

Does not help unfortunately.
Nikos



More information about the grass-user mailing list