Package org.geotools.data.collection

Examples of org.geotools.data.collection.CollectionDataStore


        // CollectionFeatureSource source = new CollectionFeatureSource(simpleFeatureCollection);
        //
        // return source;
        // }

        CollectionDataStore store = new CollectionDataStore(collection);
        String typeName = store.getTypeNames()[0];
        try {
            return store.getFeatureSource(typeName);
        } catch (IOException e) {
            throw new IllegalArgumentException("CollectionDataStore inconsistent, "
                    + " ensure type name "+typeName+" is the same for all features", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.geotools.data.collection.CollectionDataStore

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.