date filters

Eijnden, B. van den (Bart) b.vdeijnden at AGI.RWS.MINVENW.NL
Thu Apr 6 08:35:14 EDT 2006


Hi list,

I am having no luck with trying to apply a date filter to a LAYER, normal
string filters work fine. It's a shapefile which has a dbf with a column of
type date. Values in there are e.g. (12 april 2005):

12-4-2005

The filter I am currently trying is:

FILTER ( '[EINDDATUM]' ge '2005-07' )

But this also select things like in april 2005.

What am I doing wrong? Thanks in advance. I am using 4.8.1 PHP/Mapscript on
RHE Linux.

Best regards,
Bart


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the mapserver-users mailing list