public class LineNotTouchingPolygonInteriorValidation extends LinePolygonAbstractValidation
Checks that the line is not touching the interior of the polygon.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
LineNotTouchingPolygonInteriorValidation()
PolygonNotOverlappingLineValidation constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(Map layers,
Envelope envelope,
ValidationResults results)
Check that the line is not touching the interior of the polygon.
|
getLineTypeRef, getRestrictedPolygonTypeRef, getTypeRefs, setLineTypeRef, setRestrictedPolygonTypeRefgetDescription, getName, getPriority, setDescription, setName, validatepublic LineNotTouchingPolygonInteriorValidation()
Description
public boolean validate(Map layers, Envelope envelope, ValidationResults results) throws Exception
layers - Map of SimpleFeatureSource by "dataStoreID:typeName"envelope - The bounding box that encloses the unvalidated dataresults - Used to coallate results informationtrue if all the features pass this test.Exception - DOCUMENT ME!Copyright © 1996–2019 Geotools. All rights reserved.