[mapserver-users] PropertyIsLike in combination with AND doesn't work (progress issue 3064)

Huizer, G.J. G.Huizer at gw.rotterdam.nl
Wed Aug 4 07:01:28 EDT 2010


Hi Bart,

Thanks for the quick reply. We're working on Windows Server 2003 and are
using the ms4w binaries (with Mapserver 5.6.4).

When I look through the ticket I can find that it was fixed in the trunk
with ticket 2720, but that it wasn't fixed in the 5.6 branch (that whole
trunk and branch work is a bit hazy to me).

My tests suggests that the problem is still there in my version of
Mapserver. For example:

This is the filter portion of the SLD:

          <Filter>
            <Or>
              <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
                <PropertyName>LOC_ZK</PropertyName>
                <Literal>*WERELD*</Literal>
              </PropertyIsLike>
              <PropertyIsLike wildcard='*' singleChar='.' escape='!'>
                <PropertyName>LOC_ZK</PropertyName>
                <Literal>*DAGEN*</Literal>
              </PropertyIsLike>
            </Or>
          </Filter>

And here's class part from the mapfile created by mapserver:

    CLASS
      NAME "class1"
      EXPRESSION /.*DAGEN.*/
      STYLE
        ANGLE 360
        COLOR 0 0 255
        SYMBOL 0
        WIDTH 1
      END
      STYLE
        ANGLE 360
        OUTLINECOLOR 255 0 0
        SYMBOL 0
        WIDTH 1
      END
    END

Any help would be appreciated.

Cheers,

Geert


-----Oorspronkelijk bericht-----
Van: Bart van den Eijnden (OSGIS) [mailto:bartvde at osgis.nl] 
Verzonden: woensdag 4 augustus 2010 11:07
Aan: Huizer, G.J. 
CC: mapserver-users at lists.osgeo.org
Onderwerp: Re: [mapserver-users] PropertyIsLike in combination with AND
doesn't work (progress issue 3064)


Hi Geert,

as you can read in the bug report it was fixed in trunk as part of
ticket 2720, so it should be working on trunk (since 6 months already).

Which platform are you on? What type of binaries are you using?

Best regards,
Bart

> hi list,
>
> As a Mapserver user I noticed that Mapserver does not accept a filter
> query where PropertyIsLike and AND are combined. In the issue tracker 
> I read that this is a known issue (#3064). In the issue tracker I saw 
> that there is a patch available, but that still some testing needs to 
> be done on this patch. As I'm no programmer, unfortunately I can not 
> perform the tests myself.
>
> Has anyone any knowledge if and when this patch will be available in
> Mapserver?
>
> Cheers,
>
> Geert
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
bartvde at osgis.nl



More information about the mapserver-users mailing list