[Qgis-user] How to filter features by date
Mark Coletti
mcoletti at gmail.com
Tue Jul 15 21:00:38 PDT 2014
I have an attribute type of "QDate" and I wish to filter out features that
are older than a given date. However I cannot seem to come up with the
right magical incantation in the qgis filter to do so.
I do the following:
1. right-click on the vector layer and select "Filter ..."; the Query
Builder dialog appears
2. In the expression field I write:
"SampleTime" <= "2011/07/01"
For which I get the following error:
An error occurred when executing the query.
The data provider said:
OGR[3] error 1: Type mismatch or improper type of arguments to <= operator.
So how do I get this to work?
Thanks!
Mark
--
mcoletti at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140716/4dc97e87/attachment.html>
More information about the Qgis-user
mailing list