MapInfo Pro reads basic label information from MWS files created in MapInfo Pro or MapXtreme's Workspace Manager.
The following is a list of label properties that can be read in:
- Label expression if it is a simple column identifier
- Font style
- Callout line style
- Label placement (center center; centre left, etc.)
- Label orientation (horizontal, rotated, curved)
- Label offset
- Label visibility including zoom range
- Label adjustments like discarding overlaps, labeling partially visible objects, etc.
- Custom labels - all properties
The MWS schema supports more options for labels than MapInfo Pro supports. Therefore, MWS files created with Workspace Manager may lose some label information when imported into MapInfo Pro.
MWS Element/Option | Description |
---|---|
LabelLayer Visibility |
Label sources inherit the parent label layer visibility. |
LabelSource Visibility |
If there are multiple LabelSources for one feature layer without zoom enabled, then the top visible label layer is added. If there are no visible label layers, then the top invisible label layer is added. If there are multiple LabelSources with zoom ranges, then one label layer is chosen as a base label layer and all others are added as label overrides. The logic for finding a base label is:
Other label layers are added as label overrides when:
If the range intersects (but not completely within) all previous override ranges, then the label override is added; in this case, ranges are modified to not override previous label overrides. If the range is wider on both ends, then two overrides are added instead of one. The base label zoom is the union of all override zoom ranges. |
LabelProperties LabelVisibility |
This is on the AutoLabel tab in the Workspace Manager. The "Create labels automatically" option in the Workspace Manager maps to auto labels On/Off ("Label Auto On/Off" in MapBasic). There is no direct mapping of the zoom range in MapInfo Pro, so this is ignored. |
Modifier Edited Labels (LabelSelectionTheme Visibility) |
Visible custom labels are imported into MapInfo Pro. Only the custom labels that are visible are imported. |
Thematic Modifier |
No mapping; there is no support for label themes. |