Package org.geotools.filter.visitor
Class FixBBOXFilterVisitor
- Object
-
- DuplicatingFilterVisitor
-
- FixBBOXFilterVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class FixBBOXFilterVisitor extends DuplicatingFilterVisitor
Visit the BBOX filter elements and make sure they are valid.Any BBOX filter using a literal geometry will be changed to be a literal envelope based on the geometry internal envelope. If a max bounding box has been provided it will be used to clip this request envelope.
- Author:
- Jody
-
-
Field Summary
-
Fields inherited from class DuplicatingFilterVisitor
ff
-
-
Constructor Summary
Constructors Constructor Description FixBBOXFilterVisitor(ReferencedEnvelope maxbbox)
Visitor used to "clean up" any BBOX expressions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(BBOX filter, Object extraData)
-
Methods inherited from class DuplicatingFilterVisitor
getFactory, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitNullFilter
-
-
-
-
Constructor Detail
-
FixBBOXFilterVisitor
public FixBBOXFilterVisitor(ReferencedEnvelope maxbbox)
Visitor used to "clean up" any BBOX expressions.- Parameters:
maxbbox
- Max bounding box used to clip any BBox expressions to ensure they are vaild
-
-
Method Detail
-
visit
public Object visit(BBOX filter, Object extraData)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDuplicatingFilterVisitor
-
-