<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div> Here is a brief description of the NASA SRTM DEM file. Can someone please give me some hints on how I can read this simple binary raster file and create a vtkSRTMReader class to produce a vtkImageData ouput, for further processing for reconstructing a 3D terrain surface.</div><div><br></div><div>Best regards,</div><div><br></div><div>Elvis Dowson</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">DEM File (.HGT)</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">The DEM is provided as 16-bit signed integer data in a simple binary raster. There are no header</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">or trailer bytes embedded in the file. The data are stored in row major order (all the data for row</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">1, followed by all the data for row 2, etc.).</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">All elevations are in meters referenced to the WGS84/EGM96 geoid as documented at http://</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; "><a href="http://www.NGA.mil/GandG/wgsegm/">www.NGA.mil/GandG/wgsegm/</a>.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">Byte order is Motorola ("big-endian") standard with the most significant byte first. Since they are</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">signed integers elevations can range from -32767 to 32767 meters, encompassing the range of</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">elevation to be found on the Earth.</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">These data also contain occassional voids from a number of causes such as shadowing, phase</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Times; ">unwrapping anomalies, or other radar-specific causes. Voids are flagged with the value -32768.</div></div></body></html>