[vtkusers] How to import NASA SRTM DEM data into VTK

Elvis Dowson elvis.dowson at mac.com
Mon Oct 13 09:36:40 EDT 2008


Hi Mathieu,
                        Now that I know the size of the file and that  
the computation is 1201x1201x2, what should I do next? :-)

Best regards,

Elvis Dowson

On Oct 13, 2008, at 5:29 PM, Elvis Dowson wrote:

> Hi Mathieu,
>                      So, if the size of the file is 2884802, then  
> this implies that the sizeof(int) is 2 (which I'm assuming is the  
> total number of bytes used to represent a signed integer. Since  
> 1201x1201 = 1442401.
>
> Best regards,
>
> Elvis Dowson
>
> elvis-dowsons-macbook-pro:~ elvis$ ls -al "/Users/elvis/Repository/ 
> Data/NASASRTM/version2/SRTM3/Eurasia/N25E070.hgt"
> -rw-r--r--@ 1 elvis  staff  2884802 May 27  2005 /Users/elvis/ 
> Repository/Data/NASASRTM/version2/SRTM3/Eurasia/N25E070.hgt
>




More information about the vtkusers mailing list