Thursday, 22 September 2016

gdal - convert raster to xyz without no data values


I want to convert a geotif to an xyz-file by gdal_translate. However, when I use the following statement:


gdal_translate infile.tif outfile.xyz -of xyz


the nodata values are always within the xyz-file. I want only the xyz values of pixels where data is available...


Any suggestions?





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...