public class FeatureDataStoreUtils
extends java.lang.Object
Constructor and Description |
---|
FeatureDataStoreUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addToEnvelope(FeatureDataStore dataStore,
FeatureSet featureSet,
Envelope.Builder bounds)
Add a feature set to an existing envelope builder
|
static Envelope |
buildEnvelope(FeatureDataStore dataStore)
Given a datastore, build the envelope for it
|
static Envelope |
buildEnvelope(FeatureDataStore dataStore,
FeatureSet featureSet)
Build an envelope for a single feature set by querying its features
|
static Envelope |
buildEnvelope(FeatureDataStore dataStore,
FeatureSetQueryParameters params)
For a given feature data store, query all feature sets and build
a bounds envelope which encompasses all features
|
public static Envelope buildEnvelope(FeatureDataStore dataStore, FeatureSetQueryParameters params)
dataStore
- Feature data storeparams
- Feature set query params (null to query all)public static Envelope buildEnvelope(FeatureDataStore dataStore)
dataStore
- the datastorepublic static Envelope buildEnvelope(FeatureDataStore dataStore, FeatureSet featureSet)
dataStore
- The associated data storefeatureSet
- Feature setpublic static void addToEnvelope(FeatureDataStore dataStore, FeatureSet featureSet, Envelope.Builder bounds)
dataStore
- The associated data storefeatureSet
- Feature setbounds
- Envelope bounds