org.geotools.validation.spatial
Class LineNotTouchingPolygonInteriorValidation
Object
DefaultIntegrityValidation
LinePolygonAbstractValidation
LineNotTouchingPolygonInteriorValidation
- All Implemented Interfaces:
- IntegrityValidation, Validation
public class LineNotTouchingPolygonInteriorValidation
- extends LinePolygonAbstractValidation
PolygonNotOverlappingLineValidation purpose.
Checks that the line is not touching the interior of the polygon.
- 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 |
LineNotTouchingPolygonInteriorValidation
public LineNotTouchingPolygonInteriorValidation()
- PolygonNotOverlappingLineValidation constructor.
Description
validate
public boolean validate(Map layers,
Envelope envelope,
ValidationResults results)
throws Exception
- Check that the line is not touching the interior of the polygon.
- 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-2014 Geotools. All Rights Reserved.