| java.lang.Object org.geotools.feature.iso.ComplexAttributeImpl org.geotools.feature.iso.FeatureImpl
All known Subclasses: org.geotools.feature.iso.simple.SimpleFeatureImpl, org.geotools.feature.iso.collection.FeatureState,
FeatureImpl | public class FeatureImpl extends ComplexAttributeImpl implements Feature(Code) | | While in transition to the new FM, this class implements the deprecated
in order to no have to touch all the
library.
NOTE all the methods from the old geotools Feature interface throws
UnsupportedOperationException
author: gabriel |
crs | CoordinateReferenceSystem crs(Code) | | Optional, may be null
|
defaultGeometry | GeometryAttribute defaultGeometry(Code) | | Optional, may be null
|
FeatureImpl | public FeatureImpl(Collection values, AttributeDescriptor desc, String id)(Code) | | Create a Feature with the following content.
Parameters: values - Collectio of Properties (aka Attributes and/or Associations) Parameters: desc - Nested descriptor Parameters: id - Feature ID |
FeatureImpl | public FeatureImpl(Collection values, FeatureType type, String id)(Code) | | Create a Feature with the following content.
Parameters: values - Collectio of Properties (aka Attributes and/or Associations) Parameters: type - Type of feature to be created Parameters: id - Feature ID |
getBounds | public BoundingBox getBounds()(Code) | | Get the total bounds of this feature which is calculated by doing a union
of the bounds of each geometry this feature is associated with.
An Envelope containing the total bounds of this Feature. |
getCRS | public CoordinateReferenceSystem getCRS()(Code) | | |
getDefaultGeometry | public GeometryAttribute getDefaultGeometry()(Code) | | |
setCRS | public void setCRS(CoordinateReferenceSystem crs)(Code) | | |
setDefaultGeometry | public void setDefaultGeometry(GeometryAttribute defaultGeometry)(Code) | | |
setDefaultGeometry | public void setDefaultGeometry(Geometry g)(Code) | | |
|
|