public interface FeatureSet extends DataSet
getType().
The common set of properties does not need to enumerate all possible properties since additional properties
can be defined in subtypes. In many cases at least one property is a geometry, but features without geometry
are also allowed.Defined in the sis-storage module
| Modifier and Type | Method and Description |
|---|---|
DefaultFeatureType |
getType()
Returns a description of properties that are common to all features in this dataset.
|
getEnvelopegetMetadataDefaultFeatureType getType() throws DataStoreException
features(boolean) will be either of that type, or a sub-type of it.
FeatureSet implementation provides that information):
for (ContentInformation content : metadata.getContentInfo()) {
if (content instanceof FeatureCatalogueDescription) {
for (FeatureTypeInfo info : ((FeatureCatalogueDescription) content).getFeatureTypeInfo()) {
GenericName name = info.getFeatureTypeName();
// ... add the name to some list ...
}
}
}
null).DataStoreException - if an error occurred while reading definitions from the underlying data store.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.