[mapserver-users] WFS GetFeature 1.0.0 vs 1.1.0

Dejan Gambin dejan.gambin at coin.hr
Tue Feb 18 02:37:08 PST 2014


Hi,

I have been using MapServer 6.0.3 for a while. My client application worked well with WFS 1.1.0 protocol. Here is the part of the code:

var protocol = new OpenLayers.Protocol.WFS({
                    version: "1.0.0",
                    url:  self.options.config.wfs_url + "SERVICE=WFS&srsName=EPSG:900913",
                    srsName:"EPSG:900913",
                    featureNS: self.options.config.wfs_ns,
                    geometryName: "msGeometry",
                    featurePrefix: "ms",
                    featureType: some_layer,
                    defaultFilter: new OpenLayers.Filter.Comparison({
                        type: OpenLayers.Filter.Comparison.LIKE,
                        property: some_property
                        value: some_value
                    })
                })

Recently I went to MapServer 6.4.1 and I started to get "no results" when using this code to search by attributes. I changed version 1.1.0 to 1.0.0 and everything works fine now. 

Does anyone know what is the reason for this and should I stay on 1.0.0?

Notes - when doing spatial query it works ok even with 1.1.0.

Thanks!

dejan




More information about the MapServer-users mailing list