I have a task to scan a folder for georeferenced images. There might be a lot of images, some quite large, and some not georeferenced. The spatial information can also be either embedded or in a world file.

Programmatically (C#/WPF/ESRI Runtime) how can I tell if "C:\someFolder\file.x" is georeferenced.


  • 3
    What format(s) are the images? – msayler Sep 25 '13 at 15:15

Look at the gdalinfo tool which will do exactly what you want. You need to then pipe the output through a tool such as awk to interpret the results depending on what it is you want to know

Gdal information here

| improve this answer | |

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.