org.geotoolkit.referencing.operation.provider
Class MillerCylindrical
Object
FormattableObject
AbstractIdentifiedObject
DefaultOperationMethod
MathTransformProvider
MapProjection
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:
- 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).
- 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 name | Default value |
semi_major | |
semi_minor | |
roll_longitude | false |
latitude_of_center | 0° |
longitude_of_center | 0° |
false_easting | 0 metres |
false_northing | 0 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:
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: | 0° |
|
| Name: | OGC: | longitude_of_center |
| Alias: | GeoTIFF: | ProjCenterLong |
| PROJ4: | lon_0 |
|
| Type: | Double |
| Obligation: | mandatory |
| Value range: | [-180 … 180]° |
| Default value: | 0° |
|
| 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 |
|
MillerCylindrical
public MillerCylindrical()
- Constructs a new provider.
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.