Abbreviating words to place more labels |
|
Release 9.1
Last modified April 26, 2005 |
Print all topics in : "Label fitting strategies" |
The Maplex Label Engine can automatically shorten words to fit a given label with its feature if you specify the word and abbreviation in an abbreviation dictionary. When you use an abbreviation dictionary, the Maplex Label Engine will first attempt to place the full text of the label, then abbreviate any words found in the dictionary for labels that could not be placed.
Abbreviation dictionaries are applied to individual label classes. The abbreviation is applied to a freestanding word or groups of words, not parts of words, with the exception of certain nonEnglish words. Individual words, such as Road and Street, can be abbreviated as Rd or St, or longer strings, such as Post Office, can be abbreviated as PO. Portions of words will not be abbreviated. For example, if you had a dictionary entry mapping Road as Rd, the label Roadrunner Road would be abbreviated as Roadrunner Rd, not Rdrunner Rd.
To use abbreviations in labels, you must first create an abbreviation dictionary and add to it some words and their abbreviations. Once you’ve created a dictionary, you can save it as a file that you can load to use with other maps.
To add words to an abbreviation dictionary, you add a row to the dictionary table, type the word in the keyword column, type one or more abbreviations separated by spaces, and specify what type of dictionary entry it is. Multiple-word keywords and abbreviations and nonalphabetical characters must be contained within double quotation marks. For example, the two-word string “Post Office” might be abbreviated as “Post Off.” or “P.O.” The alternative abbreviations must be separated by a space.
There are three types of abbrieviation dictionary entries; keywords, endings, and translations. Two of these types, keywords and endings, are only applied to words when the original string can't be placed because of space, label-to-label, or label-to-feature conflicts. Translation entries are always applied to all matching words.
In Germanic languages, the generic street ending is appended to the street name; for example, Fredrichstrasse. To deal with these special cases, the Maplex Label Engine can recognize four special character strings that can be abbreviated when they are found within a longer string. These four words are:
Abbreviation dictionaries can be used in other map documents by saving and loading them into the new map document. The files are formatted text files and are saved with the file extension .dic.
Lines that begin with the "*" character are comment lines. The format of an abbreviation entry follows:
<Word> <Option1> <Option2> <OptionN> <Type>
* Maplex Extension Dictionary File - v1.0 * Format: TEXT ABBREVIATION(S) TYPE * where TYPE=[Translation|Keyword|Ending] Street Str St Ending Road Rd Ending 'Post Office' 'P.O.' PO Keyword * [end]