[GIS] Saving raster as *.tif with tfw worldfile

qgisworld-file

I am using QGIS 2.16 an I need to save a raster file as *.tif with its world file as *.tfw but I only manage get *.aux.xml world files? Any ideas?


Ok, I just found out that when i "export as image" it creates a *.tfw. Minor problem seems to be that i am restricted to the screen resolution.

Best Answer

In Raster -> Conversion -> Translate :

select your input and output files, as well as your export option if needed. Then, click on the pen icon at the bottom of the window to modify the text lines. Change gdal_translate to gdal_translate -co worldfile=yes and leave the other options.

When exporting, you should have your world file alongside with your picture. That also works with other file extentions, like jpg.

Related Question