5

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.

7

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.

0

I had the same "problem". Here the solution:

  1. Right-click on the layer (raster) -> export -> save as
  2. Activate Create options
  3. click on "+"
  4. In the column "Name" add "tfw" and in the column "Value" add "yes"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.