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.com>wrote: > > 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