Maptitude GISDK Help

GetDEMNeighbor()

Summary

Returns the ID of a neighbor of a cell in a DEM.

 

Changes

From version 5.0 works on Grid CDF area layers.

 

Syntax

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"

 

Returns

An integer ID of the neighboring cell.

 

Notes

See Also

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