1

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.

2
  • 1
    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, 2019 at 11:14
  • 1
    Search on GeoTiff Examiner. Here's a link: freegeographytools.com/2007/…
    – John
    Oct 3, 2019 at 12:26

2 Answers 2

1

If you have Avenza's Geographic Imager you can script exporting georeferencing from Photoshop right into the TIFFs w/o re-writing them. In fact, you wouldn't actually have to re-export them to begin with, because they all the geospatial information would be autoamtically maintained when the files are saved in Photoshop. I believe this functionality is supported even the basic version, for GeoTIFFs

-1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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