com.esri.arcgis.geometry
Interface IGeographicCoordinateSystem

All Superinterfaces:
ISpatialReference, ISpatialReferenceInfo, Serializable
All Known Subinterfaces:
IGeographicCoordinateSystem2
All Known Implementing Classes:
GeographicCoordinateSystem

public interface IGeographicCoordinateSystem
extends ISpatialReference, Serializable

Provides access to members that control access to all properties of geographic coordinate systems.

Superseded By

IGeographicCoordinateSystem2

Description

A geographic coordinate system is defined (at minimum) by a name, an angular unit of measure, a horizontal datum, and a prime meridian.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 IAngularUnit getCoordinateUnit()
          The angular unit of this geographic coordinate system.
 IDatum getDatum()
          The horizontal datum of this geographic coordinate system.
 IPrimeMeridian getPrimeMeridian()
          The prime meridian of this geographic coordinate system.
 String getUsage()
          The usage notes of this geographic coordinate system.
 
Methods inherited from interface com.esri.arcgis.geometry.ISpatialReference
changed, getDomain, getFalseOriginAndUnits, getMDomain, getMFalseOriginAndUnits, getZCoordinateUnit, getZDomain, getZFalseOriginAndUnits, hasMPrecision, hasXYPrecision, hasZPrecision, isPrecisionEqual, setDomain, setFalseOriginAndUnits, setMDomain, setMFalseOriginAndUnits, setZCoordinateUnit, setZDomain, setZFalseOriginAndUnits
 
Methods inherited from interface com.esri.arcgis.geometry.ISpatialReferenceInfo
getAbbreviation, getAlias, getFactoryCode, getName, getRemarks
 

Method Detail

getUsage

String getUsage()
                throws IOException,
                       AutomationException
The usage notes of this geographic coordinate system.

Description

private void GetUsage(IGeographicCoordinateSystem geographicCoordinateSystem)
{
String usage = geographicCoordinateSystem.Usage;
System.Windows.Forms.MessageBox.Show(usage);
}

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The usage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatum

IDatum getDatum()
                throws IOException,
                       AutomationException
The horizontal datum of this geographic coordinate system.

Description

Returns the vertical or horizontal datum of the vertical coordinate system as IHVDatum. QI with IVerticalDatum or IDatum. A vertical datum means that the VCS is gravity-related. A (horizontal) datum means that the VCS is ellipsoid/spheroid-based.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.IDatum
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrimeMeridian

IPrimeMeridian getPrimeMeridian()
                                throws IOException,
                                       AutomationException
The prime meridian of this geographic coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.IPrimeMeridian
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCoordinateUnit

IAngularUnit getCoordinateUnit()
                               throws IOException,
                                      AutomationException
The angular unit of this geographic coordinate system.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
A reference to a com.esri.arcgis.geometry.IAngularUnit
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.