#972 closed defect (fixed)
Class expressions don't work in 4.2.4
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | highest | Milestone: | 4.2 release |
Component: | MapServer CGI | Version: | 4.2 |
Severity: | major | Keywords: | |
Cc: | sgillies@… |
Description
Class expressions in 4.2.4 are broken. In 4.2.4 everything gets assigned to the first class, whatever the expression. However, simple expressions, with a CLASSITEM and a string or a regex, are correct in both versions. Attached gifs show Dutch municipalities with administrative numbers (variable GEM_NUM) below 500 in red and above in green for 4.2.3 (working) and 4.2.4 (all red). layer name municipalities type polygon status default data "municipalities.shp" class expression([GEM_NUM] < 500) color 255 0 0 outlinecolor 0 0 0 end class expression([GEM_NUM] >= 500) color 0 255 0 outlinecolor 0 0 0 end end Jan
Attachments (3)
Change History (5)
by , 20 years ago
Attachment: | ms4.2.3.gif added |
---|
comment:1 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This seems to have been a 4.2.4 problem. The 4.3 CVS version, as of oct 19 2004, doesn't seem to have it any more. The 4.2.4 bug has been confirmed by Mike Jackson in: http://lists.umn.edu/cgi-bin/wa?A2=ind0410&L=mapserver-users&T=0&O=D&X=7D35330D95ED1AACB7
comment:2 by , 20 years ago
Cc: | added |
---|---|
dependson: | → 974 |
Milestone: | → 4.2 release |
Priority: | high → highest |
Version: | unspecified → 4.2 |
This is a duplicate of 974, which is fixed. Will you please check out the attached maputil.c in bug 974 and confirm?
Note:
See TracTickets
for help on using tickets.
working expression in 4.2.3