Aus Geoinformation HSR
Version vom 6. Februar 2018, 12:46 Uhr von Das-g (Diskussion | Beiträge) (make each HowTo/Tip a subsection)

Wechseln zu: Navigation, Suche

See also:


How to convert Tiff to GeoTIFF


How to remove the nodata values from a GeoTIFF?

I find many instructions on how to add the values, but none on how to remove them. => There isn't a direct way of accomplishing this. You could extract a work.vrt file, then manually edit it and remove the line(s) with the NoDataValue tags. Then convert back to geotiff:

 % gdal_translate -of VRT your.tif work.vrt
 % gdal_translate work.vrt fixed_your.tif