public interface FeatureCollection
| Modifier and Type | Method and Description |
|---|---|
void |
add(Feature feature)
Adds a feature to this collection.
|
void |
addAll(Collection features)
Adds multiple features to this collection.
|
void |
clear()
Removes all features from this collection.
|
com.vividsolutions.jts.geom.Envelope |
getEnvelope()
Returns the bounds of this collection.
|
List |
getFeatures()
Returns an unmodifiable List of the features in this collection
|
FeatureSchema |
getFeatureSchema()
Returns information about this FeatureCollection
|
boolean |
isEmpty()
Returns whether this collection has no features.
|
Iterator |
iterator()
Returns an Iterator over the features
|
List |
query(com.vividsolutions.jts.geom.Envelope envelope)
A quick search for features, using an envelope comparison.
|
Collection |
remove(com.vividsolutions.jts.geom.Envelope env)
Removes the features which intersect the given envelope
|
void |
remove(Feature feature)
Removes a feature from this collection.
|
void |
removeAll(Collection features)
Removes multiple features from this collection.
|
int |
size()
Returns the number of features in this collection.
|
FeatureSchema getFeatureSchema()
com.vividsolutions.jts.geom.Envelope getEnvelope()
int size()
boolean isEmpty()
List getFeatures()
Iterator iterator()
List query(com.vividsolutions.jts.geom.Envelope envelope)
envelope - the envelope to query againstvoid add(Feature feature)
feature - a Feature to add to the end of this collectionvoid addAll(Collection features)
void removeAll(Collection features)
void remove(Feature feature)
feature - a Feature to remove from this collectionvoid clear()
Collection remove(com.vividsolutions.jts.geom.Envelope env)
Copyright © 2015. All rights reserved.