0

I'm aware this question has been asked several times already: Convert .tif with .tfw to a GeoTiff? tif tfw to GeoTiff

However, my aim is a bit different here: I have a few hundred TIFF files that have formerly been GeoTIFFs. I batch edited all of them in Photoshop so they lost their GeoTIFF header.

I'm still having the respective TFW file for each of them. Is there a way to re-attach the information from the TFW file to the TIFFs to create GeoTIFFs WITHOUT having to re-write all the GeoTIFFs again? (like GDAL does with gdal_translate -of GTiff input.tif ouput.tif).

I'm pretty sure I've seen a tool a few years ago that can simple re-attach the headers from the TFW files to Tiffs to create GeoTIFFs of them, I simply can't find it anymore.

  • There is a "geotifcp" program but it is making a new copy of the tiff as well. With gdal_edit.py gdal.org/programs/gdal_edit.html you can edit tiff in place but you must calculate the lower left corner coordinates for the option -a_ullr ulx uly lrx lry. All information can be found from the .tfw. – user30184 Oct 3 at 11:14
  • Search on GeoTiff Examiner. Here's a link: freegeographytools.com/2007/… – johns Oct 3 at 12:26
0

If it's possible, you can use QGIS. In raster menu you will find Projection, under it feature Assign Projection. You can use batch processing and process all your tiff at once.

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.