Markus Neteler wrote:

> >> Null support is missing (r.external records any null value reported by
> >> GDAL, but G_get_raster_row() etc ignore it; I suspect that it will
> >> treat zero as null due to the absence of a null file).
> >
> > Null support has been added.
> 
> I have now tested (in my local 6.4 backport) a shaded terrain map (GeoTIFF).
> The 0 pixels are registered as NULL pixels, leading to white areas instead
> of black in case of cast terrain shadow.
> 
> So I confirm that zero is treated as NULL now.
> Could the GDAL Null value be used instead?

Null support was added in r32924, and seems to work.

-- 
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to