GeoTIFF: Unterschied zwischen den Versionen
Aus Geoinformation HSR
Stefan (Diskussion | Beiträge) (→Tipps =) |
Das-g (Diskussion | Beiträge) K (make each HowTo/Tip a subsection) |
||
Zeile 4: | Zeile 4: | ||
== Tipps == | == Tipps == | ||
− | + | === How to convert Tiff to GeoTIFF === | |
− | + | See [[GDAL]]. | |
+ | |||
+ | === 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 -of VRT your.tif work.vrt | ||
% gdal_translate work.vrt fixed_your.tif | % gdal_translate work.vrt fixed_your.tif |
Version vom 6. Februar 2018, 12:46 Uhr
See also:
- GDAL - Translator
Tipps
How to convert Tiff to GeoTIFF
See GDAL.
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