Hi all,
I am a GeoServer user. The GeoServer is hosting a PostGIS-based WFS and I
am trying the create a query containing a PropertyIsLike predicate with
matchCase=false.
Unfortunately org.geotools.filter.v1_0.OGCPropertyIsLikeTypeBinding#parse
fails with a ClassCastException in line 101: It expects the value of the
corresponding node to be a Boolean, but it is a String instead.
I can offer to fix this issue. But I wonder what the actual problem is:
Maybe the cast to Boolean wrong? In this case the
OGCPropertyIsLikeTypeBinding should just convert the String itself. Or is
there anything else (any binding configuration or the like) which has to be
adjusted, so that the corresponding node value is already of type Boolean
here.
There are some issues regarding similar topics:
- GEOT-2603: For my understanding this issue addresses the encoding,
instead of parsing.
- GEOT-2396: Someone tries to convert the values using strToUpperCase.
Although this issue is fixed, it doesnt work for me either.
Are there any other workaround to be able to perform a like ignoring cases?
Best regards,
Andreas
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel