Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

Thanks

share|improve this question
3  
What format(s) are the images? –  msayler Sep 25 '13 at 15:15
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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