POV-Ray : Newsgroups : povray.pov4.discussion.general : Request *.dem and *.hgt format : Re: Request *.dem and *.hgt format Server Time
21 Nov 2024 14:22:57 EST (-0500)
  Re: Request *.dem and *.hgt format  
From: Nekar Xenos
Date: 18 Jan 2011 02:52:58
Message: <op.vphuuhprufxv4h@xena>
On Tue, 18 Jan 2011 09:10:15 +0200, clipka <ano### [at] anonymousorg> wrote:

> Am 17.01.2011 20:52, schrieb Nekar Xenos:
>
>> "Height files have the extension .HGT and are signed two byte integers.
>> The
>> bytes are in Motorola "big-endian" order with the most significant byte
>> first,
>> directly readable by systems such as Sun SPARC, Silicon Graphics and
>> Macintosh.
>> DEC Alpha and most PCs use Intel ("little-endian") order so some
>> byte-swapping
>> may be necessary. Heights are in meters referenced to the WGS84 geoid.
>> Data
>> voids are assigned the value -32768."
>
> That's pretty meager; some information would be needed about the number  
> of columns & rows, and how this format deals with the spheroid shape of  
> earth.

http://stackoverflow.com/questions/357415/how-to-read-nasa-hgt-binary-files

http://dds.cr.usgs.gov/srtm/version1/Documentation/SRTM_Topo.txt

hope this helps

-- 
-Nekar Xenos-

"The spoon is not real"


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.