public class FeatureTypeProxy extends ComplexTypeProxy implements FeatureType
Constructor and Description |
---|
FeatureTypeProxy(Name typeName,
Map registry) |
Modifier and Type | Method and Description |
---|---|
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
The coordinate reference system of the feature.
|
GeometryDescriptor |
getGeometryDescriptor()
Describe the default geometric attribute for this feature.
|
getDescriptor, getDescriptor, getDescriptors, isInline
equals, getBinding, getDescription, getName, getOperations, getRestrictions, getSubject, getSuper, getUserData, hashCode, isAbstract, isIdentified
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isIdentified
getBinding, getDescriptor, getDescriptor, getDescriptors, isInline
getSuper
equals, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
public CoordinateReferenceSystem getCoordinateReferenceSystem()
FeatureType
This value is derived from the default geometry attribute:
((GeometryType)getDefaultGeometry().getType()).getCRS();
This method will return null
in the case where no default geometric attribute
is defined.
getCoordinateReferenceSystem
in interface FeatureType
null
.public GeometryDescriptor getGeometryDescriptor()
FeatureType
This method returns null
in the case where no such attribute exists.
getGeometryDescriptor
in interface FeatureType
null
.Copyright © 1996–2019 Geotools. All rights reserved.