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
On Sun, Oct 12, 2008 at 10:59 AM, Elvis Dowson <elvis.dowson@mac.com> wrote:
Hi,
How can I import NASA SRTM DEM data, stored in a file format called
hgt, into VTK-5.3.x?
See r.in.srtm. Then export to whatever VTK reads with r.out.gdal.
Markus
Markus Neteler schrieb:
On Sun, Oct 12, 2008 at 10:59 AM, Elvis Dowson <elvis.dowson@mac.com> wrote:
Hi,
How can I import NASA SRTM DEM data, stored in a file format called
hgt, into VTK-5.3.x?
See r.in.srtm. Then export to whatever VTK reads with r.out.gdal.
Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
there is also r.out.vtk
http://grass.itc.it/grass63/manuals/html63_user/r.out.vtk.html
Regards
Wolfgang
The open source VTK viewer Visit can import GDAL/OGR supported data
directly (including SRTM HGT):
https://wci.llnl.gov/codes/visit/
From there, you can export as a VTK dataset.
I'd love to have a GDAL/OGR reader in ParaView though, as I think
that it has a much better UI.
Ben
WolfgangZ wrote:
Markus Neteler schrieb:
On Sun, Oct 12, 2008 at 10:59 AM, Elvis Dowson <elvis.dowson@mac.com> wrote:
Hi,
How can I import NASA SRTM DEM data, stored in a file format called
hgt, into VTK-5.3.x?
See r.in.srtm. Then export to whatever VTK reads with r.out.gdal.
Markus
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
there is also r.out.vtk
http://grass.itc.it/grass63/manuals/html63_user/r.out.vtk.html
Regards
Wolfgang
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
--
Benjamin Ducke
Senior Applications Support and Development Officer
Oxford Archaeology Ltd
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.
Tel: +44 (0)1865 263 800 (switchboard)
Tel: +44 (0)1865 980 758 (direct)
Fax :+44 (0)1865 793 496
benjamin.ducke@oxfordarch.co.uk
------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.