org.geotoolkit.referencing.operation.provider
Class EquidistantCylindrical

Object
  extended by FormattableObject
      extended by AbstractIdentifiedObject
          extended by DefaultOperationMethod
              extended by MathTransformProvider
                  extended by MapProjection
                      extended by EquidistantCylindrical
All Implemented Interfaces:
Serializable, Formattable, Deprecable, LenientComparable, IdentifiedObject, OperationMethod
Direct Known Subclasses:
PlateCarree

@Immutable
public class EquidistantCylindrical
extends MapProjection

The provider for "Equidistant Cylindrical" projection (EPSG:1028, EPSG:1029, EPSG:9842, EPSG:9823).

Note: EPSG defines two codes for this projection, 1029 being the spherical case and 1028 the ellipsoidal case. However the formulas are the same in both cases, with an additional adjustment of Earth radius in the ellipsoidal case. Consequently they are implemented in Geotk by the same class.
Note: EPSG:1028 and 1029 are the current codes, while EPSG:9842 and 9823 are deprecated codes. The new and deprecated definitions differ only by their names. In the Geotk implementation, both current and legacy definitions are known, but the legacy names are marked as deprecated.
The math transform implementations instantiated by this provider may be any of the following classes:

The following table summarizes the parameters recognized by this provider. For a more detailed parameter list, see the PARAMETERS constant.

Operation name: Equidistant_Cylindrical
Area of use: (union of CRS domains of validity in EPSG database)

in latitudes:90°00.0′Sto90°00.0′N
in longitudes:180°00.0′Wto180°00.0′E
Parameter nameDefault value
semi_major
semi_minor
roll_longitudefalse
central_meridian
latitude_of_origin
false_easting0 metres
false_northing0 metres

Since:
2.2
Version:
3.20
Author:
John Grange, Martin Desruisseaux (Geomatys)
See Also:
Equirectangular on RemoteSensing.org, Geotk coordinate operations matrix, Serialized Form
Module:
referencing/geotk-referencing (download)    View source code for this class

Field Summary
static ParameterDescriptor<Double> CENTRAL_MERIDIAN
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> FALSE_EASTING
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> FALSE_NORTHING
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> LATITUDE_OF_ORIGIN
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptorGroup PARAMETERS
          The group of all parameters expected by this coordinate operation.
 
Fields inherited from class MapProjection
ROLL_LONGITUDE, SEMI_MAJOR, SEMI_MINOR, X_SCALE, XY_PLANE_ROTATION, Y_SCALE
 
Fields inherited from class DefaultOperationMethod
sourceDimension, targetDimension
 
Fields inherited from class FormattableObject
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE
 
Fields inherited from interface OperationMethod
FORMULA_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
EquidistantCylindrical()
          Constructs a new provider.
 
Method Summary
protected  MathTransform2D createMathTransform(ParameterValueGroup values)
          Creates a map projection from the specified group of parameter values.
 Class<CylindricalProjection> getOperationType()
          Returns the operation type for this map projection.
 
Methods inherited from class MathTransformProvider
ensureValidValues, formatWKT
 
Methods inherited from class DefaultOperationMethod
checkDimensions, computeHashCode, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions
 
Methods inherited from class AbstractIdentifiedObject
equals, getAlias, getIdentifier, getIdentifiers, getName, getName, getRemarks, hashCode, isDeprecated, nameMatches
 
Methods inherited from class FormattableObject
getDefaultIndentation, print, setDefaultIndentation, toString, toWKT, toWKT, toWKT, toWKT
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
 

Field Detail

CENTRAL_MERIDIAN

@Deprecated
public static final ParameterDescriptor<Double> CENTRAL_MERIDIAN
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the central meridian parameter value. This parameter is mandatory. Valid values range is [-180 … 180]° and default value is 0°.


LATITUDE_OF_ORIGIN

@Deprecated
public static final ParameterDescriptor<Double> LATITUDE_OF_ORIGIN
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the latitude of origin parameter value. This parameter is mandatory. Valid values range is [-90 … 90]° and default value is 0°.


FALSE_EASTING

@Deprecated
public static final ParameterDescriptor<Double> FALSE_EASTING
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the false easting parameter value. This parameter is mandatory. Valid values range is unrestricted and default value is 0 metre.


FALSE_NORTHING

@Deprecated
public static final ParameterDescriptor<Double> FALSE_NORTHING
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the false northing parameter value. This parameter is mandatory. Valid values range is unrestricted and default value is 0 metre.


PARAMETERS

public static final ParameterDescriptorGroup PARAMETERS
The group of all parameters expected by this coordinate operation. The following table lists the operation names and the parameters recognized by Geotk:

Name:OGC:Equidistant_Cylindrical
Alias:EPSG:Equidistant Cylindrical
EPSG:Equidistant Cylindrical (Spherical)
ESRI:Equidistant_Cylindrical
OGC:Equirectangular
GeoTIFF:CT_Equirectangular
PROJ4:eqc
Geotk:Equidistant cylindrical projection
Identifier:EPSG:1028
EPSG:1029
EPSG:9842
EPSG:9823
GeoTIFF:17
Name:OGC:semi_major
Alias:EPSG:Semi-major axis
ESRI:Semi_Major
GeoTIFF:SemiMajor
PROJ4:a
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Name:OGC:semi_minor
Alias:EPSG:Semi-minor axis
ESRI:Semi_Minor
GeoTIFF:SemiMinor
PROJ4:b
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Name:Geotk:roll_longitude
Type:Boolean
Obligation:optional
Default value:false
Name:OGC:central_meridian
Alias:EPSG:Longitude of natural origin
ESRI:Central_Meridian
GeoTIFF:ProjCenterLong
PROJ4:lon_0
EPSG:Longitude of false origin
Type:Double
Obligation:mandatory
Value range:[-180 … 180]°
Default value:
Name:OGC:latitude_of_origin
Alias:EPSG:Latitude of 1st standard parallel
ESRI:Standard_Parallel_1
GeoTIFF:ProjCenterLat
PROJ4:lat_0
EPSG:Latitude of natural origin
Type:Double
Obligation:mandatory
Value range:[-90 … 90]°
Default value:
Name:OGC:false_easting
Alias:EPSG:False easting
ESRI:False_Easting
GeoTIFF:FalseEasting
PROJ4:x_0
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:0 metres
Name:OGC:false_northing
Alias:EPSG:False northing
ESRI:False_Northing
GeoTIFF:FalseNorthing
PROJ4:y_0
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:0 metres

Constructor Detail

EquidistantCylindrical

public EquidistantCylindrical()
Constructs a new provider.

Method Detail

getOperationType

public Class<CylindricalProjection> getOperationType()
Returns the operation type for this map projection.

Overrides:
getOperationType in class MapProjection
Returns:
The GeoAPI interface implemented by this operation.

createMathTransform

protected MathTransform2D createMathTransform(ParameterValueGroup values)
Creates a map projection from the specified group of parameter values.

Specified by:
createMathTransform in class MapProjection
Parameters:
values - The group of parameter values.
Returns:
The created map projection.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.