Here's a little Python script I knocked up for just this purpose.
# Quick and dirty utility to get the value of a pixel in a georeferenced
# image file, given the map coordinates. Uses nearest-neighbour and doesn't
# try to do anything clever.
# By John Donovan 2010, released into the public domai
On 06/14/2010 04:41 AM, Gianni Olivieri wrote:
2010/6/14 Gianni Olivieri:
2010/6/11 Gianni Olivieri:
2010/6/11 Matt Klaric:
While you certainly can accomplish this using GDAL, you'll need to first
figure out which hgt file to open, then translate the geographic coordinate
to
If you need only the core library
(it includes the ossim-height executable)
you will find ossim packaged for debian unstable (SID) [1]
or the complete set of apps for ubuntu 9.04 [2]
[1] http://wiki.debian.org/DebianGis/PackageList
[2] https://launchpad.net/~ubuntugis
btw using gdal you can read
2010/6/14 Gianni Olivieri :
> 2010/6/11 Gianni Olivieri :
>> 2010/6/11 Matt Klaric :
>>> While you certainly can accomplish this using GDAL, you'll need to first
>>> figure out which hgt file to open, then translate the geographic coordinate
>>> to the image coordinate to know what pixel value to l
2010/6/11 Gianni Olivieri :
> 2010/6/11 Matt Klaric :
>> While you certainly can accomplish this using GDAL, you'll need to first
>> figure out which hgt file to open, then translate the geographic coordinate
>> to the image coordinate to know what pixel value to lookup.
>>
>> An alternative soluti
While you certainly can accomplish this using GDAL, you'll need to first
figure out which hgt file to open, then translate the geographic coordinate
to the image coordinate to know what pixel value to lookup.
An alternative solution is OSSIM (http://www.ossim.org/). It has a
command-line app call
2010/6/11 Matt Klaric :
> While you certainly can accomplish this using GDAL, you'll need to first
> figure out which hgt file to open, then translate the geographic coordinate
> to the image coordinate to know what pixel value to lookup.
>
> An alternative solution is OSSIM (http://www.ossim.org/)