Hi Everyone,
I'm having a problem using a PropertyIsLike OGC Filter in a WFS GetFeature request when the data includes carriage returns and linefeeds. I would expect that the wildcard should capture carriage returns, but that does not appear to be the case unless I'm misunderstanding something. As an example. The following Filter returns the record I am looking for because I explicitly search for the carriage return linefeed: <PropertyIsLike wildCard='%' singleChar='_' escape='\'> <PropertyName>adr_label</PropertyName> <Literal><![CDATA[%1494 Highway 37%\n\r%]]></Literal> </PropertyIsLike> But this Filter does _not_ return the record since I am only including the wildcard character: <PropertyIsLike wildCard='%' singleChar='_' escape='\'> <PropertyName>adr_label</PropertyName> <Literal><![CDATA[%1494 Highway 37%]]></Literal> </PropertyIsLike> First, am I missing something obvious here and going about this wrong? Second, is there an easy way to accomplish this task without chaining a bunch of PropertyIsLikes together in a long <Or>? I appreciate any insight, thanks so much! Matt
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users