Download MAPublisher 8.3 User Guide

Transcript
Examples of Basic Expressions
APPLY EXPRESSION
Expression
Result
“Ontario” (applied to column = NAME)
All items are assigned the value “Ontario” in the NAME column.
“MAP Area 01” (applied to column = #Style)
All area items are assigned the value “MAP Area 01” in the #Style column
and are assigned the Graphic Style “MAP Area 01” on the page.
45 (applied to column = #Rotation)
All point items are assigned the value 45 in the #Rotation column and are
rotated to 45° on the page.
MAP SELECTIONS
Expression
Result
NAME = “Ontario”
All items with the value “Ontario” in the NAME column are selected.
POPULATION < 1000000
All items with values less than one million in the POPULATION column are
selected.
NAME = “Ontario” OR NAME = “Alberta”
All items with the value “Ontario” OR “Alberta” in the NAME column are
selected.
NAME = “Ontario” AND POPULATION < 1000000
Only the items containing the value “Ontario” in the NAME column AND
values less than one million in the POPULATION column are selected.
MAP STYLESHEET
Expression
Result
NAME = “Ontario”
All items with the value “Ontario” in the NAME column are assigned the
selected style.
POPULATION < 1000000
All items with values less than one million in the POPULATION column are
assigned the selected style.
NAME = “Ontario” OR NAME = “Alberta”
All items with the value “Ontario” OR “Alberta” in the NAME column are
assigned the selected style.
NAME = “Ontario” AND POPULATION < 1000000
Only items containing the value “Ontario” in the NAME column AND
values less than one million in the POPULATION column are assigned the
selected style.
86
Chapter 5: MAP Attributes
Expression Builder