[vtkusers] How to import NASA SRTM DEM data into VTK
Mathieu Malaterre
mathieu.malaterre at gmail.com
Mon Oct 13 09:18:32 EDT 2008
On Mon, Oct 13, 2008 at 3:17 PM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> On Mon, Oct 13, 2008 at 1:57 PM, Elvis Dowson <elvis.dowson at mac.com> wrote:
>> The image data is 1201x1201 array using 16-bit signed integers, but it kept
>> crashing when I use SetDataExtent 0 1201 0 1201 0 0.
>
> => [1202,1202,1] dimensions
>
> what is the output of :
>
> $ ls -al "/Users/elvis/Repository/Data/NASASRTM/version2/SRTM3/Eurasia/N25E070.hgt"
>
> answer:
> it should be 1201 * 1201 * 1
... * sizeof(ushort)
:)
--
Mathieu
More information about the vtkusers
mailing list