Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Also see XMLConfigReference for descriptions of these elements within the xml mapfile.
Named styles, each layer can reference 0...N styles.
Order is important -- as in the 'painter model' or Painter's algorithm to be specific. Layers that are declared first in your XML file, or added programmatically through Layer::add_style are drawn first. Layers that are declared or added later are drawn last.
Each style can have 0...N rules. Rules can have min/max scale denominators <someone explain min/max denom here!> and filter expressions.
Syntax for filter expressions is very simple, you enclose variables (evaluated at runtime) in square brackets:
- Logical operators:
- Regular expression matching:
See Filter for more details (especially regarding how this is different for XML).
Symbolizers describe how features appear on a map.