Maptitude GISDK Help

ImportDEM()

Summary

Imports features from Digital Elevation Model files.

 

Syntax

ImportDEM(array filenames, string new_db_name, array options)

 

Argument Contents
filenames An array containing the path and file names of the files to import
new_db_name The path and file name of the new geographic file

 

Option Type Contents
Label String A descriptive label for the geographic file
Layer Name String The name of the layer in the geographic file
Optimize Boolean Whether to optimize the geographic file automatically after the import (defaults to "True")
Portion String "Whole", "Top" or "Bottom" for GTOPO30 files (defaults to Whole)
Table Filename String The path and file name in which attributes are stored; the file extension must be .BIN, .CSV, .DBF, or .TXT; a required option

 

Notes

Example

ImportDEM({"c:\\demfiles\\newton.DEM", "c:\\demfiles\\boston.DEM"}, "elevs.dbd", {

     {"Label", "Elevations"},

     {"Layer Name", "Elevation"},

     {"Optimize", "True"},

     {"Table Filename", "elevs.bin"}

     })

 

Error Codes

Error Type Meaning
NotFound The specified file could not be found
Error The file is not a valid Digital Elevation Model file

 

See Also

Function Summary
GetDEMInfo() Collects summary information about a Digital Elevation Model file
GetDEMNeighbor() Returns the ID of a neighbor of a cell in a DEM
ImportDLG() Imports features from USGS Digital Line Graph files
ImportGIRAS() Imports features from USGS Land Use and Land Cover files

 

 

©2025 Caliper Corporation www.caliper.com