Hello everybody,
first of all my apologies cause I'm a newbie with this stuff...
I'm trying to build a function able to extract altitude from latitude and
longitude as parameters.
Something like that: *double MyElevation(double lat, double lon)*
*
*
I'm using Dted level 0 to get the elevation (I'v
On 8/31/2010 11:11 AM, Carmelo Terrasi wrote:
Hello everybody,
first of all my apologies cause I'm a newbie with this stuff...
I'm trying to build a function able to extract altitude from latitude
and longitude as parameters.
Something like that: *double MyElevation(double lat, double lon)*
*
*
Carmelo,
In the code n30.dt0 is some raster image file. Replace it with your image
path.
The array named 'data' was renamed to pippo. Correct that.
Refer to GDALDataset::GetGeoTransform() method at
http://www.gdal.org/classGDALDataset.html
Use GDALDataset::RasterIO() or GDALRasterIO while treati