Package org.geotools.feature.collection

Examples of org.geotools.feature.collection.AbstractFeatureCollection


      return toStreamingFeatureCollection(Neo4jFeatureBuilder.getTypeFromLayer(layer), bounds);     
    }
   
    public FeatureCollection<SimpleFeatureType,SimpleFeature> toStreamingFeatureCollection(SimpleFeatureType featureType, final Envelope bounds) throws IOException {
      final Neo4jFeatureBuilder featureBuilder = new Neo4jFeatureBuilder(layer);
      return new AbstractFeatureCollection(featureType) {
      @Override
      public int size() {
        return Integer.MAX_VALUE;
      }
     
View Full Code Here


     
      final Iterator<GeoPipeFlow> recordsIterator = records.iterator();
      final ReferencedEnvelope refBounds = new ReferencedEnvelope(bounds, layer.getCoordinateReferenceSystem());
     
      final Neo4jFeatureBuilder featureBuilder = new Neo4jFeatureBuilder(featureType, Arrays.asList(layer.getExtraPropertyNames()));
      return new AbstractFeatureCollection(featureType) {
      @Override
      public int size() {
        return records.size();
      }
     
View Full Code Here

TOP

Related Classes of org.geotools.feature.collection.AbstractFeatureCollection

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.