Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of RFC 64 - Parser Overhaul #3613

Closed
mapserver-bot opened this issue Apr 3, 2012 · 14 comments
Closed

Implementation of RFC 64 - Parser Overhaul #3613

mapserver-bot opened this issue Apr 3, 2012 · 14 comments
Assignees
Labels

Comments

@mapserver-bot
Copy link

Reporter: sdlime
Date: 2010/11/22 - 06:57
Trac URL: http://trac.osgeo.org/mapserver/ticket/3613
This is a ticket to track the implementation of RFC 64, a major overhaul of the MapServer expression parser.

Steve

@mapserver-bot
Copy link
Author

Author: sdlime
Date: 2010/12/10 - 07:15
Initial merge done with d32e203 (r10792). Assefa needs to merge his WXS modifications and I still have the following tasks:

  • context expressions (e.g. requires/labelrequires)
  • raster expressions
  • GEOMTRANSFORM writing

Steve

@mapserver-bot
Copy link
Author

Author: sdlime
Date: 2010/12/10 - 07:17
FYI... ba41ac8 (r10793) contains a couple of file changes I missed with d32e203 (r10792).

@mapserver-bot
Copy link
Author

Author: sdlime
Date: 2011/01/03 - 06:56
Nuts, I forgot to merge the query changes (new method) with that original batch. 70e32f0 (r10827) and 2d3356f (r10828) contain those changes. Basically this adds msQueryByFilter() to mapquery.c and exposes it (mostly for testing) via SWIG MapScript as queryByFilter for map and layer objects.

Steve

@mapserver-bot
Copy link
Author

Author: assefa
Date: 2011/01/26 - 20:32
merge for the filter encoding done on ef869a4 (r10916) and 378200a (r10917)

@mapserver-bot
Copy link
Author

Author: assefa
Date: 2011/01/26 - 20:50
Steve,

what operators should I use for case insensitve filter requests for Equal and isLike?
I use now == for PropertyIsEqualTo and ~* for PropertyIsLike

Thx

@mapserver-bot
Copy link
Author

Author: sdlime
Date: 2011/01/26 - 23:47
Replying to [comment:7 assefa]:

Steve,

what operators should I use for case insensitve filter requests for Equal and isLike?
I use now == for PropertyIsEqualTo and ~* for PropertyIsLike

Thx

For use =* for is PropertyIsEqualTo and ~* PropertyIsLike. The * signals the case-insensitive comparison. Note the ~ is a regex operator... Make sense?

Steve

@mapserver-bot
Copy link
Author

Author: assefa
Date: 2011/01/27 - 16:33
Steve I am not I understand since my tests do not work for PropertyIsLike case sensitive

PropertyIsEqualTo works as expected with the following settings:

"[Attribue]" =* "value"  /*for case insenstive*/
"[Attribue]" == "value"  /*for case senstive*/

For PropertyIsLike I tried to set the filters like this

"[Attribue]" ~* "value-regex"  /*for case insensitive*/: works
"[Attribue]" =~ "value-regex"  /*for case sensitive*/ : does not work

Note that the by "value-regex", I mean that things like wild card '*', ... are included in it.
What is the operator I need to use for case sensitive?

@mapserver-bot
Copy link
Author

Author: sdlime
Date: 2011/01/27 - 17:29
Use =, ~ to do case sensitive (== works but is deprecated in my mind). Use =_, ~_ to do case insensitive.

Steve

@mapserver-bot
Copy link
Author

Author: assefa
Date: 2011/01/27 - 17:48
Thanks. It works. committed in d8f3cf3 (r10918)

@mapserver-bot
Copy link
Author

Author: sdlime
Date: 2011/02/15 - 15:05
Moving this to documentation. Need to figure out how best to do that... -Steve

@mapserver-bot
Copy link
Author

Author: havatv
Date: 2011/08/04 - 20:16
I have been doing some updates to the expression document, and also to related documents (in MapServer/MapServer-documentation@d6a1293 (r11858), MapServer/MapServer-documentation@4e5fd3e (r11889), MapServer/MapServer-documentation@747bfd3 (r11895), MapServer/MapServer-documentation@f33eba3 (r11973), MapServer/MapServer-documentation@e56830e (r11974)). It would be good if Steve could have a look and say what remains to be done before we can close this ticket.

@havatv
Copy link

havatv commented Nov 23, 2012

@sdlime , could you check if the documentation is OK, and then close the issue or provide instructions.

mkofahl pushed a commit to faegi/mapserver that referenced this issue Apr 9, 2013
@jratike80
Copy link

"@sdlime , could you check if the documentation is OK, and then close the issue or provide instructions."

@sdlime
Copy link
Member

sdlime commented Oct 3, 2022

Closing. Any new issues would have manifested themselves in specific tickets.

@sdlime sdlime closed this as completed Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants