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, getLocalName
getMaxOccurs, getMinOccurs, getName, getUserData, isNillable
GeometryType getType()
AttributeDescriptor.getType()
which type narrows to GeometryType
.getType
in interface AttributeDescriptor
getType
in interface PropertyDescriptor
PropertyDescriptor.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–2019 Geotools. All rights reserved.