[vtkusers] How to import NASA SRTM DEM data into VTK
Elvis Dowson
elvis.dowson at mac.com
Sun Oct 12 13:21:36 EDT 2008
Hi,
Can VTK import DEM data from any of the following file
formats? I ask this because the input to vtkDEMReader is an ASCII file
format. Please help! :-)
VRT
,GTiff
,NITF
,HFA
,ELAS
,AAIGrid
,DTED
,PNG
,JPEG
,MEM
,GIF
,XPM
,BMP
,PCIDSK
,PCRaster
,ILWIS
,SRTMHGT
,Leveller
,Terragen
,GMT
,netCDF
,PNM
,ENVI
,EHdr,PAux,MFF,MFF2,BT,IDA,ERS,FIT,RMF,RST,INGR,GSAG,GSBG,USGSDEM,ADRG
Best regards,
Elvis Dowson
On Oct 12, 2008, at 12:56 PM, Elvis Dowson wrote:
> Hi,
> How can I import NASA SRTM DEM data, stored in a file format
> called hgt, into VTK-5.3.x?
>
> Apparently the *hgt file format can just be renamed to *.dem, but
> the contents of the file are stored in a format called GTOPO30 DEM,
> I think.
>
> When I opened the SainteHelens.dem file supplied with the VTK Data
> package, I can see that it consists of ascii values and is human-
> readable.
>
> However, when I look at a NASA SRTM file, it appears to be some sort
> of binary file format.
>
> Here is an example of a NASA SRTM file ftp://e0srp01u.ecs.nasa.gov/srtm/version2/SRTM3/Australia/S34E150.hgt.zip
>
> vtkDEMReader will not directly work with the NASA SRTM file.
>
> Has someone implemented a reader that will read in the NASA SRTM file?
>
> If someone can help point me in the right direction, I can even
> spend some time and try to implement a new vtkSRTMReader class.
>
> Best regards,
>
> Elvis Dowson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081012/953b6806/attachment.htm>
More information about the vtkusers
mailing list