English

How To: Transfer ANNOTATION layer to cover.PAT ITEM

Procedure

Summary

This article shows how to transfer ANNOTATION text to an ITEM called TEXT in cover.PAT.

Procedure

There are two methods: the PC ARC/INFO & ArcView method, or the PC ARC/INFO only method.

· PC ARC/INFO & ARCVIEW method:

1. Use the PC ARC/INFO UNLOADANNO command to turn the ANNOTATION coverage into a file called TXT.DBF (within the coverage directory). The annotation will be relegated to a text string in an ITEM.

Code:
TABLES
SEL [original_cover.TXT]
ADDITEM
ANNO1_ID
11
N
O
[ENTER]
[ENTER]
CALC ANNO1_ID = $RECNO
Q

2. Do the following in ArcView:

a. Add the TXT.DBF file to a project

b. Select Add Event Theme from the View menu.

c. Select TXT.DBF as the XY event table. Use the XPOINT1 and YPOINT1 fields for the coordinate values. This will create a theme of points where you will attach the annotation's text strings.

d: Covert the current Point theme to a SHAPEFILE.

3. In PC ARC/INFO, use the SHAPEARC utility to create a Point coverage called ANNO1.

Code:
JOINITEM ANNO1.PAT original_cover.TXT ANNO1.PAT ANNO1_ID ANNO1_ID
IDENTITY ANNO1 [original_cover] ANNO2 POINT
JOINITEM [original_cover.PAT] ANNO2.PAT [original_cover.PAT]
[original_cover_ID] [original_cover_ID]

TABLES
SEL [original_cover.PAT]
DR ANNO2_
DR ANNO2_ID
DR ANNO1_
DR ANNO1_ID
DR LEVEL
DR NPOINTS
DR XPOINT1
DR YPOINT1
DR XPOINT2
DR YPOINT2
DR XPOINT3
DR YPOINT3
DR XPOINT4
DR YPOINT4
DR NARROWS
DR XARROW1
DR YARROW1
DR XARROW2
DR YARROW2
DR XARROR3
DR YARROW3
DR HEIGHT
DR TEXTGAP
DR SYMBOL
DR NCHARS

Now you should have an ITEM in the [out_cover.PAT] called TEXT, which contains the desired annotation.

· PC ARC/INFO only method:

At the [ARC] prompt do the following procedures:

Code:
UNLOADANNO [original_cover]

TABLES
SEL [original_cover.TXT]
ADDITEM
ANNO1_ID
11
N
O
[ENTER]
[ENTER]
CALC ANNO1_ID = $RECNO
DU ANNO1.TXT DELIMITED ANNO1_ID XPOINT1 YPOINT1
Q

GENERATE ANNO1
INPUT ANNO1.TXT
POINTS
Q

BUILD ANNO1 POINTS
JOINITEM ANNO1.PAT original_cover.TXT ANNO1.PAT ANNO1_ID ANNO1_ID
IDENTITY ANNO1 [original_cover] ANNO2 POINT
JOINITEM [original_cover.PAT] ANNO2.PAT [original_cover.PAT]
[original_cover_ID] [original_cover_ID]

TABLES
SEL [original_cover.PAT]
DR ANNO2_
DR ANNO2_ID
DR ANNO1_
DR ANNO1_ID
DR LEVEL
DR NPOINTS
DR XPOINT1
DR YPOINT1
DR XPOINT2
DR YPOINT2
DR XPOINT3
DR YPOINT3
DR XPOINT4
DR YPOINT4
DR NARROWS
DR XARROW1
DR YARROW1
DR XARROW2
DR YARROW2
DR XARROR3
DR YARROW3
DR HEIGHT
DR TEXTGAP
DR SYMBOL
DR NCHARS

Now you should have an ITEM in the [out_cover.PAT] called TEXT, which contains the desired annotation.