Examples of LineNoSelfIntersectValidation


Examples of org.geotools.validation.spatial.LineNoSelfIntersectValidation

* @author chorner
* @since 1.0.1
*/
public class ValidateLineNoSelfIntersect extends FeatureValidationOp {
    public FeatureValidation getValidator() {
        return new LineNoSelfIntersectValidation();
    }
View Full Code Here

Examples of org.geotools.validation.spatial.LineNoSelfIntersectValidation

  public void testLineNoSelfIntersectFV_CorrectData()
  {
    // the visitor
    RoadNetworkValidationResults roadValidationResults = new RoadNetworkValidationResults();
      
    LineNoSelfIntersectValidation valid
          = new LineNoSelfIntersectValidation();
        valid.setName("RoadSelfIntersect");
        valid.setDescription("Tests to see if a road intersects itself, which is bad!");
        valid.setTypeRef( "road:road" );
   
    try {
      processor.addValidation(valid);
    } catch (Exception e) {
      assertTrue(false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.