OK, I got it, it works, thank you so much!!!
2010/8/31 J Luis jmfl...@gmail.com
Carmelo,
In GMT with GDAL support that is trivial to do using the grdtrack program.
Joaquim Luis
Hello everybody,
first of all my apologies cause I'm a newbie with this stuff...
I'm trying to build a
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
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