Package org.geotools.feature

Examples of org.geotools.feature.FeatureTypeFactory


        }
      ), null
    );
   
    AttributeTypeFactory atf = AttributeTypeFactory.defaultInstance();
    FeatureTypeFactory ff = FeatureTypeFactory.newInstance("test");
   
    ff.addType(atf.newAttributeType("geom", Geometry.class));
    FeatureType type = ff.getFeatureType();
   
    Feature f1 = type.create(new Object[]{point});
    Feature f2 = type.create(new Object[]{line});
    Feature f3 = type.create(new Object[]{polygon});
   
View Full Code Here

TOP

Related Classes of org.geotools.feature.FeatureTypeFactory

Copyright © 2018 www.massapicom. 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.