Examples of retype()


Examples of org.geotools.feature.simple.SimpleFeatureTypeBuilder.retype()

        tb.add(ID, Integer.class);
        tb.add(GEOM, Polygon.class, (CoordinateReferenceSystem) null);
        tb.add(NAME, String.class);
        lakeViewSchema = tb.buildFeatureType();
       
        lakeViewPkSchema = tb.retype(lakeViewSchema, new String[] {ID, GEOM, NAME});
    }
   
    /**
     * Whether the pk field in a view is nillable or not (it is for most databases, but not
     * for Oracle for example).
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.