| Maptitude GISDK Help |
Returns the ID of a neighbor of a cell in a DEM.
From version 5.0 works on Grid CDF area layers.
neighbor_id = GetDEMNeighbor(int cell_ id, string dir)
| Argument | Contents |
|---|---|
| cell_ id | ID of a cell in a DEM |
| dir | Direction of the neighbor: "North", "South", "East", or "West" |
An integer ID of the neighboring cell.
0 is returned when a layer boundary is encountered.
Works on a Grid CDF area layer.
| Function | Summary |
|---|---|
| GetDEMInfo() | Collects summary information about a Digital Elevation Model file |
| GetNeighbors() | Gets the neighbors of an area feature |
| ImportDEM() | Imports features from Digital Elevation Model files |
| ©2025 Caliper Corporation | www.caliper.com |