| Maptitude GISDK Help |
Determines whether two area features are neighbors.
neighbors = IsNeighbor(int id1, int id2, array options)
| Argument | Contents |
|---|---|
| id1 | The ID of the first area |
| id2 | The ID of the second area |
No options are currently supported.
A string, "True" if areas id1 and id2 are neighbors, otherwise "False".
The current layer must be a topological area layer, which can be determined with GetDBTopology().
| Error Type | Meaning |
|---|---|
| Error | id1 and/or id2 is invalid |
| Function | Summary |
|---|---|
| GetNeighbors() | Gets the neighbors of an area feature |
| GetDBTopology() | Determines whether a standard geographic file is topological |
| ©2025 Caliper Corporation | www.caliper.com |