The LATTICE statement
defines which areas enclose other smaller areas (such as states enclose
counties). When a lattice hierarchy is defined, the area composite
values for new points are assigned automatically as the points are
added to the map. The composite values are also reevaluated automatically
when an existing point is moved to a new location. A lattice definition
also makes it possible to simultaneously assign attribute values to
all points in a point layer by setting area attributes in the
GIS Layer window. Area attributes cannot be assigned
to new points, moved points, geocoded points, or imported points unless
a lattice has been defined.
The lattice definition
is written to the current spatial entry. An error occurs if you submit
a LATTICE statement when no spatial entry is currently selected.
Note: Because the LATTICE statement
uses composites, you must include a RUN statement following a COMPOSITE
statement. This ensures that the composite is created before the LATTICE
statement executes and attempts to use the composite.
The LATTICE statement
checks lattice definitions for circular references. For example, a
lattice definition of the following form would cause an error:
LATTICE A ENCLOSES B
B ENCLOSES C
C ENCLOSES B;