com.esri.sde.sdk.pe
Class PeGeographicCS

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeObject
      extended by com.esri.sde.sdk.pe.PeCoordinateSystem
          extended by com.esri.sde.sdk.pe.PeGeographicCS
All Implemented Interfaces:
java.lang.Cloneable

public final class PeGeographicCS
extends PeCoordinateSystem

A geographic coordinate system is a three-dimensional reference system that locates points on the Earth's surface. The unit of measure is usually decimal degrees. A point has two coordinate values: latitude and longitude. Latitude and longitude measure angles.

A geographic coordinate system has the following components:

Angular units: The unit of measure on the spherical reference system.
Spheroid: The reference spheroid for the coordinate transformation.
Datum: Defines the relationship of the reference spheroid to the Earth's surface.
Prime meridian: The longitude origin of the spherical reference system.


Constructor Summary
PeGeographicCS(java.lang.String str)
          Constructor.
PeGeographicCS(java.lang.String name, PeDatum datum, PePrimeMeridian primem, PeUnit unit)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Clone a geogcs.
 void delete()
          Deconstructor.
static PeCoordinateSystem fromString(java.lang.String str)
          Create a geogcs from string.
 PeAuthority getAuth()
          Retrieve a geogcs's authority.
 int getCode()
           
 PeDatum getDatum()
          Retrieve a geogcs's datum.
 PeMetadata getMetadata()
          Retrieve a geogcs's metadata.
 java.lang.String getName()
          Retrieve a geogcs's name.
 PePrimeMeridian getPrimeM()
          Retrieve a geogcs's prime meridian.
 int getStatus()
          Retrieve a datum's status.
 int getType()
          Retrieve a geogcs's type.
 PeUnit getUnit()
          Retrieve a geogcs's unit (angular).
 boolean isEqual(PeCoordinateSystem coordsys)
          Test if two coordinate systems are identical.
 boolean isEqual(PeGeographicCS geogcs)
          Test if two geogcs are identical.
 boolean isEqual(PeObject peobject)
          Check if both pe objects are equal.
 void setAuth(PeAuthority authority)
          Store an authority in a geogcs.
 void setMetadata(PeMetadata metadata)
          Set a metadata
 java.lang.String toString()
          Retrieve a geogcs's external representation.
 java.lang.String toString(int mode)
          Retrieve a geogcs's extended external representation.
 
Methods inherited from class com.esri.sde.sdk.pe.PeCoordinateSystem
fromPrjFile, fromPrjString, getAuthority, setAuthority, toPrjFile, toPrjString
 
Methods inherited from class com.esri.sde.sdk.pe.PeObject
fromAnyString, fromStringByType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeGeographicCS

public PeGeographicCS(java.lang.String name,
                      PeDatum datum,
                      PePrimeMeridian primem,
                      PeUnit unit)
               throws PeProjectionException
Constructor.

Throws:
PeProjectionException

PeGeographicCS

public PeGeographicCS(java.lang.String str)
               throws PeProjectionException
Constructor.

Throws:
PeProjectionException
Method Detail

fromString

public static PeCoordinateSystem fromString(java.lang.String str)
                                     throws PeProjectionException
Create a geogcs from string.

Throws:
PeProjectionException

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone a geogcs.

Overrides:
clone in class PeCoordinateSystem
Throws:
java.lang.CloneNotSupportedException

delete

public void delete()
Deconstructor.

Overrides:
delete in class PeCoordinateSystem

getName

public java.lang.String getName()
Retrieve a geogcs's name.

Specified by:
getName in class PeObject

getType

public int getType()
Retrieve a geogcs's type.

Specified by:
getType in class PeObject

getStatus

public int getStatus()
Retrieve a datum's status.

Specified by:
getStatus in class PeObject

isEqual

public boolean isEqual(PeObject peobject)
Check if both pe objects are equal.

Specified by:
isEqual in class PeObject

isEqual

public boolean isEqual(PeCoordinateSystem coordsys)
Test if two coordinate systems are identical.

Overrides:
isEqual in class PeCoordinateSystem

isEqual

public boolean isEqual(PeGeographicCS geogcs)
Test if two geogcs are identical.


toString

public java.lang.String toString()
Retrieve a geogcs's external representation.

Overrides:
toString in class PeCoordinateSystem

toString

public java.lang.String toString(int mode)
Retrieve a geogcs's extended external representation.

Overrides:
toString in class PeCoordinateSystem

getAuth

public PeAuthority getAuth()
Retrieve a geogcs's authority.

Specified by:
getAuth in class PeObject

setAuth

public void setAuth(PeAuthority authority)
Store an authority in a geogcs.

Specified by:
setAuth in class PeObject

getDatum

public PeDatum getDatum()
Retrieve a geogcs's datum.


getPrimeM

public PePrimeMeridian getPrimeM()
Retrieve a geogcs's prime meridian.


getUnit

public PeUnit getUnit()
Retrieve a geogcs's unit (angular).


getMetadata

public PeMetadata getMetadata()
Retrieve a geogcs's metadata.

Overrides:
getMetadata in class PeCoordinateSystem

setMetadata

public void setMetadata(PeMetadata metadata)
Set a metadata

Overrides:
setMetadata in class PeCoordinateSystem

getCode

public int getCode()
Specified by:
getCode in class PeObject