[gdal-dev] SRTM maps and altitude...

David Burken dburken at comcast.net
Mon Jun 14 08:38:27 EDT 2010


On 06/14/2010 04:41 AM, Gianni Olivieri wrote:
> 2010/6/14 Gianni Olivieri<gianni.olivieri at gmail.com>:
>    
>> 2010/6/11 Gianni Olivieri<gianni.olivieri at gmail.com>:
>>      
>>> 2010/6/11 Matt Klaric<matt at klaric.com>:
>>>        
>>>> 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<gianni.olivieri at gmail.com>
>>>> 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
>>>>> gianni.olivieri at gmail.com
>>>>> _______________________________________________
>>>>> gdal-dev mailing list
>>>>> gdal-dev at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>>>>            
>>>>
>>>>          
>>>
>>>
>>> --
>>> Gianni Olivieri
>>> gianni.olivieri at gmail.com
>>>
>>>        
>>
>>
>> --
>> Gianni Olivieri
>> gianni.olivieri at gmail.com
>>
>>      
>
>
>    


More information about the gdal-dev mailing list