mapserver/mapserver — pull request #4781 by tbonfort (2013-10-04 18:33:25+00:00)
Title: MAXSCALEDENOM & MAXSCALEDENOM throw an error if in LABEL

In the last trunk.
If add a MINSCALEDENOM and MAXSCALEDENOM inside a LABEL . Mapserver crash but without give any message log.

I tested it with this:

LAYER
NAME "test1"
TYPE LINE
STATUS OFF
EXTENT 1660351.00 4458445.22 1866743.13 4960849.91
FEATURE
WKT "LINESTRING(1662120.546188 4858603.677291, 1662738.746295 4858875.082216, 1663854.522097 4858618.755342, 1664779.309249 4858638.85941)"
END #FEATURE
METADATA
"wms_title" "Test"
"ows_enable_request" "*"
END
LABELCACHE on
MINSCALEDENOM 1
MAXSCALEDENOM 4000000
CLASS
STYLE
COLOR 200 0 0
OUTLINECOLOR 0 255 0
END
LABEL
TEXT 'BLAH BLAH'
COLOR 0 85 255
OUTLINECOLOR 212 0 0
OUTLINEWIDTH 2
MINSCALEDENOM 1
MAXSCALEDENOM 40000
FONT "LiberationSans-Regular"
TYPE truetype
SIZE 9
ANGLE FOLLOW
OFFSET 15 99
POSITION auto
PRIORITY 10
MAXOVERLAPANGLE 180.0
BUFFER 1
FORCE OFF
PARTIALS FALSE
MINDISTANCE 200
END
END #CLASS
END