oracle.sdoapi.sref
Interface GeographicCS

All Superinterfaces:
java.io.Serializable, SpatialReference

public interface GeographicCS
extends SpatialReference

Interface for Geographic Coordinate Systems. Concrete geographic coordinate systems are always created by the SRManager.


Method Summary
 AngularUnit getAngularUnit()
          Gets the angular unit used by this SRS.
 GeodeticDatum getDatum()
          Gets the geodetic datum used by this SRS.
 int getDatumID()
          Gets the (internal) id for the geodetic datum used by this SRS.
 java.lang.String getDatumName()
          Gets the name for the geodetic datum used by this SRS.
 int getID()
          Gets the ID for this spatial reference system.
 java.lang.String getPrimeMeridanName()
          Gets the name of the prime meridian used by this SRS.
 PrimeMeridian getPrimeMeridian()
          Gets the prime meridian object used by this SRS.
 int getPrimeMeridianID()
          Gets the (internal) id of the prime meridian used by this SRS.
 double getScaleFactor()
          Gets the scale_factor for this SRS
 boolean llConvert(double[] in_lonlat, GeographicCS target, double[] out_lonlat)
          Converts lon/lat points from this GeographicCS to the target geographic coordinate system.
 void setAngularUnit(AngularUnit unit)
          Sets the angular unit used by this SRS.
 void setDatum(GeodeticDatum gd)
          Sets the geodetic datum used by this SRS.
 void setID(int id)
           
 void setPrimeMeridian(PrimeMeridian pm)
          Sets the prime meridian object used by this SRS.
 void setScaleFactor(double sf)
          Sets the scale factor for this geographic coordinate system.
 
Methods inherited from interface oracle.sdoapi.sref.SpatialReference
getDimension, getName, getWellKnowText, isGeographicCS, isNonEarthCS, isProjectedCS, sameAs
 

Method Detail

getDatum

public GeodeticDatum getDatum()
Gets the geodetic datum used by this SRS.

getDatumName

public java.lang.String getDatumName()
Gets the name for the geodetic datum used by this SRS.

getDatumID

public int getDatumID()
Gets the (internal) id for the geodetic datum used by this SRS.

getPrimeMeridian

public PrimeMeridian getPrimeMeridian()
Gets the prime meridian object used by this SRS.

getPrimeMeridanName

public java.lang.String getPrimeMeridanName()
Gets the name of the prime meridian used by this SRS.

getPrimeMeridianID

public int getPrimeMeridianID()
Gets the (internal) id of the prime meridian used by this SRS.

getAngularUnit

public AngularUnit getAngularUnit()
Gets the angular unit used by this SRS.

getScaleFactor

public double getScaleFactor()
Gets the scale_factor for this SRS

setDatum

public void setDatum(GeodeticDatum gd)
Sets the geodetic datum used by this SRS.

setPrimeMeridian

public void setPrimeMeridian(PrimeMeridian pm)
Sets the prime meridian object used by this SRS.

setAngularUnit

public void setAngularUnit(AngularUnit unit)
Sets the angular unit used by this SRS.

setScaleFactor

public void setScaleFactor(double sf)
Sets the scale factor for this geographic coordinate system.

getID

public int getID()
Description copied from interface: SpatialReference
Gets the ID for this spatial reference system.
Specified by:
getID in interface SpatialReference

setID

public void setID(int id)

llConvert

public boolean llConvert(double[] in_lonlat,
                         GeographicCS target,
                         double[] out_lonlat)
Converts lon/lat points from this GeographicCS to the target geographic coordinate system. Multiple points can be passed in and converted in a single call. This is essentially a datum conversion.
Parameters:
in_lonlat - input long/lat values
out_lonlat - output long/lat values
Returns:
true if success; otherwise false