[Mapserver-users] Class logical expression - date comparison
Vinko Vrsalovic
vinko@cprsig.cl
Wed, 4 Dec 2002 14:59:10 -0500
On Wed, Dec 04, 2002 at 05:48:07PM -0000, Nelson Luna Silvestre wrote:
> Ok, ok... Maybe I didn't explained me right.
>
> My goal is to do a numeric/date comparison in a date field.
> "('[DATE]'='01-01-2001')" evaluates the same way as
> "('[DATE]'eq'01-01-2001')".
> The problem is not being able to get a valid result from
> "('[DATE]'>'01-01-2001')"
I'm not sure if there's an easy way to do it through Mapserver accessing
shapefiles. You could try PostGIS and use a real date datatype, then you
can use standard SQL queries that support dates.
--
Vinko Vrsalovic <el[|-@-|]vinko.cl>
http://www.cprsig.cl
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users