org.opengis.feature.type
Interface GeometryType

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

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 Summary
 CoordinateReferenceSystem getCoordinateReferenceSystem()
          The coordinate reference system in which geometries are defined.
 
Methods inherited from interface AttributeType
getSuper, isIdentified
 
Methods inherited from interface PropertyType
equals, getBinding, getDescription, getName, getRestrictions, getUserData, hashCode, isAbstract
 

Method Detail

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.



Copyright © 1996-2014 Geotools. All Rights Reserved.