Examples of ListFeatureCollection


Examples of org.geotools.data.collection.ListFeatureCollection

        List<FeatureCollection> result = new ArrayList<FeatureCollection>();
        for (Map.Entry<FeatureType, List<Feature>> entry : map.entrySet()) {
            FeatureType type = entry.getKey();
            List<Feature> list = entry.getValue();
            if(type instanceof SimpleFeatureType) {
                result.add(new ListFeatureCollection((SimpleFeatureType) type, new ArrayList<SimpleFeature>((List) list)));
            } else {
                result.add(new ListComplexFeatureCollection(type, list));
            }
        }
       
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.