skrueger.geotools
Class GeomFilterGenerator.PointFilterGenerator
java.lang.Object
skrueger.geotools.GeomFilterGenerator
skrueger.geotools.GeomFilterGenerator.PointFilterGenerator
- Enclosing class:
- GeomFilterGenerator
public static class GeomFilterGenerator.PointFilterGenerator
- extends GeomFilterGenerator
GeomFilterGenerator
for a "near distance" constraint.
- Author:
- Martin Schmitz
Field Summary |
protected Point |
basePoint
Holds the base constraint (coordinate) relative to the
base CRS. |
Method Summary |
protected GeometryFilterImpl |
prepareFilter(CoordinateReferenceSystem crs,
Class<?> geomClass)
Prepares a filter with the base point and distance transformed to the
given CoordinateReferenceSystem as the "right" argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
basePoint
protected Point basePoint
- Holds the base constraint (coordinate) relative to the
base CRS.
GeomFilterGenerator.PointFilterGenerator
public GeomFilterGenerator.PointFilterGenerator(Point basePoint,
double radius,
CoordinateReferenceSystem crs)
- Creates a new filter generator.
- Parameters:
basePoint
- defines the point for the "near point" constraintdist
- defines the distance around the base pointcrs
- defines the CRS of base point
GeomFilterGenerator.PointFilterGenerator
public GeomFilterGenerator.PointFilterGenerator(Point2D basePoint,
double dist,
CoordinateReferenceSystem crs)
- Creates a new filter generator.
- Parameters:
basePoint
- defines the point for the "near point" constraintdist
- defines the distance around the base point in base point
CRScrs
- defines the CRS of base point
GeomFilterGenerator.PointFilterGenerator
public GeomFilterGenerator.PointFilterGenerator(DirectPosition basePos,
double dist)
- Creates a new filter generator.
- Parameters:
basePoint
- defines the Position for the "near point" constraintdist
- defines the distance around the base point in base point
CRS
prepareFilter
protected GeometryFilterImpl prepareFilter(CoordinateReferenceSystem crs,
Class<?> geomClass)
- Prepares a filter with the base point and distance transformed to the
given
CoordinateReferenceSystem
as the "right" argument.
- Specified by:
prepareFilter
in class GeomFilterGenerator
- Parameters:
crs
- the CoordinateReferenceSystem
the point and
distance is transformed to