DemInfo

DemInfo is a utility for quickly getting some basic information about a DEM. Given the file name of a DEM, DemInfo reads its header and prints onto standard output the basic information contained in the header. Note that the DEM provided to DemInfo may be compressed with gzip. DemInfo detects whether the input DEM is compressed and processes the file accordingly. Presently, the only type of file compression supported is gzip; other file compression formats, such as zip or bzip2, are not yet supported.


Syntax

The syntax for DemInfo is simple:


         DemInfo InputFileName


where InputFileName is the name of the DEM file. Note that the DEM file must be in the standard USGS DEM format. In particular, SDTS format is not supported (although a DEM available in SDTS format can be converted to the standard USGS format using SDTS2DEM).



Output of DemInfo

All the output of DemInfo is sent to stdout (the user's console); the output can be redirected to a file with the usual redirection symbol (>). An example of the output of DemInfo is below:



DemInfo version 1.0-beta, copyright Geophysical Software, 2000.
Processing file tesuque1.dat.gz.
=====================================================
TESUQUE Q02             A7A218  40000 GS-VDRE 03-023 06/26/75   WILD A7
 60000 4MM 50M IN Y     PUEBLOS, NM      Q02             6169025
    DEM Level code .................... 1
    Elevation pattern code............. 1
    Ground Ref System Code............. 1 (=Geographic, 1=UTM, 2=State Plane)
    UTM Zone number.................... 13
    Planimetric units code............. 2 (0=rad, 1=feet, 2=meters, 3=arc-sec)
    Elevation units code............... 2 (1=feet, 2=meters)
    Number of sides for this DEM....... 4
    Elevation Accuracy Code............ 1
    Horizontal datum code.............. 1 (NAD27)
    SW corner coordinates.............. 409585.2 3956481.6
    NW corner coordinates.............. 409726.8 3970345.8
    NE corner coordinates.............. 421011.2 3970237.6
    SE corner coordinates.............. 420887.3 3956373.6
    Minimum Elev on this DEM........... 1810.0
    Maximum Elev on this DEM........... 2661.0
    X-Y Rotation angle................. 0.0000e+00
    DEM resolution in x-direction...... 30.00
    DEM resolution in y-direction...... 30.00
    DEM resolution in z-direction...... 1.00
    Number of rows in this DEM......... 1
    Number of columns in this DEM...... 381
=====================================================




Copyright

DemInfo is copyright 2000 by Geophysical Software.

Document Index