Maptitude GISDK Help

GetNeighbors()

Summary

Gets the neighbors of an area feature.

 

Changes

From version 5.0 works on Grid CDF area layers.

 

Syntax

neighbors = GetNeighbors(int id, array options)

 

Argument

Contents

id

The ID of the area

 

No options are currently supported.

 

Returns

An array of integers with the IDs of the neighboring areas.

 

Notes

Error Codes

Error Type

Meaning

Error

id is invalid

 

See Also

Function

Summary

IsNeighbor()

Determines whether two areas are neighbors

GetDBTopology()

Determines whether a standard geographic file is topological

GetDEMNeighbor()

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

 

 

©2025 Caliper Corporation www.caliper.com