org.geotoolkit.referencing.operation.provider
Class MillerCylindrical

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

@Immutable
public class MillerCylindrical
extends MapProjection

The provider for "Miller" projection. This is a Mercator1SP projection with the following modifications:

  1. The parallels of latitude are scaled by a factor of 0.8 before the projection (actually 2×0.4 where the factor 2 is required for canceling the scaling performed by the classical Mercator formula).
  2. The northing is multiplied by 1.25 after the projection.

Note that the Miller projection is typically used with spherical formulas. However the Geotk implementation supports also the ellipsoidal formulas. If spherical formulas are desired, then the parameters shall contains semi-major and semi-minor axis lengths of equal length.

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: Miller_Cylindrical

Parameter nameDefault value
semi_major
semi_minor
roll_longitudefalse
latitude_of_center
longitude_of_center
false_easting0 metres
false_northing0 metres

Since:
3.14
Version:
3.20
Author:
Martin Desruisseaux (Geomatys)
See Also:
Miller Cylindrical 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> FALSE_EASTING
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> FALSE_NORTHING
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> LATITUDE_OF_CENTRE
          Deprecated. Invoke PARAMETERS.descriptor(String) instead.
static ParameterDescriptor<Double> LONGITUDE_OF_CENTRE
          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
MillerCylindrical()
          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

LONGITUDE_OF_CENTRE

@Deprecated
public static final ParameterDescriptor<Double> LONGITUDE_OF_CENTRE
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_CENTRE

@Deprecated
public static final ParameterDescriptor<Double> LATITUDE_OF_CENTRE
Deprecated. Invoke PARAMETERS.descriptor(String) instead.
The operation parameter descriptor for the latitude of origin parameter value. This parameter is optional (its value is normally zero). 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:Miller_Cylindrical
Alias:IGNF:Miller_Cylindrical_Sphere
GeoTIFF:CT_MillerCylindrical
PROJ4:mill
Identifier:IGNF:PRC9901
GeoTIFF:20
Name:OGC:semi_major
Alias:GeoTIFF:SemiMajor
PROJ4:a
Type:Double
Obligation:mandatory
Value range:[0…∞) metres
Name:OGC:semi_minor
Alias: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:latitude_of_center
Alias:GeoTIFF:ProjCenterLat
PROJ4:lat_0
Type:Double
Obligation:optional
Value range:[-90 … 90]°
Default value:
Name:OGC:longitude_of_center
Alias:GeoTIFF:ProjCenterLong
PROJ4:lon_0
Type:Double
Obligation:mandatory
Value range:[-180 … 180]°
Default value:
Name:OGC:false_easting
Alias:GeoTIFF:FalseEasting
PROJ4:x_0
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:0 metres
Name:OGC:false_northing
Alias:GeoTIFF:FalseNorthing
PROJ4:y_0
Type:Double
Obligation:mandatory
Value range:(-∞ … ∞) metres
Default value:0 metres

Constructor Detail

MillerCylindrical

public MillerCylindrical()
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.