org.geotoolkit.referencing.operation.provider
Class Mercator2SP

Object
  extended by FormattableObject
      extended by AbstractIdentifiedObject
          extended by DefaultOperationMethod
              extended by MathTransformProvider
                  extended by MapProjection
                      extended by Mercator2SP
All Implemented Interfaces:
Serializable, Deprecable, LenientComparable, Formattable, IdentifiedObject, OperationMethod

@Immutable
public class Mercator2SP
extends MapProjection

The provider for "Mercator (2SP)" projection (EPSG:9805). 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: Mercator_2SP
Area of use: (union of CRS domains of validity in EPSG database)

in latitudes:55°57.0′Sto47°06.6′N
in longitudes:157°24.6′Wto170°53.4′E
Parameter nameDefault value
semi_major
semi_minor
roll_longitudefalse
standard_parallel_1
latitude_of_origin
central_meridian
false_easting0 metres
false_northing0 metres

Since:
2.2
Version:
3.20
Author:
Martin Desruisseaux (IRD, Geomatys), Rueben Schulz (UBC)
See Also:
Mercator 2SP 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.
static ParameterDescriptor<Double> STANDARD_PARALLEL
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
 
Fields inherited from class MapProjection
XY_PLANE_ROTATION
 
Fields inherited from class DefaultOperationMethod
sourceDimension, targetDimension
 
Fields inherited from interface OperationMethod
FORMULA_KEY
 
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
 
Constructor Summary
Mercator2SP()
          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
print, toString, 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°.


STANDARD_PARALLEL

@Deprecated
public static final ParameterDescriptor<Double> STANDARD_PARALLEL
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the standard parallel 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:Mercator_2SP
Alias:EPSG:Mercator (variant B)
EPSG:Mercator (2SP)
ESRI:Mercator
NetCDF:Mercator
GeoTIFF:CT_Mercator
PROJ4:merc
Geotk:Cylindrical Mercator projection
Identifier:EPSG:9805
Name:OGC:semi_major
Alias:EPSG:Semi-major axis
ESRI:Semi_Major
NetCDF:semi_major_axis
GeoTIFF:SemiMajor
PROJ4:a
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Name:OGC:semi_minor
Alias:EPSG:Semi-minor axis
ESRI:Semi_Minor
NetCDF:semi_minor_axis
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:standard_parallel_1
Alias:EPSG:Latitude of 1st standard parallel
ESRI:Standard_Parallel_1
NetCDF:standard_parallel
GeoTIFF:StdParallel1
PROJ4:lat_1
Type:Double
Obligation:mandatory
Value range:[-90 … 90]°
Name:OGC:latitude_of_origin
Alias:EPSG:Latitude of natural origin
ESRI:Latitude_Of_Origin
NetCDF:latitude_of_projection_origin
GeoTIFF:NatOriginLat
PROJ4:lat_0
Type:Double
Obligation:mandatory
Value range:[-90 … 90]°
Default value:
Name:OGC:central_meridian
Alias:EPSG:Longitude of natural origin
ESRI:Central_Meridian
NetCDF:longitude_of_projection_origin
GeoTIFF:NatOriginLong
PROJ4:lon_0
Type:Double
Obligation:mandatory
Value range:[-180 … 180]°
Default value:
Name:OGC:false_easting
Alias:EPSG:False easting
ESRI:False_Easting
NetCDF: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
NetCDF:false_northing
GeoTIFF:FalseNorthing
PROJ4:y_0
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:0 metres

Constructor Detail

Mercator2SP

public Mercator2SP()
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-2013 Geotoolkit.org. All Rights Reserved.