On 06/14/2010 04:41 AM, Gianni Olivieri wrote:
2010/6/14 Gianni Olivieri<[email protected]>:
2010/6/11 Gianni Olivieri<[email protected]>:
2010/6/11 Matt Klaric<[email protected]>:
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 called ossim-height. You can use it as follows:
thanks... I've looked to ossim... but there is a versione for linux?
or only form mac and windows?
I've see the source, I'll try to compile.
I need this tool for a hobby/study project... I'd like to create an
image of an altitude profile of a path...
something like: http://www.heywhatsthat.com/profiler.html
but I'd like to do all myself... I've Eurasia maps from SRTM NASA
already downloaded.
I've looked to mapserver and GDAL and now OSSIM...
I'm on a right direction?
Gianni I do all my ossim developement on linux so let me know if you
need any help there.
Dave
$ ossim-height 45 10
Opened cell: /srtm1/N45E010.hgt
MSL to ellipsoid delta: 39.049
Height above MSL: 37
Height above ellipsoid: 76.049
Geoid value: 39.049
thanks for this link, I didn't know this software.
I try this.
Thanks...
You can setup a configuration file (see:
http://trac.osgeo.org/ossim/wiki/ossimElevationSetup) that points to your
directory of hgt files and OSSIM will figure out which file is needed for
your query.
If you're needing to embed this in an application of yours, you can use the
OSSIM API to accomplish the same thing. Check out the source for
ossim-height for an example of how to do this.
--Matt
On Fri, Jun 11, 2010 at 9:33 AM, Gianni Olivieri<[email protected]>
wrote:
Hallo,
I need to extract the altitude of a GPS coordinate from a serie of
HGT (SRTM or DEM) (I've download the entire Eurasia...
So, for example, If I have a directory with all htg file and I'd like
to know the altitude of this coords:
48°01'35.89" N
8°23'51,86" E
how can I preceed?
The elevation in that point is: 761m (google earth result)
I'd like to have a similar results.
Best regards
--
Gianni Olivieri
[email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev
--
Gianni Olivieri
[email protected]
--
Gianni Olivieri
[email protected]
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev