<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>When I do this on my system I get</div><div><br></div><div>request: service=WFS&version=2.0.0&request=GetFeature&typeNames=gridws_pointcloud&Filter=<Filter><PropertyIsEqualto%20MatchCase="FALSE"><PropertyName>FILE_NAME</PropertyName><Literal>test2.las</Literal></PropertyIsEqualTo></Filter></div><div><br></div><div><div>[Wed Jul 22 09:26:31 2015].885667 got a IEQ comparison</div><div>[Wed Jul 22 09:26:31 2015].885676 closing RE comparison</div><div>[Wed Jul 22 09:26:31 2015].885681 msOracleSpatialLayerWhichShapes was called.</div><div>[Wed Jul 22 09:26:31 2015].885704 msOracleSpatialLayerWhichShapes. Using this Sql to retrieve the data: SELECT COLLECT_ID, COLLECTION, FILE_NAME, DATE_LOADED, PC_ID, X, Y, FILE_SIZE_MB, COLLECTDATE, DOWNLOAD_URL, SENSOR_NAME, rownum, geom WHERE  ( REGEXP_LIKE( FILE_NAME, 'test2.las','i'  ) )  AND SDO_FILTER( geom, MDSYS.SDO_GEOMETRY(2003, :srid, NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),:ordinates ),'querytype=window') = 'TRUE'</div></div><div><br></div><div>This shows that its translating the PropertyIsEqualTo with MatchCase false to a regexp_like case insensitive query with no wildcards. Not sure why you wouldn't get the same thing.</div><div><br></div><div>Mike</div><div><br></div><div><div><div><div>----</div><div>Michael Smith</div></div><div>US Army Corps</div><div>Remote Sensing GIS/Center</div><div>michael.smith@usace.army.mil</div><div><br></div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> <<a href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a>><br><span style="font-weight:bold">Date: </span> Wednesday, July 22, 2015 at 9:13 AM<br><span style="font-weight:bold">To: </span> Michael Smith <<a href="mailto:michael.smith.erdc@gmail.com">michael.smith.erdc@gmail.com</a>><br><span style="font-weight:bold">Cc: </span> <<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [mapserver-users] ogc:PropertyIsEqualTo behaves like PropertyIsLike with oracle<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><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><p><br><br><br><table width="100%" style="border-collapse:collapse;"><tbody><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 <<a href="mailto:michael.smith.erdc@gmail.com">michael.smith.erdc@gmail.com</a>></b> </font><p><font size="1" face="sans-serif">2015-07-21 11:24</font></p></td><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;"><tbody><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><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"><<a href="mailto:Steve.Toutant@inspq.qc.ca">Steve.Toutant@inspq.qc.ca</a>>,
<<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>></font></td></tr><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><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"></td></tr><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><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></td></tr></tbody></table><br><table width="393" style="border-collapse:collapse;"><tbody><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><td width="336" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"></td></tr></tbody></table><br></td></tr></tbody></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><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></p></blockquote></span></body></html>