Package org.gdal.osr

Class SpatialReference

java.lang.Object
org.gdal.osr.SpatialReference
All Implemented Interfaces:
Cloneable

public class SpatialReference extends Object implements Cloneable
This class represents an OpenGIS Spatial Reference System, and contains methods for converting between this object organization and well known text (WKT) format. This object is reference counted as one instance of the object is normally shared between many Geometry objects.

The SpatialReference class is a binding for the C++ OGRSpatialReference class.

Normally application code can fetch needed parameter values for this SRS using GetAttrValue(), but in special cases the underlying parse tree (or OGR_SRSNode objects) can be accessed more directly.

See the tutorial for more information on how to use this class.