public class PolygonNotOverlappingLineValidation extends PolygonLineAbstractValidation
Checks that the polygon is not overlapping the line.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
PolygonNotOverlappingLineValidation()
PolygonNotOverlappingLineValidation constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(Map layers,
Envelope envelope,
ValidationResults results)
Check that the polygon is not overlapping the line.
|
getPolygonTypeRef, getRestrictedLineTypeRef, getTypeRefs, setPolygonTypeRef, setRestrictedLineTypeRefgetDescription, getName, getPriority, setDescription, setName, validatepublic PolygonNotOverlappingLineValidation()
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.