Opened 16 years ago
Last modified 13 years ago
#2730 new defect
Filter encoding : matchCase with WMS requests using PropertyIsEqualTo or PropertyIsLike (with a tab file)
Reported by: | elzouavo | Owned by: | assefa |
---|---|---|---|
Priority: | normal | Milestone: | 6.2 release |
Component: | WMS Server | Version: | 5.2 |
Severity: | blocker | Keywords: | |
Cc: | dmorissette |
Description
I have a mapfile referencing a tab file (representing some french cities). I try to select a city called "milla". In the tab file the data is : "Milla". I use mapserver 5.2 from ms4w.
The WMS request with PropertyIsEqualTo and mathCase="false" works fine :
But I need to use filter with PropertyIsLike. WMS requests with PropertyIsLike and matchCase="false" doesn't work :
Change History (6)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Cc: | added |
---|---|
Milestone: | → 5.4 release |
Owner: | changed from | to
comment:3 by , 14 years ago
Milestone: | 5.6 release → 6.0 release |
---|
comment:4 by , 13 years ago
Milestone: | 6.0 release → 6.2 release |
---|
I am not sure if this happen with 6.0. If that is the case, could you please attach a test case data/map that I can use to test/reproduce/fix? Thx
comment:6 by , 13 years ago
Note:
See TracTickets
for help on using tickets.
PropertyIsLike with matchCase works with WFS requests on MapServer 5.2. The following request (using "al#nia" returns one object : "Alénya". http://localhost/cgi-bin/mapserv.exe?map=C:\mapfiles\casse_couche_locale.i2.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=c_COMMUNE&FILTER=(%3CFilter%3E%3CAnd%3E%3CPropertyIsLike%20wildCard%3D%22*%22%20singleChar%3D%22%23%22%20escapeChar%3D%22!%22%20escape%3D%22!%22%20matchCase=%22false%22%3E%3CPropertyName%3ENOM_COM%3C/PropertyName%3E%3CLiteral%3E*al%23nya*%3C/Literal%3E%3C/PropertyIsLike%3E%3CBBOX%3E%3CPropertyName%3EmsGeometry%3C/PropertyName%3E%3CBox+srsName=%22EPSG:27582%22%3E%3Ccoordinates%3E549532,1703258+669196,1768513%3C/coordinates%3E%3C/Box%3E%3C/BBOX%3E%3C/And%3E%3C/Filter%3E)
It would be fine to have the same behavior with WMS requests.