In QGIS 3.14 , how can I export a raster (GeoTIFF) file as a XYZ formatted textfile, like;
Lon Lat z
123.456 34.567 23.45
123.447 34.588 20.22
... ... ...
Seems I have two options to export (save) raster files:
- Mouse 'Right-click' on the layer to activate the context menu and choose
Export > Save As...
- From
Raster
menu, chooseTranslate (Convert Format)
which is equivalent to the GDAL Translate in the Processing Toolbox.
The first option offers me lots of export formats - (below image) - but I cannot figure out which one returns simple ascii xyz textfiles.
With the second option, I can modify GDAL command call (to add -of XYZ
) like I did in QGIS 2.18, but unfortunately QGIS 3.14 does not allow me to remove pre-existing -of GTiff
.