<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
in an older MapServer version (4.10.0) it is possible to use a very
long
Expression or Filter statement.<br>
<br>
Like this one with over 1000 comma separated values:<br>
<br>
EXPRESSION ('[NR]' IN 'ID1,ID2,.................,ID1100')<br>
<br>
This works fine:<br>
<img alt="mapserver_4.png" src="cid:part1.01020907.06030404@widemann.de"
height="501" width="577"><br>
With newer MapServer versions (whether cgi (expression in mapfile) or
phpmapscript (expression set with setExpression)) like 5.2.1 or 5.6.0
beta3 only o small part of the polygons appears:<br>
<img alt="mapserver_5.png" src="cid:part2.05060104.06060105@widemann.de"
height="236" width="360"><br>
<br>
So is there a limit on expression statement since version 5?<br>
There are no errors in the log-file with debug set to 5.<br>
<br>
This is my layer definition:<br>
<br>
LAYER<br>
DATA "shapes/fs.shp"<br>
NAME "FS"<br>
STATUS ON<br>
TYPE POLYGON<br>
CLASS<br>
NAME "FS"<br>
EXPRESSION ('[NR]' IN
'ID1,ID2,.............................,ID1100') # <-- of course
without the points ;)<br>
STYLE<br>
COLOR 255 255 200<br>
OUTLINECOLOR 0 0 0<br>
END<br>
END<br>
END<br>
<br>
Thanks for any hint.<br>
<br>
Rafael<br>
<br>
PS: It is not possible to classify on attributes. <br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>