[mapserver-users] Showing nodata values as transparent in Tiff

Dejan.Gambin at pula.hr Dejan.Gambin at pula.hr
Sat Oct 4 18:06:23 EDT 2008


Hi,

I have converted the ESRI ascii grid file to Geotiff and did gdaladdo on 
it too. Thean, using gdalinfo I get:

Driver: GTiff/GeoTIFF
Files: LDAY.tif
Size is 3401, 2601
Coordinate System is `'
Origin = (6398997.500000000000000,5044002.500000000000000)
Pixel Size = (5.000000000000000,-5.000000000000000)
Corner Coordinates:
Upper Left  ( 6398997.500, 5044002.500)
Lower Left  ( 6398997.500, 5030997.500)
Upper Right ( 6416002.500, 5044002.500)
Lower Right ( 6416002.500, 5030997.500)
Center      ( 6407500.000, 5037500.000)
Band 1 Block=3401x1 Type=Float32, ColorInterp=Gray
  NoData Value=-999
  Overviews: 1701x1301, 851x651, 426x326, 213x163

So the nodata value is -999. I have tried making this nodata area 
transparent using:

PROCESSING "NODATA=-999" but it doesn't work. Am I doing something wrong? 
Can I do it with OFFSITE parameter?

thanks very much

regards, dejan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081005/48ca1b13/attachment.html


More information about the mapserver-users mailing list