Hello
I have defined a filter like this
new OpenLayers.Filter.Comparison({
                            type: OpenLayers.Filter.Comparison.EQUAL_TO,
                            property: "Région_administrative",
                            value: "Centre-du-Québec"
                        })

The query sent is not well encoded (see below and image attached)
..<ogc:PropertyName>R?gion_administrative</ogc:PropertyName><ogc:Literal>Centre-du-Qu?bec

So I get this error
  <ServiceException code="NoApplicableCode" locator="mapserv">
msWFSGetFeature(): WFS server error. FLTApplyFilterToLayer() failed
msPostGISLayerWhichShapes(): Query error. Error executing query: ERROR: 
column &quot;Région_administrative&quot; does not exist
LINE 1: ...cc_v_site_patrimonial_cite_p&#39;,&#39;geom_p&#39;)) and ( ( 
(&quot;Région_a...
  </ServiceException>


Any idea on How can I send a well encoded request?

Attachment: filter_encoding_problem.png
Description: Binary data

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to