Package org.geotools.api.feature.type
Interface GeometryType
- All Superinterfaces:
AttributeType,PropertyType
- All Known Subinterfaces:
ChoiceGeometryType
- All Known Implementing Classes:
ChoiceGeometryTypeImpl,GeometryTypeImpl,GeometryTypeProxy
The type of a GeometryAttribute.
Beyond AttributeType, this class stores the coordinate reference system that geometries are defined in, see
getCoordinateReferenceSystem().
- Author:
- Jody Garnett, Refractions Research, Justin Deoliveira, The Open Planning Project
-
Method Summary
Modifier and TypeMethodDescriptionThe coordinate reference system in which geometries are defined.Methods inherited from interface AttributeType
getSuper, isIdentifiedMethods inherited from interface PropertyType
equals, getBinding, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
-
Method Details
-
getCoordinateReferenceSystem
CoordinateReferenceSystem getCoordinateReferenceSystem()The coordinate reference system in which geometries are defined.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.
-