import info from tiff world file (tfw)

J

Jey

I'd like to set up a little utitlty to create metadata for all of the Geotiff
images in a folder. I'm thinking of using Access to make the user interface
nice and easy, for example set up a form with dropdown lists with the camera
type, film type, etc etc. which would be supplied by look up tables.

The one thing that I don't know how to do is to get the corner coordinates
for all the images. They could be in various tiff formats. The common feature
will be the existance of a world file (.tfw) which is an ASCII file. I'll
need the first 6 lines from that file (which would supply the resolution, x &
y transforms, scaling, & x, y of the top left corner), plus the number of
rows & columns in the tiff (to calculate the x,y of the other corners).

Can someone tell me how to import from the .tfw and how to get the number of
rows and columns from the .tif?

Thanks in advance,
Jey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top