Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: wfs plugin, xml
-
Labels:None
Description
In addressing GEOT-3151 I ran into an old filter visitor being used to "update" a filter into one that conforms to the WFS Filter specification (rather than the "extended" filters allowed by GeoTools).
With the old JDBCDataStore implementations being tossed into the bit bucket the pressure is on to update any remaining uses of the old GeoTools 2.2 filters.
This old FilterVisitor in is actually defined by gt-xml:
- FilterEncodingPreProcessor
I have set up a replacement with the slightly more descriptive name of:
- FilterCompliancePreProcessor
I would like to update gt-wfs to use this new filter visitor.
There are two options here:
- Remove the old implementation completely
- Update the class in place with the contents of FilterCompliancePreProcessor
Note that the new implementation cannot update a filter "in place" and must be applied as follows:
FilterCompliancePreProcessor complianceCheck = new FilterCompliancePreProcessor();
filter = (filter) filter.accepts( complianceCheck );
Filter strictFilter = complianceCheck.getFilter();
Id fidFilter = complianceCheck.getFids();