Details
-
Type:
Wish
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 8.0-RC1
-
Component/s: imageio-ext-gdal plugin
-
Labels:None
Description
When I create a CQL text entry field in uDig - I am left with the following on screen:
1=1
.
This is an unfriendly representation of "INCLUDE".
Since ECQL is already headed off the reservation with respect to following the CQL standard; can we extend our extension to support "INCLUDE" and "EXCLUDE" ![]()
The gammer already supports parsing "INCLUDE" and "EXCLUDE"; it is just the encoder that needs a couple of methods changed:
public static Object buildInclude(Object extraData) { StringBuilder output = FilterToTextUtil.asStringBuilder(extraData); output.append("INCLUDE"); return output; } public static Object buildExclude(Object extraData) { StringBuilder output = FilterToTextUtil.asStringBuilder(extraData); output.append("EXCLUDE"); return output; }
public int JJTINCLUDE_NODE = 27;
public int JJTEXCLUDE_NODE = 28;
A very small change is needed. The only downside I see here is the break of backwards compatibility with CQL (of course "1=1" is not strictly CQL anyways since the form is strictly "propertyName = 1").
What do you think Maurcio?