[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 04:56:32 PDT 2010


Hi Bart,

Thanks for your quick reply (again) :-D...

Shame to see that our problem isn't fixed yet, but good to know that it
will (Mapserver 5.7 or 6.0 or something).

I'll check out the website. Maybe they can help us!

Thanks again!

Best regards,

Geert


-----Oorspronkelijk bericht-----
Van: Bart van den Eijnden (OSGIS) [mailto:bartvde at osgis.nl] 
Verzonden: woensdag 4 augustus 2010 13:10
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,

true, it was not fixed in the 5.6 branch, so the only way to get this
fix is to use trunk (also known as Mapserver 5.7 unstable).

Gateway Geomatics provides customized Windows builds as a (paid)
service, so maybe they can help you to either get a patched 5.6 binary
or a current trunk binary (I would advise the last option since after
5.6 a lot of things were still fixed wrt SLD and Filter support).

http://www.gatewaygeomatics.com/

Best regards,
Bart

> 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
>
>


-- 
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