Package org.geotools.validation

Examples of org.geotools.validation.FeatureValidation.validate()


                    }
                    //validate this feature
                    monitor.subTask(++position + "/" + count); //$NON-NLS-1$
                    SimpleFeature feature = (SimpleFeature) reader.next();
          try {
            validator.validate(feature, type, results);
          } catch (Throwable e) {
            results.error(feature, e.getMessage());
          }
                    monitor.worked(1);
            }
View Full Code Here


           
            SimpleFeature feature = (SimpleFeature) iterator.next();
           
            type = feature.getFeatureType();
            if (canValidate(type)) {
                featureValidation.validate(feature, type, results);
            }
        }
        iterator.close();
       
        OpUtils.setSelection(layer, results);
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.