I received a tiff file from someone, but I'm not sure if it's georeferenced. Is there an easy way to check this?
|
|
Looks like gdalinfo will tell you: A non-georeferenced figure exported from ArcMap layout:
A aerial photo:
|
|||
|
|
|
Adding on to Chad's answer: Is there a .TFW file accompanying the TIF? If so, the image has georef info that isn't embedded in the header. I don't know if GDALINFO will catch that or not. Unfortunately a TFW only gives you coordinates and cell sizes. It doesn't specify which CRS/projection/datum the image is referenced to, nor what units are used for the projection. |
|||||
|
|
There's also listgeo, part of libgeotiff. Also, if you're using windows, there's a handy GUI application for it and geotifcp(also part of libgeotiff) which allows you to easily dump and restore metadata to a geotiff - useful if you want to edit your geotiff in a non-spatially enabled image editing software or for applying spatial metadata to the results of a classification, etc. |
|||
|
|
|
In the ESRI world, if the image is georeferenced, but not rectified, gdalinfo won't return the projection information
If you look in the tif.aux.xml you will find the projection information:
However, once rectified gdalinfo will work and the data will no longer be in the tif.aux.xml so you may have to look in both places. |
|||
|
|
|
How to determine if a tiff is georeferenced or not? Download ftp://ftp.remotesensing.org/geotiff/libgeotiff/listgeo_GUI.zip In listgeo_GUI.zip: GeoTIFF Tools in GUI Form(1). "listgeo.exe" - utility program for dumping the metadata of a GeoTIFF file. (2). "geotifcp.exe" - utility program for applying metadata to a TIFF file, making it a GeoTIFF file. They have been freely distributed with the popular libgeotiff library. |
|||
|
|