protected static enum NormalizedProjection.ParameterRole extends Enum<NormalizedProjection.ParameterRole>
NormalizedProjection
and its
normalization / denormalization matrices.
This is an enumeration of parameters found in almost every map projections, but under different names.
This enumeration allows NormalizedProjection
subclasses to specify which parameter names, ranges
and default values should be used by the
projection constructor.
NormalizedProjection
subclasses will typically provide values only for the following keys:
CENTRAL_MERIDIAN
, SCALE_FACTOR
, FALSE_EASTING
and FALSE_NORTHING
.
NormalizedProjection.NormalizedProjection(OperationMethod, Parameters, Map)
Defined in the sis-referencing
module
Enum Constant and Description |
---|
CENTRAL_MERIDIAN
Maps the central meridian parameter (symbol: λ₀).
|
FALSE_EASTING
Maps the false easting parameter (symbol: FE).
|
FALSE_NORTHING
Maps the false northing parameter (symbol: FN).
|
FALSE_SOUTHING
Maps the false southing parameter (symbol: FS).
|
FALSE_WESTING
Maps the false westing parameter (symbol: FW).
|
LATITUDE_OF_CONFORMAL_SPHERE_RADIUS
Maps the parameter for the latitude where to compute the radius of conformal sphere
(symbol: Rc).
|
SCALE_FACTOR
Maps the scale factor parameter (symbol: k₀).
|
SEMI_MAJOR
Maps the semi-major axis length parameter (symbol: a).
|
SEMI_MINOR
Maps the semi-minor axis length parameter (symbol: b).
|
Modifier and Type | Method and Description |
---|---|
static NormalizedProjection.ParameterRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NormalizedProjection.ParameterRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NormalizedProjection.ParameterRole SEMI_MAJOR
NormalizedProjection.eccentricity
,
and is also a multiplication factor for the denormalization matrix.
Unless specified otherwise, this is always mapped to a parameter named "semi_major"
.
NormalizedProjection
subclasses typically do not need to provide a value for this key.
public static final NormalizedProjection.ParameterRole SEMI_MINOR
NormalizedProjection.eccentricity
.
Unless specified otherwise, this is always mapped to a parameter named "semi_minor"
.
NormalizedProjection
subclasses typically do not need to provide a value for this key.
public static final NormalizedProjection.ParameterRole LATITUDE_OF_CONFORMAL_SPHERE_RADIUS
This enumeration shall be used only when the user requested explicitely spherical formulas, for example the "Mercator (Spherical)" projection (EPSG:1026), but the figure of the Earth may be an ellipsoid rather than a sphere. In the majority of cases, this enumeration should not be used.
public static final NormalizedProjection.ParameterRole CENTRAL_MERIDIAN
Some common names for this parameter are:
public static final NormalizedProjection.ParameterRole SCALE_FACTOR
Some common names for this parameter are:
public static final NormalizedProjection.ParameterRole FALSE_EASTING
Some common names for this parameter are:
public static final NormalizedProjection.ParameterRole FALSE_WESTING
FALSE_EASTING
, but of opposite sign.
Actually, there is usually no parameter named "false westing" in a map projection.
But some projections like "Lambert Conic Conformal (West Orientated)" are
defined in such a way that their "false easting" parameter is effectively a "false westing".
This enumeration value can be used for informing NormalizedProjection
about that fact.
public static final NormalizedProjection.ParameterRole FALSE_NORTHING
Some common names for this parameter are:
public static final NormalizedProjection.ParameterRole FALSE_SOUTHING
FALSE_NORTHING
, but of opposite sign.
Actually, there is usually no parameter named "false southing" in a map projection.
But some projections like "Transverse Mercator (South Orientated)" are
defined in such a way that their "false northing" parameter is effectively a "false southing".
This enumeration value can be used for informing NormalizedProjection
about that fact.
public static NormalizedProjection.ParameterRole[] values()
for (NormalizedProjection.ParameterRole c : NormalizedProjection.ParameterRole.values()) System.out.println(c);
public static NormalizedProjection.ParameterRole valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.