public interface GeometryDescriptor extends AttributeDescriptor
This interface adds no additional methods, the point of it is convenience to type narrow
getType() to GeometryType.
| Modifier and Type | Method and Description |
|---|---|
CoordinateReferenceSystem |
getCoordinateReferenceSystem()
The coordinate reference system in which these geometries are defined.
|
GeometryType |
getType()
Override of
AttributeDescriptor.getType() which type narrows to GeometryType. |
getDefaultValue, getLocalNamegetMaxOccurs, getMinOccurs, getName, getUserData, isNillableGeometryType getType()
AttributeDescriptor.getType() which type narrows to GeometryType.getType in interface AttributeDescriptorgetType in interface PropertyDescriptorPropertyDescriptor.getType()CoordinateReferenceSystem getCoordinateReferenceSystem()
This method may return null, but this should only occur in cases where the
actual crs is not known. A common case is when a shapefile does not have an accompanied .prj
file.
Copyright © 1996–2021 Geotools. All rights reserved.