Hi, OGR changed the syntax. I had the same issue in the TimeManager plugin. See the discussion on http://trac.osgeo.org/gdal/ticket/5507
Best wishes, Anita On Wed, Jul 16, 2014 at 8:22 AM, Zoltan Szecsei <[email protected]> wrote: > > Hi, > > On 2014/07/16 06:00, Mark Coletti wrote: > > 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" > > Try double quotes for "Fields" and single quotes for 'values' > > Regards, > Zoltan > > > 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 > -- > [email protected] > > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > > > > -- > > =========================================== > Zoltan Szecsei PrGISc [PGP0031] > Geograph (Pty) Ltd. > GIS and Photogrammetric Services > > P.O. Box 7, Muizenberg 7950, South Africa. > > Mobile: +27-83-6004028 > Fax: +27-86-6115323 www.geograph.co.za > =========================================== > > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
