|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
org.deegree_impl.model.cs.CoordinateSystemFactory.Export
Wrap a Info object for use with OpenGIS. This wrapper is a
good place to check for non-implemented OpenGIS methods (just check
for methods throwing UnsupportedOperationException). This
class is suitable for RMI use.
| Field Summary | |
protected Adapters |
adapters
The originating adapter. |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
protected |
CoordinateSystemFactory.Export(java.lang.Object adapters)
Construct a remote object. |
| Method Summary | |
CS_CompoundCoordinateSystem |
createCompoundCoordinateSystem(java.lang.String name,
CS_CoordinateSystem head,
CS_CoordinateSystem tail)
Creates a compound coordinate system. |
CS_Ellipsoid |
createEllipsoid(java.lang.String name,
double semiMajorAxis,
double semiMinorAxis,
CS_LinearUnit linearUnit)
Creates an ellipsoid from radius values. |
CS_FittedCoordinateSystem |
createFittedCoordinateSystem(java.lang.String name,
CS_CoordinateSystem base,
java.lang.String toBaseWKT,
CS_AxisInfo[] arAxes)
Creates a fitted coordinate system. |
CS_Ellipsoid |
createFlattenedSphere(java.lang.String name,
double semiMajorAxis,
double inverseFlattening,
CS_LinearUnit linearUnit)
Creates an ellipsoid from an major radius, and inverse flattening. |
CS_CoordinateSystem |
createFromWKT(java.lang.String wellKnownText)
Creates a coordinate system object from a Well-Known Text string. |
CS_CoordinateSystem |
createFromXML(java.lang.String xml)
Creates a coordinate system object from an XML string. |
CS_GeographicCoordinateSystem |
createGeographicCoordinateSystem(java.lang.String name,
CS_AngularUnit angularUnit,
CS_HorizontalDatum horizontalDatum,
CS_PrimeMeridian primeMeridian,
CS_AxisInfo axis0,
CS_AxisInfo axis1)
Creates a GCS, which could be Lat/Lon or Lon/Lat. |
CS_HorizontalDatum |
createHorizontalDatum(java.lang.String name,
CS_DatumType horizontalDatumType,
CS_Ellipsoid ellipsoid,
CS_WGS84ConversionInfo toWGS84)
Creates horizontal datum from ellipsoid and Bursa-Wolf parameters. |
CS_LocalCoordinateSystem |
createLocalCoordinateSystem(java.lang.String name,
CS_LocalDatum datum,
CS_Unit unit,
CS_AxisInfo[] arAxes)
Creates a local coordinate system. |
CS_LocalDatum |
createLocalDatum(java.lang.String name,
CS_DatumType localDatumType)
Creates a local datum. |
CS_PrimeMeridian |
createPrimeMeridian(java.lang.String name,
CS_AngularUnit angularUnit,
double longitude)
Creates a prime meridian, relative to Greenwich. |
CS_ProjectedCoordinateSystem |
createProjectedCoordinateSystem(java.lang.String name,
CS_GeographicCoordinateSystem gcs,
CS_Projection projection,
CS_LinearUnit linearUnit,
CS_AxisInfo axis0,
CS_AxisInfo axis1)
Creates a projected coordinate system using a projection object. |
CS_Projection |
createProjection(java.lang.String name,
java.lang.String wktProjectionClass,
CS_ProjectionParameter[] parameters)
Creates a projection. |
CS_VerticalCoordinateSystem |
createVerticalCoordinateSystem(java.lang.String name,
CS_VerticalDatum verticalDatum,
CS_LinearUnit verticalUnit,
CS_AxisInfo axis)
Creates a vertical coordinate system from a datum and linear units. |
CS_VerticalDatum |
createVerticalDatum(java.lang.String name,
CS_DatumType verticalDatumType)
Creates a vertical datum from an enumerated type value. |
CoordinateSystemFactory |
unwrap()
Returns the underlying implementation. |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected final Adapters adapters
| Constructor Detail |
protected CoordinateSystemFactory.Export(java.lang.Object adapters)
| Method Detail |
public CoordinateSystemFactory unwrap()
public CS_CoordinateSystem createFromXML(java.lang.String xml)
throws java.rmi.RemoteException
createFromXML in interface CS_CoordinateSystemFactoryxml - Coordinate system encoded in XML format.
java.rmi.RemoteException - if a remote method call failed.
public CS_CoordinateSystem createFromWKT(java.lang.String wellKnownText)
throws java.rmi.RemoteException
createFromWKT in interface CS_CoordinateSystemFactorywellKnownText - Coordinate system encoded in Well-Known Text format.
java.rmi.RemoteException - if a remote method call failed.
public CS_CompoundCoordinateSystem createCompoundCoordinateSystem(java.lang.String name,
CS_CoordinateSystem head,
CS_CoordinateSystem tail)
throws java.rmi.RemoteException
createCompoundCoordinateSystem in interface CS_CoordinateSystemFactoryname - Name to give new object.head - Coordinate system to use for earlier ordinates.tail - Coordinate system to use for later ordinates.
java.rmi.RemoteException - if a remote method call failed.
public CS_FittedCoordinateSystem createFittedCoordinateSystem(java.lang.String name,
CS_CoordinateSystem base,
java.lang.String toBaseWKT,
CS_AxisInfo[] arAxes)
throws java.rmi.RemoteException
createFittedCoordinateSystem in interface CS_CoordinateSystemFactoryname - Name to give new object.base - Coordinate system to base the fitted CS on.toBaseWKT - Well-Known Text of transform from returned CS to base CS.arAxes - Axes for fitted coordinate system. The number of axes must match the source dimension of the transform "toBaseWKT".
java.rmi.RemoteException - if a remote method call failed.
public CS_LocalCoordinateSystem createLocalCoordinateSystem(java.lang.String name,
CS_LocalDatum datum,
CS_Unit unit,
CS_AxisInfo[] arAxes)
throws java.rmi.RemoteException
createLocalCoordinateSystem in interface CS_CoordinateSystemFactoryname - Name to give new object.datum - Local datum to use in created CS.unit - Units to use for all axes in created CS.arAxes - Axes to use in created CS.
java.rmi.RemoteException - if a remote method call failed.
public CS_Ellipsoid createEllipsoid(java.lang.String name,
double semiMajorAxis,
double semiMinorAxis,
CS_LinearUnit linearUnit)
throws java.rmi.RemoteException
createEllipsoid in interface CS_CoordinateSystemFactoryname - Name to give new object.semiMajorAxis - Equatorial radius in supplied linear units.semiMinorAxis - Polar radius in supplied linear units.linearUnit - Linear units of ellipsoid axes.
java.rmi.RemoteException - if a remote method call failed.
public CS_Ellipsoid createFlattenedSphere(java.lang.String name,
double semiMajorAxis,
double inverseFlattening,
CS_LinearUnit linearUnit)
throws java.rmi.RemoteException
createFlattenedSphere in interface CS_CoordinateSystemFactoryname - Name to give new object.semiMajorAxis - Equatorial radius in supplied linear units.inverseFlattening - Eccentricity of ellipsoid.linearUnit - Linear units of major axis.
java.rmi.RemoteException - if a remote method call failed.
public CS_ProjectedCoordinateSystem createProjectedCoordinateSystem(java.lang.String name,
CS_GeographicCoordinateSystem gcs,
CS_Projection projection,
CS_LinearUnit linearUnit,
CS_AxisInfo axis0,
CS_AxisInfo axis1)
throws java.rmi.RemoteException
createProjectedCoordinateSystem in interface CS_CoordinateSystemFactoryname - Name to give new object.gcs - Geographic coordinate system to base projection on.projection - Projection from GCS to PCS.linearUnit - Linear units of returned PCS.axis0 - Details of 0th ordinates in returned PCS coordinates.axis1 - Details of 1st ordinates in returned PCS coordinates.
java.rmi.RemoteException - if a remote method call failed.
public CS_Projection createProjection(java.lang.String name,
java.lang.String wktProjectionClass,
CS_ProjectionParameter[] parameters)
throws java.rmi.RemoteException
createProjection in interface CS_CoordinateSystemFactoryname - Name to give new object.wktProjectionClass - Classification string for projection (e.g. "Transverse_Mercator").parameters - Parameters to use for projection, in units of intended PCS.
java.rmi.RemoteException - if a remote method call failed.
public CS_HorizontalDatum createHorizontalDatum(java.lang.String name,
CS_DatumType horizontalDatumType,
CS_Ellipsoid ellipsoid,
CS_WGS84ConversionInfo toWGS84)
throws java.rmi.RemoteException
createHorizontalDatum in interface CS_CoordinateSystemFactoryname - Name to give new object.horizontalDatumType - Type of horizontal datum to create.ellipsoid - Ellipsoid to use in new horizontal datum.toWGS84 - Suggested approximate conversion from new datum to WGS84.
java.rmi.RemoteException - if a remote method call failed.
public CS_PrimeMeridian createPrimeMeridian(java.lang.String name,
CS_AngularUnit angularUnit,
double longitude)
throws java.rmi.RemoteException
createPrimeMeridian in interface CS_CoordinateSystemFactoryname - Name to give new object.angularUnit - Angular units of longitude.longitude - Longitude of prime meridian in supplied angular units East of Greenwich.
java.rmi.RemoteException - if a remote method call failed.
public CS_GeographicCoordinateSystem createGeographicCoordinateSystem(java.lang.String name,
CS_AngularUnit angularUnit,
CS_HorizontalDatum horizontalDatum,
CS_PrimeMeridian primeMeridian,
CS_AxisInfo axis0,
CS_AxisInfo axis1)
throws java.rmi.RemoteException
createGeographicCoordinateSystem in interface CS_CoordinateSystemFactoryname - Name to give new object.angularUnit - Angular units for created GCS.horizontalDatum - Horizontal datum for created GCS.primeMeridian - Prime Meridian for created GCS.axis0 - Details of 0th ordinates in returned GCS coordinates.axis1 - Details of 1st ordinates in returned GCS coordinates.
java.rmi.RemoteException - if a remote method call failed.
public CS_LocalDatum createLocalDatum(java.lang.String name,
CS_DatumType localDatumType)
throws java.rmi.RemoteException
createLocalDatum in interface CS_CoordinateSystemFactoryname - Name to give new object.localDatumType - Type of local datum to create.
java.rmi.RemoteException - if a remote method call failed.
public CS_VerticalDatum createVerticalDatum(java.lang.String name,
CS_DatumType verticalDatumType)
throws java.rmi.RemoteException
createVerticalDatum in interface CS_CoordinateSystemFactoryname - Name to give new object.verticalDatumType - Type of vertical datum to create.
java.rmi.RemoteException - if a remote method call failed.
public CS_VerticalCoordinateSystem createVerticalCoordinateSystem(java.lang.String name,
CS_VerticalDatum verticalDatum,
CS_LinearUnit verticalUnit,
CS_AxisInfo axis)
throws java.rmi.RemoteException
createVerticalCoordinateSystem in interface CS_CoordinateSystemFactoryname - Name to give new object.verticalDatum - Datum to use for new coordinate system.verticalUnit - Units to use for new coordinate system.axis - Axis to use for new coordinate system.
java.rmi.RemoteException - if a remote method call failed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||