<font size=2 face="sans-serif">Thanks for your help, here is the log</font>
<br><font size=2 face="sans-serif">Steve</font>
<br><font size=3> ul 22 08:14:09 2015].892715 msOracleSpatialLayerWhichShapes.
Bind values: srid:4326 minx:-91.320741 miny:41.948470 maxx:-45.679259 maxy:63.664769</font>
<br><font size=3>[Wed Jul 22 08:14:09 2015].894113 msOracleSpatialLayerWhichShapes
bind by name and object.</font>
<br><font size=3>[Wed Jul 22 08:14:09 2015].894134 msOracleSpatialLayerWhichShapes
name and object now bound.</font>
<br><font size=3>[Wed Jul 22 08:14:10 2015].77889 mapserv request processing
time (msLoadMap not incl.): 0.203s</font>
<br><font size=3>[Wed Jul 22 08:14:10 2015].77903 msOracleSpatialLayerClose
was called. Layer: 0x1308650, Layer name: SMDVDP_STAT_METE</font>
<br><font size=3>[Wed Jul 22 08:14:10 2015].78084 msConnPoolRelease(SMDVDP_STAT_METE,USER/*************@DATABASE:1521/DEV.fadq.qc,0x1481850)</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].200042 CGI Request 38 on process
14430</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].200197 msOracleSpatialLayerOpen
called with: GEOM_POIN from (select * FROM SMDVDP_STAT_METE WHERE EXTRACT(YEAR
FROM D_DEB) = 2015) USING SRID 4326 (Layer pointer 0x142bbe0)</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].200215 msConnPoolRequest(SMDVDP_STAT_METE,USER/*************@DATABASE:1521/DEV.fadq.qc)
-> got 0x1481850</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].208656 msOracleSpatialLayerFreeItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].208676 msOracleSpatialLayerGetItems
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].209323 msOracleSpatialLayerInitItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].209369 msOracleSpatialLayerFreeItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].209374 msOracleSpatialLayerClose
was called. Layer: 0x142bbe0, Layer name: SMDVDP_STAT_METE</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].209396 msConnPoolRelease(SMDVDP_STAT_METE,USER/*************@DATABASE:1521/DEV.fadq.qc,0x1481850)</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].210875 msOracleSpatialLayerOpen
called with: GEOM_POIN from (select * FROM SMDVDP_STAT_METE WHERE EXTRACT(YEAR
FROM D_DEB) = 2015) USING SRID 4326 (Layer pointer 0x142bbe0)</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].210889 msConnPoolRequest(SMDVDP_STAT_METE,USER/*************@DATABASE:1521/DEV.fadq.qc)
-> got 0x1481850</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].218325 msOracleSpatialLayerOpen
called with: GEOM_POIN from (select * FROM SMDVDP_STAT_METE WHERE EXTRACT(YEAR
FROM D_DEB) = 2015) USING SRID 4326 (Layer pointer 0x142bbe0)</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].218345 msOracleSpatialLayerFreeItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].218354 msOracleSpatialLayerGetItems
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].218946 msOracleSpatialLayerInitItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].218980 msOracleSpatialLayerFreeItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].218985 msOracleSpatialLayerClose
was called. Layer: 0x142bbe0, Layer name: SMDVDP_STAT_METE</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].219003 msConnPoolRelease(SMDVDP_STAT_METE,USER/*************@DATABASE:1521/DEV.fadq.qc,0x1481850)</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].219010 msOracleSpatialLayerOpen
called with: GEOM_POIN from (select * FROM SMDVDP_STAT_METE WHERE EXTRACT(YEAR
FROM D_DEB) = 2015) USING SRID 4326 (Layer pointer 0x142bbe0)</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].219018 msConnPoolRequest(SMDVDP_STAT_METE,USER/*************@DATABASE:1521/DEV.fadq.qc)
-> got 0x1481850</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].225298 msOracleSpatialLayerEnablePaging
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].225318 msOracleSpatialLayerFreeItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].225328 msOracleSpatialLayerFreeItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].225334 msOracleSpatialLayerGetItems
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].225868 msOracleSpatialLayerInitItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].225892 msOracleSpatialLayerInitItemInfo
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].226421 msOracleSpatialLayerTranslateFilter.
String: ("[NOM_STAT]" =*"Anto")</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].226429 msOracleSpatialLayerTranslateFilter.
There are tokens to process</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].226435 got a IEQ comparison</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].226440 closing RE comparison</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].226444 msOracleSpatialLayerWhichShapes
was called.</font>
<br><font size=3>[Wed Jul 22 08:14:30 2015].226470 msOracleSpatialLayerWhichShapes.
Us</font>
<p>
<p>
<br>
<br>
<br>
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=40% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif"><b>Michael
Smith <michael.smith.erdc@gmail.com></b> </font>
<p><font size=1 face="sans-serif">2015-07-21 11:24</font>
<td width=59% style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<table width=100% style="border-collapse:collapse;">
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">A</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif"><Steve.Toutant@inspq.qc.ca>,
<mapserver-users@lists.osgeo.org></font>
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr valign=top height=21>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><font size=1 face="sans-serif">Re:
[mapserver-users] ogc:PropertyIsEqualTo behaves like PropertyIsLike with
oracle</font></table>
<br>
<table width=393 style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=57 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=336 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Steve,</font>
<br>
<br><font size=2 face="sans-serif">When a case insensitive exact match
is used, the code should use a regexp_like constructor in Oracle
with the case insensitive flag and an exact pattern.</font>
<br>
<br><font size=2 face="sans-serif">Can you do DEBUG 3 and show the log?</font>
<br>
<br><font size=2 face="sans-serif">Mike</font>
<br>
<br><font size=2 face="sans-serif">-- </font>
<br><font size=2 face="sans-serif">Michael Smith</font>
<br><font size=2 face="sans-serif">Remote Sensing/GIS Center</font>
<br><font size=2 face="sans-serif">US Army Corps of Engineers</font>
<br>
<br><font size=2><b>From: </b><</font><a href="mailto:mapserver-users-bounces@lists.osgeo.org"><font size=2 color=blue><u>mapserver-users-bounces@lists.osgeo.org</u></font></a><font size=2>>
on behalf of <</font><a href=mailto:Steve.Toutant@inspq.qc.ca><font size=2 color=blue><u>Steve.Toutant@inspq.qc.ca</u></font></a><font size=2>><b><br>
Date: </b>Tuesday, July 21, 2015 at 10:07 AM<b><br>
To: </b><</font><a href="mailto:mapserver-users@lists.osgeo.org"><font size=2 color=blue><u>mapserver-users@lists.osgeo.org</u></font></a><font size=2>><b><br>
Subject: </b>[mapserver-users] ogc:PropertyIsEqualTo behaves like PropertyIsLike
with oracle</font>
<br>
<br><font size=2 face="sans-serif">Hi,<br>
Using MS7+oracle, I apply a wfs filter </font><font size=3 face="sans-serif">PropertyIsEqualTo</font><font size=2 face="sans-serif">
on a layer attribute (string) with a truncated string, so it should returns
0 features, but it returns 1 feature.<br>
The complete value is "Antonin". I apply the filter using "Anto"</font><font size=2 face="sans-serif"><br>
<br>
</font><font size=2 face="sans-serif"><br>
MS7+Postgis</font><font size=3 face="sans-serif"><br>
<wfs:Query typeName="feature:SMDVDP_STAT_METE" srsName="EPSG:3857"><ogc:Filter
xmlns:ogc="</font><a href=http://www.opengis.net/ogc><font size=3 color=blue face="sans-serif"><u>http://www.opengis.net/ogc</u></font></a><font size=3 face="sans-serif">"><ogc:PropertyIsEqualTo
matchCase="false"><ogc:PropertyName>NOM_STAT</ogc:PropertyName><ogc:Literal><b>Anto</b></ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter></wfs:Query><br>
numberOfFeatures="0" , that is ok.<br>
Ms log: </font><tt><font size=2>FLTLayerApplyPlainFilterToLayer(): ("[NOM_STAT]"
=*"Anto")</font></tt><font size=2 face="sans-serif"><br>
</font><font size=2 face="sans-serif"><br>
Ms7+Oracle</font><font size=3 face="sans-serif"><br>
<wfs:Query typeName="feature:SMDVDP_STAT_METE" srsName="EPSG:32198"><ogc:Filter
xmlns:ogc="</font><a href=http://www.opengis.net/ogc><font size=3 color=blue face="sans-serif"><u>http://www.opengis.net/ogc</u></font></a><font size=3 face="sans-serif">"><ogc:PropertyIsEqualTo
matchCase="false"><ogc:PropertyName>NOM_STAT</ogc:PropertyName><ogc:Literal><b>Anto</b></ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter></wfs:Query><br>
numberOfFeatures="1" , BAD<br>
Mslog: msOracleSpatialLayerTranslateFilter. String: ("[NOM_STAT]"
=*"Anto") </font><font size=2 face="sans-serif"><br>
</font><font size=3 face="sans-serif"><br>
Is the problem MS o oracle? Should I open a Ms bug?<br>
Regards!</font>
<p><font size=2 face="sans-serif">_______________________________________________
mapserver-users mailing list </font><a href="mailto:mapserver-users@lists.osgeo.org"><font size=2 color=blue face="sans-serif"><u>mapserver-users@lists.osgeo.org</u></font></a><font size=2 face="sans-serif">
</font><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"><font size=2 color=blue face="sans-serif"><u>http://lists.osgeo.org/mailman/listinfo/mapserver-users</u></font></a>
<br>
<br>
<br>