public class PolygonNoGapsValidation extends DefaultFeatureValidation
Ensures Polygon does not have gaps.
ALL, PRIORITY_COMPLEX, PRIORITY_INVOLVED, PRIORITY_SIMPLE, PRIORITY_TRIVIAL| Constructor and Description |
|---|
PolygonNoGapsValidation()
PolygonNoGapsValidation constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
validate(SimpleFeature feature,
SimpleFeatureType type,
ValidationResults results)
Ensure Polygon does not have gaps.
|
getDefaultLineString, getDescription, getName, getPriority, getTypeRef, getTypeRefs, setDescription, setName, setTypeRefpublic PolygonNoGapsValidation()
Description
public boolean validate(SimpleFeature feature, SimpleFeatureType type, ValidationResults results)
validate in interface FeatureValidationvalidate in class DefaultFeatureValidationfeature - the Feature to be validatedtype - the FeatureType of the featureresults - 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.