Any chance you could create a simple test case showing the problem? The fact it shows some features is puzzling. If it was just a matter of the expression getting truncated then you should see an expression parse error.
Steve >>> Rafael Szajbel <[email protected]> 10/21/2009 6:58 AM >>> Hello, in an older MapServer version (4.10.0) it is possible to use a very long Expression or Filter statement. Like this one with over 1000 comma separated values: EXPRESSION ('[NR]' IN 'ID1,ID2,.................,ID1100') This works fine: 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: So is there a limit on expression statement since version 5? There are no errors in the log-file with debug set to 5. This is my layer definition: LAYER DATA "shapes/fs.shp" NAME "FS" STATUS ON TYPE POLYGON CLASS NAME "FS" EXPRESSION ('[NR]' IN 'ID1,ID2,.............................,ID1100') # <-- of course without the points ;) STYLE COLOR 255 255 200 OUTLINECOLOR 0 0 0 END END END Thanks for any hint. Rafael PS: It is not possible to classify on attributes. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
