public class LineCoveredByPolygonBoundaryValidation extends LinePolygonAbstractValidation
Checks to ensure the Line is covered by the Polygon Boundary.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL
Constructor and Description |
---|
LineCoveredByPolygonBoundaryValidation()
PointCoveredByLineValidation constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
The priority level used to schedule this Validation.
|
boolean |
validate(Map layers,
Envelope envelope,
ValidationResults results)
Ensure Line is covered by the Polygon Boundary.
|
getLineTypeRef, getRestrictedPolygonTypeRef, getTypeRefs, setLineTypeRef, setRestrictedPolygonTypeRef
getDescription, getName, setDescription, setName, validate
public LineCoveredByPolygonBoundaryValidation()
Super
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)
public int getPriority()
getPriority
in interface Validation
getPriority
in class DefaultIntegrityValidation
Validation.getPriority()
Copyright © 1996–2019 Geotools. All rights reserved.