English

How To: Convert annotation text to a mixed case format

Summary

Steps to change the case of annotation features from all upper case to a mixed case format.

Mixed case format means that the first letter of each word in the text string is upper case with the remaining letters are lower case.

Example: 'Nova Scotia' compared to 'NOVA SCOTIA'

Procedure

  1. Use the ADDTEXT command to add more items to the annotation subclass attribute table (TAT).

    Arc: addtext
    Usage: ADDTEXT

    Arc: addtext atlantic name
    Adding anno.name information to TAT for atlantic

    Arc: items atlantic.tatname

    COLUMN ITEM NAME WIDTH OUTPUT TYPE N.DEC
    1 NAME# 4 5 B -
    5 NAME-ID 4 5 B -
    9 X 4 12 F 3
    13 Y 4 12 F 3
    17 OFFSETX 4 12 F 3
    21 OFFSETY 4 12 F 3
    25 HEIGHT 4 12 F 3
    29 SYMBOL 4 5 B -
    33 LEVEL 4 5 B -
    37 TEXT 320 320 C -



    ADDTEXT creates an item called TEXT and populates it with the text string for each annotation feature.

    Arc: list atlantic.tatname text
    1
    text = NOVA SCOTIA
    2
    text = NEW BRUNSWICK
    3
    text = PRINCE EDWARD ISLAND
    4
    text = NEWFOUNDLAND



  2. Use the RECASE command in INFO to change the values of the TEXT item from upper case to mixed case.

    Arc: INFO

    ENTER USER NAME>ARC

    ENTER COMMAND >SELECT ATLANTIC.TATNAME
    4 RECORD(S) SELECTED

    ENTER COMMAND >RECASE TEXT

    ENTER COMMAND >LIST TEXT
    1
    TEXT =Nova Scotia
    2
    TEXT =New Brunswick
    3
    TEXT =Prince Edward Island
    4
    TEXT =Newfoundland

    ENTER COMMAND >Q STOP



  3. Update the pseudo item $TEXT for each annotation.

    Arc: arcedit

    Arcedit: edit atlantic anno.name

    Arcedit: select all
    4 element(s) now selected

    Arcedit: list $text text
    1
    $TEXT = NOVA SCOTIA
    TEXT = Nova Scotia
    2
    $TEXT = NEW BRUNSWICK
    TEXT = New Brunswick
    3
    $TEXT = PRINCE EDWARD ISLAND
    TEXT = Prince Edward Island
    4
    $TEXT = NEWFOUNDLAND
    TEXT = Newfoundland

    Arcedit: usage moveitem
    Usage: MOVEITEM <'character_string' | source_item> {TO}

    Arcedit: moveitem text to $text

    Arcedit: save