Re: [gdal-dev] jpeg in tiff artifacts

2011-06-16 Thread Matt Wilkie
You can add a mask band to the tiff but unfortunately aside from gdalwarp and mapserver I don't think there is any other way to read it. see http://docs.oam.osgeo.org/storage/creating.html Thanks Brian! I've not used masks in gdal before. From my initial testing I think I can use that recipe f

Re: [gdal-dev] jpeg in tiff artifacts

2011-06-16 Thread Brian Case
matt, jpeg is a lossy format. the nodata is ignored because those pixels are no longer the same value as the nodata value. You can add a mask band to the tiff but unfortunately aside from gdalwarp and mapserver I don't think there is any other way to read it. see http://docs.oam.osgeo.org/storag

[gdal-dev] jpeg in tiff artifacts

2011-06-16 Thread Matt Wilkie
Hello, When I convert with gdal_translate and use jpeg compression in geotiff format there is artifacting on the edges. It looks like nodata is being ignored. Is there any way to avoid this? (and still use jpeg or equivalent space-saving compression) see attached. -- matt wilkie -