MapInfo
Labels: Tips, Tricks, & Traps
Presentation
outline prepared initially for the Northwest MapInfo Users Group
John Schlosser, Schlosser Geographic Systems, Inc. (SGSI) May 1998
Updated
July 13, 2005
| Overview | Contents |
| MapInfo Pro has advanced labelling features. For example: It can display data-driven label dynamically, on-the-fly. It can maintain the live link between the data and the labels. It has a neat little handle for rotating labels. Although introduced by MapInfo in 1996, these features have still not been mastered by MapInfo's competitors. Still, MapInfo's label features are not perfect. Nor are they well documented. The purpose of this presentation is to outline how to build on the strengths and avoid the weakness of current label features. |
| Summary: Three Types of Labels | |||||
| Automatic labels |
|
||||
| Custom labels |
|
||||
| Permanent or "text feature" labels |
|
||||
| Not all Labels are equal | |||||
| Automatic labels: Fast, easy, & (sometimes) ugly |
|
||||
| Custom labels: A middle ground approach |
|
||||
| Permanent or "text feature" labels: For complete control |
|
||||
| SGSI's Cardinal Rules for Working with Labels | |||||
| Rule #1 | You have a choice. If Automatic or Custom labels are inconvenient for you, avoid them entirely. | ||||
| Rule #2 | Use Automatic labels when working dynamically with your data. This feature is great if you are doing interactive what-if analysis, using Query > Find , or doing other free-form operations. | ||||
| Rule #3 | Use text feature labels (text-only layers) when making a map that has to
look good on paper. This is particularly true if you are plotting a large map (e.g.,
E-size). Know and use the Labeler.mbx and AutoLabl.mbx utilities. In MapInfo 4.5
these utilities are readily accessible via the new Tool Manager:
|
||||
| Labeling Tricks, Tips & Traps | |||||
| Disappearing label | First label disappears when you try to add a second identical one with the Label tool . No matter how many times you use the Label tool with that map feature, you only get one label. | ||||
| This is a design "feature". It is *not* caused by checking or un-checking the "Allow duplicate labels" checkbox. | |||||
| Jumbled labels | Custom labels are jumbled. You use File > Open Workspace only to find that text labels have been shuffled. E.g., the point for "Enumclaw" is labeled with "Mount Vernon", the point for "Everett" is labelled "Snohomish" etc. | ||||
| The workspace file contains your custom label tweaks, referencing records
in the source table by record number. Have you "pack-ed" this source
table? The record numbers change when you "Pack" a table. This is
the problem. If you save your workspace *again*, immediately after "pack-ing"
your table, your custom labels will be secure for this workspace. If you forget to
re-save the workspace after the "Pack", your custom labels are guaranteed to be
jumbled.
|
|||||
| Irrepressible labels | Labels you thought you deleted keep re-appearing. For example, you see a street map label: "I-5 Ramp". You delete it and print the map. When you print the map, you notice that there is again an "I-5 Ramp" label on the map. | ||||
| Let's say there are at least two lines with name "I-5 Ramp". Only one of them is labeled, if you have suppressed "duplicate labels" (the default situation). When you delete the label for the first "I-5 Ramp" segment, the second segment gets to display its label since there's no other duplicate label displayed. | |||||
| Layout labels don't show in map window | Labels print via the Layout that didn't show in the Map window. The printed page can contain some unexpected (and maybe unwanted) automatic labels. | ||||
| The map window only shows map labels that 'qualify' for display. That is,
unless you've checked the "Allow overlapping labels" box in the Layer Control
dialog, many labels will be suppressed. However, your page layout could easily have a map
frame with a lot more space than the map window. This is especially true if printing in
large formats. So, when placed in the layout, at the scale of the plotted page, many more
labels qualify for display. Some suggestions, should you chose to keep the labels as automatic or custom labels:
|
|||||
| "Hybrid" custom/automatic labels | Re-position region centroids or make a separate "label point" layer to make Automatic labels that are always in the right place | ||||
| An automatic label is placed at the geometric center of the region or other object. You can edit the centroid and cause it to automatically fall where it looks good instead. Beware that moving the centroid can affect other analysis. A safer bet it to create an entirely separate map layer with point. Adjust this points so they are exactly where you want your labels to be. Then turn on automatic labels for this "label point" layer. See also SGSI Tip #151: Making a separate label point map. | |||||
| Labels don't print | You print a large map with lots of automatic or custom labels. The labels show in your Layout, but don't print, or don't *all* print, on paper. | ||||
| This is a memory issue. There may or may not be an error message if it is a printer memory error. Displaying hundreds or thousands of labels takes lots of system memory too. With some versions of MapInfo Pro, especially with other applications running simultaneously, this causes some labels to show, but not print. | |||||
| Text "scale" is wrong | You have converted automatic labels into a permanent text map layer using Labeler.mbx, but the scale of the text in no longer constant. | ||||
| Automatic text stays a constant font size as you zoom in and out on the map. Text in a permanent text map layer does not. For a solution, please refer to our Technical Tip on this subject. | |||||
| Home | Top of Page | Contents | Search | Email SGSI |
[sgs_foot.htm]