I am new to working with DEM files but have a need to be able to work with SRTM3 DEM files to calculate elevation given a Lat,lon coordinates.
I understand from reading the documentation that the file contains binary data that represents Signed Int16 data that has height in meters.
My question is this, given a file say that has its bottom left corner being -33, 152 and covers 1 degree of lat, long how would do read a location in the file based on a given latitude, longitude point.
So if I had a position that was -33.456 152.434 how do I calculate the position of that height reading in the file?
I have read the file in to memory I just need to work out how to select the correct location in the resulting array.
Hope this makes sense.
Thanks for you help