[mapserver-users] Is PropertyIsNull supported by MapServer?

geographika geographika at gmail.com
Wed Apr 30 07:58:45 PDT 2014


Hello again!

I'm trying to allow for any records with a NULL property to be returned 
via a WFS 1.1 GetFeature request.
OpenLayers has a OpenLayers.Filter.Comparison.IS_NULL filter that 
produces XML such as:

             <ogc:PropertyIsNull>
               <ogc:PropertyName>
                 YEAR
               </ogc:PropertyName>
             </ogc:PropertyIsNull>

MapServer (6.4) however doesn't support it, and logs the following 
error: msWFSGetFeature(): WFS server error. Invalid or Unsupported 
FILTER in GetFeature
Looking at the page http://mapserver.org/ogc/filter_encoding.html page 
it seems all 8 tests fail for this filter:

     1.3.4.10    GetFeature PropertyIsNull filter

And in the notes below "Test number 1.3.4.10: This property is not 
supported in MapServer."
However several recent commits seem to reference this filter e.g. 
https://github.com/mapserver/mapserver/commit/7c97d948645e3c04228e25ba2f5333f0a23fd128
Is this for WFS version 2.0? Is so are there any plans to implement 
PropertyIsNull for older WFS protocols?

Regards,

Seth

--
web:http://geographika.co.uk
twitter: @geographika










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140430/367c4620/attachment.htm>


More information about the MapServer-users mailing list