org.geotools.validation.spatial
Class PolygonNotOverlappingLineValidation
Object
DefaultIntegrityValidation
PolygonLineAbstractValidation
PolygonNotOverlappingLineValidation
- All Implemented Interfaces:
- IntegrityValidation, Validation
public class PolygonNotOverlappingLineValidation
- extends PolygonLineAbstractValidation
PolygonNotOverlappingLineValidation purpose.
Checks that the polygon is not overlapping the line.
- Author:
- dzwiers, Refractions Research, Inc., $Author: dmzwiers $ (last modification)
- Module:
modules/extension/validation (gt-validation.jar)
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolygonNotOverlappingLineValidation
public PolygonNotOverlappingLineValidation()
- PolygonNotOverlappingLineValidation constructor.
Description
validate
public boolean validate(Map layers,
Envelope envelope,
ValidationResults results)
throws Exception
- Check that the polygon is not overlapping the line.
- Parameters:
layers
- Map of FeatureSource by "dataStoreID:typeName"envelope
- The bounding box that encloses the unvalidated dataresults
- Used to coallate results information
- Returns:
true
if all the features pass this test.
- Throws:
Exception
- DOCUMENT ME!
Copyright © 1996-2009 Geotools. All Rights Reserved.