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
  • Constructor Details

    • 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 Details