<font size=2 face="sans-serif">I have a problem using a FILTER in a wfs
getFeature request on an oracle DB with MS7</font>
<br><font size=3>When I launch a getFeature request with a Filter on a
numeric field it doesn't work, </font>
<br><font size=2 color=#2f2f2f face="Arial"><ogc:Filter xmlns:ogc="</font><a href="http://www.google.com/url?q=http%3A%2F%2Fwww.opengis.net%2Fogc&sa=D&sntz=1&usg=AFQjCNFdIY61zl2JxaOjCG6qLg-XmAhvWw" target=_blank><font size=2 color=blue face="Arial"><u>http://www.opengis.net/ogc</u></font></a><font size=2 color=#2f2f2f face="Arial">"><ogc:PropertyIsEqualTo
matchCase="false"><ogc:PropertyName>LONG_STAT</ogc:PropertyName><ogc:Literal>-61</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter></font><font size=3>
</font>
<br><font size=3>here is the error we get in the browser</font>
<br><font size=2 color=#2f2f2f face="Arial"><ows:Exception exceptionCode="NoApplicableCode"
locator="mapserv"><br>
   <ows:ExceptionText>msWFSGetFeature(): WFS server error.
FLTApplyFilterToLayer() failed<br>
msOracleSpatialLayerWhichShapes(): OracleSpatial error. Check your data
statement and server logs</ows:ExceptionText></font><font size=3>
</font>
<br>
<br><font size=3>from mapserver logs</font>
<br><font size=2 color=#2f2f2f face="Arial">[Tue May 12 11:59:10 2015].177992
msOracleSpatialLayerTranslateFilter. String:  ([LONG_STAT] =*-61) </font><font size=3>
</font>
<br>
<br><font size=2 color=#2f2f2f face="Arial">LONG_STAT is a NUMBER</font><font size=3>
</font><font size=2 color=#2f2f2f face="Arial">in the DB</font>
<br><font size=2 face="sans-serif">DescribefeatureType returns</font>
<br><font size=2 color=#2f2f2f face="Arial">       
  <element name="NO_STAT_CLIM" minOccurs="0"
type="string"/><br>
         <element name="NO_STAT_FADQ"
minOccurs="0" type="string"/><br>
         <element name="NOM_STAT"
minOccurs="0" type="string"/><br>
         <element name="LATI_STAT"
minOccurs="0" type="string"/><br>
         <element name="LONG_STAT"
minOccurs="0" type="string"/><br>
         <element name="ALTI_STAT"
minOccurs="0" type="string"/></font><font size=3>
</font>
<br>
<br><font size=3>I tried to add </font><font size=2 face="Monospace">"gml_types"
"auto"</font><font size=3> in the mapfile, but it still returns
string as data type</font>
<br><font size=3>I tried </font><font size=2 color=#2f2f2f face="Arial">"<b>gml_</b>LONG_STAT<b>_type"
= "Integer" in the mapfile</b></font><font size=3>, describeFeatureType
returns "</font><font size=2 color=#2f2f2f face="Arial"><element
name="LONG_STAT" minOccurs="0" type="double"/></font><font size=3>
" but I still get an error in getFeature</font>
<br>
<br><font size=2 face="sans-serif">I'm using </font><font size=2 color=#2f2f2f face="Arial">CONNECTIONTYPE
oraclespatial in the mapfile</font>
<br>
<br><font size=2 color=#2f2f2f face="Arial">I can provide more information....<br>
</font>
<br><font size=2 color=#2f2f2f face="Arial">Is it a known issue or can
I do something about that?</font>
<br>
<br><font size=2 color=#2f2f2f face="Arial">Thank you!</font>