1

I am doing some testing were I have created a radom raster in ArcGIS in TIFF format. It created a .tif and a .tfw file (where it stores the coordinates). Then I imported this TIFF file into GDAL, did some operations as a numpy array with it and then exported again the array to TIFF file with GDAL. The result is a .tif file, but no .tfw file. However, this resulting TIFF file has all the right coordinates and CRS defined in ArcGIS. How come the one exported from GDAL doesn't need a .tfw file and the one exported from ArcGIS does? Are they different types?

  • 1
    GeoTIFF stores all the same information than .tfw and quite a lot more inside the tiff file. You can make GDAL to create .tfw with creation option -co TFW=YES. ArcGIS can write GeoTIFFs as well. Perhaps you could delete the .tfw and GDAL could still get the georeferencing. Have you tried? – user30184 Jun 11 '18 at 9:42
  • @user30184 You should have posted your comments as answer. – GeoSpatialEarth.in Jun 11 '18 at 14:47
  • So a TIFF+TFW is different than a GeoTIFF that has the information embedded in it? I have only been able to write TIFF+TFW with ArcGIS, not GeoTIFF. In this case I am using Python to carry out this process. – Symbionte Jun 12 '18 at 0:10

Your Answer

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

Browse other questions tagged or ask your own question.