IsNeighbor()

Summary

Determines whether two area features are neighbors.

Syntax

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.

Returns

A string, "True" if areas id1 and id2 are neighbors, otherwise "False".

Notes

  • The current layer must be a topological area layer, which can be determined with GetDBTopology().

Error Codes

Error Type Meaning
Error id1 and/or id2 is invalid

See Also

Function Summary
GetNeighbors() Gets the neighbors of an area feature
GetDBTopology() Determines whether a standard geographic file is topological