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
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