From f9fd6dc499c69d245a67e2c806b7a0d717543f5f Mon Sep 17 00:00:00 2001 From: sethg Date: Thu, 12 Sep 2019 12:16:36 +0200 Subject: [PATCH] Fix EXPRESSION indentation and add RUNSUB note for relevant attributes --- en/mapfile/class.txt | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/en/mapfile/class.txt b/en/mapfile/class.txt index c746dae8eda..c1bf7467f06 100644 --- a/en/mapfile/class.txt +++ b/en/mapfile/class.txt @@ -70,17 +70,20 @@ EXPRESSION [string] =, or, and, lt, gt, ge, le, eq, ne, in, ~, ~\*. As one might expect, this level of complexity is slower to process. - - One string function exists: length(). It computes the length - of a string: + - One string function exists: length(). It computes the length + of a string: - .. code-block:: mapfile + .. code-block:: mapfile - EXPRESSION (length('[NAME_E]') < 8) + EXPRESSION (length('[NAME_E]') < 8) String comparisons and regular expressions work from the classitem defined at the layer level. You may mix expression types within the different classes of a layer. + .. note:: + |RUNSUB| + .. index:: pair: CLASS; GROUP @@ -115,6 +118,8 @@ GROUP [string] ... END # layer + .. note:: + |RUNSUB| .. index:: pair: CLASS; KEYIMAGE @@ -125,7 +130,10 @@ KEYIMAGE [filename] Full filename of the legend image for the :ref:`CLASS`. This image is used when building a legend (or requesting a legend icon via MapScript or the :ref:`CGI application `). - + + .. note:: + |RUNSUB| + .. index:: pair: CLASS; LABEL @@ -244,7 +252,10 @@ STATUS [on|off] :ref:`TEMPLATE