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

Elvis Dowson elvis.dowson at mac.com
Mon Oct 13 09:54:46 EDT 2008


Same error and image when I set the data extent to

reader SetDataExtent 0 1200 0 1200 -32767 32767

elvis-dowsons-macbook-pro:~ elvis$ wish
% Generic Warning: In /Users/elvis/Tool/vtk-5.x/src/VTK/IO/ 
vtkImageReader2.cxx, line 775
File operation failed. row = 600, Read = 4804, FilePos = -1

Best regards,

Elvis Dowson

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

> Hi Matieu,
> 			When I set the data extent as follows:
>
> reader SetDataExtent 0 1200 0 1200 0 0
>
> I get the following error.
>
> File operation failed. row = 600, Read = 4804, FilePos = -1
>
> The image is partially reconstructed, with a really big black border  
> around, with a central white patch, with some faint traces of some  
> sort of relief shading.
>
> <STRM Data Import.png>
>
>
> What could be wrong and causing this read error?
>
> Best regards,
>
> Elvis Dowson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081013/ada6c803/attachment.htm>


More information about the vtkusers mailing list