Filters are passed to the underlying driver and use the syntax of that driver if supported, otherwise they use MapServer expression syntax . Class expressions use the MapServer expression syntax only. There's actually very little reason to use FILTERs when using an RDMS driver, just add it to the DATA statement.
Steve ________________________________________ From: [email protected] [[email protected]] on behalf of codelf [[email protected]] Sent: Monday, January 21, 2013 1:24 PM To: [email protected] Subject: Re: [mapserver-users] Comparaison date Hi! Same problem here. I use this one : DATEDIFF(DD,[DAT_MEASURE],GETDATE()) < 90 In the mapfile, it works in FILTER but not in EXPRESIONN inside a CLASS... Any idea? Thx -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Comparaison-date-tp4336613p5028807.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
