Re: [gdal-dev] elevetions from ASTER GDEM V2

2013-01-25 Thread Nick Ves
If the spatial resulution is fine for your problem, then as Tyler
suggested, you can use gdallocationinfo [1] to get the pixel value at
Long,Lat location.

If you think you need to downscale your data to your needs, you can first
built a vrt (virtual dataset) with gdal's gdalbuildvrt [2] and -tr
option.


What I don't know is, which method vrts are using to obtain raster values
when the source rasters are in another resolution than the vrt


[1] http://www.gdal.org/gdallocationinfo.html
[2] http://www.gdal.org/gdalbuildvrt.html




On Thu, Jan 24, 2013 at 10:15 PM, Tyler Mitchell
tyler.mitch...@actian.comwrote:


 On 2013-01-24, at 11:43 AM, Elias Kotsifis wrote:

 I want to calculate the elevation of any point on earth, giving lat, Long
 (for example like google elevation Api, or the earth tools:
 http://www.earthtools.org/webservices.htm # cheigit) based the ASTER GDEM
 MODEL V2.
 I went to download data from there, and gives me geotiff files. Overall
 for the entire planet is 22,702 granule with 400GB size
 Then what should I do?


 Hi Elias,
 Have you tried the gdallocationinfo command?  You can pass it a lat/lon
 and raster and it will report back what you're after I believe.

 Hope it helps,
 Tyler


 ___
 gdal-dev mailing list
 gdal-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/gdal-dev

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] elevetions from ASTER GDEM V2

2013-01-24 Thread Elias Kotsifis
Hello

I want to calculate the elevation of any point on earth, giving lat, Long
(for example like google elevation Api, or the earth tools:
http://www.earthtools.org/webservices.htm # cheigit) based the ASTER GDEM
MODEL V2.
I went to download data from there, and gives me geotiff files. Overall for
the entire planet is 22,702 granule with 400GB size
Then what should I do?

Best regards
Elias Kotsifis
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] elevetions from ASTER GDEM V2

2013-01-24 Thread Jean-Claude Repetto
On 24/01/2013 20:43, Elias Kotsifis wrote:
 Hello
  
 I want to calculate the elevation of any point on earth, giving lat,
 Long (for example like google elevation Api, or the earth tools:
 http://www.earthtools.org/webservices.htm # cheigit) based the ASTER
 GDEM MODEL V2.
 I went to download data from there, and gives me geotiff files. Overall
 for the entire planet is 22,702 granule with 400GB size
 Then what should I do?
  

Hello,

Generally, a bilinear or bicubic interpolation is used to compute the
elevation of the point.
You should read this paper :
http://www.geocomputation.org/1999/082/gc_082.htm

Jean-Claude
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] elevetions from ASTER GDEM V2

2013-01-24 Thread Tyler Mitchell

On 2013-01-24, at 11:43 AM, Elias Kotsifis wrote:
 I want to calculate the elevation of any point on earth, giving lat, Long 
 (for example like google elevation Api, or the earth tools: 
 http://www.earthtools.org/webservices.htm # cheigit) based the ASTER GDEM 
 MODEL V2.
 I went to download data from there, and gives me geotiff files. Overall for 
 the entire planet is 22,702 granule with 400GB size 
 Then what should I do? 

Hi Elias,
Have you tried the gdallocationinfo command?  You can pass it a lat/lon and 
raster and it will report back what you're after I believe.

Hope it helps,
Tyler

___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev