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)
| 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 SimpleFeatureSource 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-2013 Geotools. All Rights Reserved.