Package org.geotools.feature.simple

Examples of org.geotools.feature.simple.SimpleFeatureImpl$SimpleGeometryAttribute


    public SimpleFeature createSimpleFeature(Object[] array, SimpleFeatureType type, String id) {
        if (type.isAbstract()) {
            throw new IllegalArgumentException(
                    "Cannot create an feature of an abstract FeatureType " + type.getTypeName());
        }
        return new SimpleFeatureImpl(array, type, MUTABLE_FIDS_FILTER_FACTORY.featureId(id), false);
    }
View Full Code Here


    private void parseFeatureSource(SimpleFeatureCollection features) {
        try {
            Logger.d("Features size: " + features.size());
            SimpleFeatureIterator iterator = features.features();
            SimpleFeatureImpl simpleFeature;
            while (iterator.hasNext()) {
                simpleFeature = (SimpleFeatureImpl) iterator.next();
                if (simpleFeature != null) {
                    java.util.List list = (java.util.List) simpleFeature.getAttributes();
                    Collection<Properties> properties = (java.util.List) simpleFeature.getProperties();
                    //Logger.d("Feature " + list.size() + " " + properties.size());
                            /*for (int i = 0; i < list.size(); i++) {
                                if (list.get(i) != null) {
                                    Logger.d("Feature " + list.get(i).toString());
                                }
View Full Code Here

TOP

Related Classes of org.geotools.feature.simple.SimpleFeatureImpl$SimpleGeometryAttribute

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.