[mapserver-dev] OGR attribute filter error is not reported

Tamas Szekeres szekerest at gmail.com
Mon May 8 13:37:25 PDT 2017


Hi Devs,

Actually if we set up an attribute filter with incorrect syntax (ie. by
setting the NATIVE_FILTER processing key for an OGR layer) no error
reporting is done, and the layer remains unfiltered (as if we had no
spatial filtering at all). This is because in mapogr.cpp (line 2587) we
just log this error instead of raising an error message.

Is this the intended behavior?

Thanks,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20170508/5a1a5055/attachment.html>


More information about the mapserver-dev mailing list