Interface GeometryType

All Superinterfaces:
AttributeType, PropertyType
All Known Subinterfaces:
ChoiceGeometryType
All Known Implementing Classes:
ChoiceGeometryTypeImpl, GeometryTypeImpl, GeometryTypeProxy

public interface GeometryType extends AttributeType
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 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.