Package org.geotools.filter.spatial
Class DefaultCRSFilterVisitor
- Object
-
- DuplicatingFilterVisitor
-
- DefaultCRSFilterVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
,FilterVisitor
public class DefaultCRSFilterVisitor extends DuplicatingFilterVisitor
Returns a clone of the provided filter where all geometries and bboxes that do not have a CRS gets the specified default one.- Author:
- Andrea Aime - The Open Planning Project
-
-
Field Summary
-
Fields inherited from class DuplicatingFilterVisitor
ff
-
-
Constructor Summary
Constructors Constructor Description DefaultCRSFilterVisitor(FilterFactory factory, CoordinateReferenceSystem defaultCrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(Literal expression, Object extraData)
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, visitNullFilter
-
-
-
-
Constructor Detail
-
DefaultCRSFilterVisitor
public DefaultCRSFilterVisitor(FilterFactory factory, CoordinateReferenceSystem defaultCrs)
-
-
Method Detail
-
visit
public Object visit(BBOX filter, Object extraData)
- Specified by:
visit
in interfaceFilterVisitor
- Overrides:
visit
in classDuplicatingFilterVisitor
-
visit
public Object visit(Literal expression, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
- Overrides:
visit
in classDuplicatingFilterVisitor
-
-