Create Styles and Rules

1.In the MAP LabelPro dialog box, click the first label filter for the Parks_area layer to highlight it. Rename the first label filter to Small Park. Click the Is labeled check box.

smallparkrename

2.Beside the Style drop-down list, click the Edit button to open the Style dialog box.

3.Make sure that Arial is selected in the Font family drop-down list and that Regular is selected as the Font style.

4.In the Size drop-down list, set the font size to 7.00 pt.

5.Click the color chip and in the Color Picker dialog box, pick dark green color (e.g. R=0, G=85, B=0) and click OK.

colorpicker

6.Click the Save button. In the Save Style As dialog box, type Small_Park_Style in the Name box and click Save.

smallparksaveas

7.In the Style dialog box, click OK.

In the MAP LabelPro dialog box, the Style drop-down list now displays Small_Park_Style. The style is saved in the directory specified in the MAPublisher Preferences.

smallparkstyle_set

Next, you'll create the rules for the Small Park label filter.

8.Beside the Rules drop-down list, click the Edit button to open the Area Rules dialog box.

9.In the Area Rules dialog box, in the Placement tab, uncheck the Allow extending beyond boundary check box to disable the rule.

smallpark_rule_placement

10. In the Fitting tab, for the Allow stacking rule choose Up to 4 lines from the drop-down.

smallpark_rule_fitting

11. In the Conflict Avoidance tab, uncheck the Allow labels to cross obstacles check box to disable the rule.

12. Click the Allow use of leader lines check box and keep its default parameters.

smallpark_rule_conflict

13. Click the Save button and in the Save Rule As dialog box, type Small_Park_Rules in the Name box and click Save.

smallparkrules_saveas

14. In the Area Rules dialog box, click OK.

In the MAP LabelPro dialog box, the Rules drop-down list now displays Small_Park_Rules. The rule is saved in the directory specified in the MAPublisher Preferences.

15. Repeat the same process to setup the second label filter as Large Park. Choose a different font style and label color to help distinguish large parks from small parks.

Hint: Choose the same Style and Rules as Small Park label filter. However, edit the Small_Park_Style to change the font style and label color, then save it as Large_Park_Style.

labelpro_finished2

Execute labeling with MAP LabelPro

16. Make sure that all the layers have been configured appropriately and click the Label button.

The parks are labeled appropriately according to the style and rules defined in MAP LabelPro.

17. Click the MAPublisher Log button on the MAPublisher Toolbar.

labelpro_log

Statistics about how many labels were placed (or not placed) on each layer are displayed in the log. Notice that the first labeling session is also listed.

18. After reviewing the statistics, close the MAPublisher Log dialog box.

results_session2_zoom50

Left: Result with MAP LabelPro license. Right: Result with evaluation license.

information Evaluation users will see scrambled labels on the map.

Copyright © 1995-2020 Avenza Systems. All rights reserved.

 

Last updated: 4/10/2019