This is an old revision of the document!
Neighborhood Table Type
A Neighborhood Table defines a weight between pairs of locations — used, for example, by Calc Spatial Lag as the spatial weights matrix for a spatial-lag regression. Like Change Matrix Type, Percent Matrix Type, and the other matrix-shaped types, it's really a Table with one fixed, expected column layout: Neighbor1* (Real), Neighbor2* (Real), Weight (Real). Each row gives the weight linking one neighbor to another.
GUI Editor
Neighborhood Table Type has no dedicated editor of its own. A value is obtained by connecting a Table shaped with the columns above, or an Elevation Graph, and letting the automatic conversion apply.
EGO Script
For the same reason, Neighborhood Table Type has no literal constant syntax in EGO Script — see Constants. A Neighborhood Table is always obtained by an automatic conversion from a Table shaped with the Neighbor1*, Neighbor2*, Weight columns, or from an Elevation Graph, connected wherever a Neighborhood Table Type input is expected.
Automatic Conversions
- Converted from: Table Type and Elevation Graph Type.
- Converted to: Table Type.
See Type System for the shared table-format pattern this type follows, and for the complete conversion reference across all types.