[mapserver-commits] [MapServer/MapServer] 751fdd: Allow <> to be used as a logical operator in expre...

Seth G noreply at github.com
Thu Nov 28 08:35:50 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 751fdde6212db8e449069b226f9742b62b88ea5a
      https://github.com/MapServer/MapServer/commit/751fdde6212db8e449069b226f9742b62b88ea5a
  Author: Seth G <sethg at geographika.co.uk>
  Date:   2024-11-28 (Thu, 28 Nov 2024)

  Changed paths:
    A msautotest/query/expected/expressions_test011.txt
    A msautotest/query/expected/expressions_test012.txt
    M msautotest/query/expressions.map
    A msautotest/wxs/expected/wms_getstyles_expressions26.xml
    A msautotest/wxs/expected/wms_getstyles_expressions27.xml
    A msautotest/wxs/expected/wms_getstyles_expressions28.xml
    A msautotest/wxs/expected/wms_getstyles_expressions29.xml
    A msautotest/wxs/expected/wms_getstyles_expressions30.xml
    A msautotest/wxs/expected/wms_getstyles_expressions31.xml
    M msautotest/wxs/wms_styles_expressions.map
    M src/maplexer.c
    M src/maplexer.l
    M src/mapogcsld.cpp

  Log Message:
  -----------
  Allow <> to be used as a logical operator in expressions (#7182)

This pull request allows <> to be used for "not equal to" logical expressions, along with the already supported ne and !=. Fixes #6950.

When creating SLD filters expressions are created by checking values in strings, so modifications have been added to mapogcsld.cpp have been made to support these. There are still issues around this approach for creating SLD filters as noted in #7178.



To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications


More information about the MapServer-commits mailing list