English

Error: LAB and PAT do not agree

Solution or Workaround

Summary

This error occurs in ARCEDIT:

LAB and PAT do not agree

Cause

This error message is generally caused by:

1. Labelerrors, usually duplicate labels in polygons.
2. Coverage IDs were updated in INFO or TABLES and IDEDIT was not run afterward.
3. Cover.pat was sorted in INFO or TABLES without sorting back on cover#.

For example: You add arcs that don't close to a polygon coverage, add labels to the unclosed polygon, and clean the coverage to update the PAT file. As result, the unclosed polygon will cause the PAT and LAB to not agree, and for another polgyon to have two labels; thus, the data is scrambled.

Solution

For arc attribute table:

Code:
Tables
select cover.aat
calculate cover_id = cover_ - 1


Code:
IDEDIT cover line
BUILD cover line

For polygon attribute table:

Code:
Tables
select cover.pat
calculate cover_id = cover_ - 1


Code:
IDEDIT cover polygon
Build cover polygon

Fr point attribute table:

Code:
Tables
select cover.pat
calculate cover_id = cover_ - 1


Code:
IDEDIT cover point
Build cover point


Note:
The user defined items will scramble after editing if you have not followed the correct procedures for adding features to a coverage.