public class PointCoveredByPolygonBoundaryValidation extends PointPolygonAbstractValidation
Checks to ensure the Point is covered by the Polygon Boundary.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
Constructor and Description |
---|
PointCoveredByPolygonBoundaryValidation()
PointCoveredByPolygonBoundaryValidation constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
validate(Map layers,
Envelope envelope,
ValidationResults results)
Ensure Point is covered by the Polygon Boundary.
|
getPointTypeRef, getRestrictedPolygonTypeRef, getTypeRefs, setPointTypeRef, setRestrictedPolygonTypeRef
getDescription, getName, getPriority, setDescription, setName, validate
public PointCoveredByPolygonBoundaryValidation()
Description
public boolean validate(Map layers, Envelope envelope, ValidationResults results) throws Exception
layers
- a HashMap of key="TypeName" value="FeatureSource"envelope
- The bounding box of modified featuresresults
- Storage for the error and warning messagesException
- DOCUMENT ME!org.geotools.validation.IntegrityValidation#validate(java.util.Map,
org.locationtech.jts.geom.Envelope, org.geotools.validation.ValidationResults)
Copyright © 1996–2019 Geotools. All rights reserved.