| Maptitude GISDK Help |
Collects summary information about a Digital Elevation Model file.
dem_info = GetDEMInfo(string filename)
| Argument | Contents |
|---|---|
| filename | The path and file name of the DEM file |
An array of information as follows:
| Element | Type | Contents |
|---|---|---|
| 1 | String | Name of the DEM tile |
| 2 | Integer | Data level |
| 3 | String | Elevation units |
ImportDEM() supports DTED files with file extensions .dt0, .dt1, and .dt2 for Levels 0, 1, and 2.
// This call_
dem_info = GetDEMInfo("c:\\anchorag.dem")
// Returns this type of information_.
// dem_info = {
// "ANCHORAGE (C-7) SE, AK (STEREOMODEL)",
// 2,
// "Meters"
// }
| Error Type | Meaning |
|---|---|
| NotFound | The specified file could not be found |
| Error | The file is not a valid Digital Elevation Model file |
| Function | Summary |
|---|---|
| GetDEMNeighbor() | Returns the ID of a neighbor of a cell in a DEM |
| ImportDEM() | Imports features from Digital Elevation Model files |
| ©2025 Caliper Corporation | www.caliper.com |