How to Generate tfw World Files for GeoTIFFs with QGIS


GeoTIFFs are already georeferenced data. However, you may require an additional world file for some use cases. This article will walk you through generating a tfw world file from your downloaded GeoTIFFs using QGIS.

Note that this procedure uses the gdal_translate utility but can be performed via the QGIS interface. 

1. In QGIS, go to Layer > Add Layer > Add Raster Layer... Then select the GeoTIFF you wish to create a tfw for.

2. Once the file has finished loading, click on Raster > Conversion > Translate (Convert Format). 

 

3. In the Translate (Convert Format) window that appears, ensure that your GeoTIFF is entered in the Input Layer field (it should automatically be there, assuming it is the only file you have loaded into this QGIS session).

4. Click on the Select button for the Output file field. Choose where to save your duplicate GeoTIFF and the accompanying tfw file, then type in the desired filename.

5. Once those details are complete, click on the pencil icon beside the text box with the gdal_translate script. This will grey out all the options above it and allow you to edit the script inside the text box.

6. At the end of the existing script, type "-co tfw=yes" and click OK.  A pop-up window will notify you once the process is complete.


I still can't do it!

We wrote these articles to equip you with everything you need to get the job done on your own, but we understand that sometimes this isn't sufficient.

If you're stuck, you can connect with our support team by clicking the support button on the top right corner of your user portal.

Related to