[mapserver-users] Is PropertyIsNull supported by MapServer?

Even Rouault even.rouault at mines-paris.org
Wed Apr 30 08:03:18 PDT 2014


Le mercredi 30 avril 2014 16:58:45, geographika a écrit :
> 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/7c97d948645e3c04228e25ba2f533
> 3f0a23fd128 Is this for WFS version 2.0? Is so are there any plans to
> implement PropertyIsNull for older WFS protocols?

I've not tried, but the implementation of PropertyIsNull should also work with 
WFS 1.1.0

> 
> Regards,
> 
> Seth
> 
> --
> web:http://geographika.co.uk
> twitter: @geographika

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html



More information about the MapServer-users mailing list