[gdal-dev] OGR-SQL and wildcard usage on mapserver fiflter

Andrea Peri aperi2007 at gmail.com
Thu Apr 4 10:57:05 PDT 2013


Hi,

I'm try-ing to apply this kind of filter on a mapserver mapfile on a
gdal/ogr spatialite dataset.

    FILTER "WHERE ID_ING LIKE '%idtpn%'"

and defining

 METADATA
      'default_idtpn' '%'

But I'm having an error with this log.

msOGRFileWhichShapes(): OGR error. SetAttributeFilter(ID_ING LIKE '%')
failed on layer rt_speleologia.idingrotte.rt.

It seem to be a gdal error.

So I like to know if the sintax

.. WHERE ID_ING LIKE '%'

Is acceptable for the OGR SQL dialect.

Thx in advance,


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130404/31913b6c/attachment.html>


More information about the gdal-dev mailing list