org.opengis.feature.type
Interface GeometryType

Show UML class diagram
All Superinterfaces:
AttributeType, PropertyType

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().


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 © 1994-2012 Open Geospatial Consortium. All Rights Reserved.