POV-Ray : Newsgroups : povray.pov4.discussion.general : Request *.dem and *.hgt format : Re: Request *.dem and *.hgt format Server Time
23 Apr 2024 05:37:20 EDT (-0400)
  Re: Request *.dem and *.hgt format  
From: clipka
Date: 18 Jan 2011 02:10:29
Message: <4d353ce5$1@news.povray.org>
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.


Post a reply to this message

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