[gdal-dev] cut a .dem file

2010-09-08 Thread Carmelo Terrasi
Hello everybody, does anybody know how to cut a smaller dem file from another one??? I have my original file *terrain.dem *but my *image.bmp* is smaller so I would cut a portion just to create another suitable dem file for my * image.bmp* Is it possible to do it or am I off-board? Thanks in

Re: [gdal-dev] Extract data from a.dem file

2010-09-07 Thread Carmelo Terrasi
/classGDALRasterBand.html#5497e8d29e743ee9177202cb3f61c3c7 for the full reference. Le lundi 06 septembre 2010 17:25:31, Carmelo Terrasi a écrit : Hello everybody, I'm trying to figure out how to get elevation from a .dem file. I opened the file: ... pointerToDataSet=(GDALDataset*) GDALOpen

Re: [gdal-dev] Extract elevation from (latitude, longitude)

2010-09-01 Thread Carmelo Terrasi
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

[gdal-dev] Extract elevation from (latitude, longitude)

2010-08-31 Thread Carmelo Terrasi
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