[udig-devel] Filter Styling
Jesse Eichar
jeichar at refractions.net
Wed Aug 22 09:16:15 PDT 2007
Hi I think there is a Regular expression that you can create some how
as well. Oh right it is the Like filter.
Jesse
On Aug 22, 2007, at 6:13 AM, Andy Cox wrote:
> Hello,
>
> I have come across an interesting "feature" in that if you try and
> style a
> layer based on a filter e.g.
>
> CompareFilter compareFilter =
> filterFactory.createCompareFilter(Filter.COMPARE_EQUALS);
>
> compareFilter.addLeftValue(filterFactory.createAttributeExpression
> ("name"));
> compareFilter.addRightValue(filterFactory.createLiteralExpression
> ("Point1"))
> ;
>
> Then the case of the field name and the attribute value must match
> exactly
> with what appears in the table. This makes it difficult to create
> generic
> renders as you always need to know the case of the field name and
> attributes
> before hand.
>
> Is this correct or am I doing something wrong?
>
> Thanks
> Andy
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list