[mapserver-users] WFS GetFeature 1.0.0 vs 1.1.0

Martin Kofahl martin.kofahl at gmail.com
Tue Feb 18 23:57:47 PST 2014


Hi Dejan,
can you please post the get or post request made by openlayers for both,
version 1.1.0 and 1.0.0?

Martin


2014-02-18 11:37 GMT+01:00 Dejan Gambin <dejan.gambin at coin.hr>:

> 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
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140219/829b1d89/attachment.html>


More information about the mapserver-users mailing list