Package org.geotools.process.vector

Examples of org.geotools.process.vector.TransformProcess.execute()


        "name=name\n"+
        "area=area( the_geom )";
   
    TransformProcess process = new TransformProcess();
   
    SimpleFeatureCollection features = process.execute( featureCollection, transform );
    // transform end
}
}
View Full Code Here


       
        TransformProcess process = new TransformProcess();
       
        String definition = "the_geom=the_geom\nnumber=cat";
        SimpleFeatureCollection origional = source.getFeatures();
        SimpleFeatureCollection result = process.execute( origional, definition );
       
        assertEquals( origional.size(), result.size() );
       
        SimpleFeatureType schema = result.getSchema();
        AttributeDescriptor number = schema.getDescriptor("number");
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.