org.geotools.renderer.lite
Class IndexedFeatureResults
Object
DataFeatureCollection
IndexedFeatureResults
- All Implemented Interfaces:
- FeatureCollection<SimpleFeatureType,SimpleFeature>
public final class IndexedFeatureResults
- extends DataFeatureCollection
IndexedFeatureReader
- Author:
- wolf
- Module:
modules/library/render (gt-render.jar)
Methods inherited from class DataFeatureCollection |
accepts, accepts, add, addAll, addAll, addListener, clear, close, close, closeIterator, contains, containsAll, features, fireChange, fireChange, fireChange, getID, getSchema, isEmpty, iterator, openIterator, purge, remove, removeAll, removeListener, retainAll, size, sort, sort, subCollection, toArray, toArray, writer |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexedFeatureResults
public IndexedFeatureResults(FeatureCollection<SimpleFeatureType,SimpleFeature> results)
throws IOException,
IllegalAttributeException
- Throws:
IOException
IllegalAttributeException
reader
public FeatureReader<SimpleFeatureType,SimpleFeature> reader(Envelope envelope)
throws IOException
- Throws:
IOException
- See Also:
org.geotools.data.FeatureResults#reader()
getBounds
public ReferencedEnvelope getBounds()
- Description copied from interface:
FeatureCollection
- Get the total bounds of this collection which is calculated by doing a
union of the bounds of each feature inside of it
- Specified by:
getBounds
in interface FeatureCollection<SimpleFeatureType,SimpleFeature>
- Specified by:
getBounds
in class DataFeatureCollection
- Returns:
- An Envelope containing the total bounds of this collection.
- See Also:
org.geotools.data.FeatureResults#getBounds()
getCount
public int getCount()
throws IOException
- Specified by:
getCount
in class DataFeatureCollection
- Throws:
IOException
- See Also:
org.geotools.data.FeatureResults#getCount()
collection
public FeatureCollection<SimpleFeatureType,SimpleFeature> collection()
throws IOException
- Throws:
IOException
- See Also:
org.geotools.data.FeatureResults#collection()
reader
public FeatureReader<SimpleFeatureType,SimpleFeature> reader()
throws IOException
- Overrides:
reader
in class DataFeatureCollection
- Throws:
IOException
- See Also:
org.geotools.data.FeatureResults#reader()
setQueryBounds
public void setQueryBounds(Envelope queryBounds)
- Parameters:
queryBounds
- an Envelope defining the boundary of the query
Copyright © 1996-2010 Geotools. All Rights Reserved.