public abstract static class MapProjection.AbstractProvider extends MathTransformProvider
MapProjection
s.MathTransformProvider.Delegate
Modifier and Type | Field and Description |
---|---|
static ParameterDescriptor |
CENTRAL_MERIDIAN
The operation parameter descriptor for the central meridian
parameter value.
|
static ParameterDescriptor |
FALSE_EASTING
The operation parameter descriptor for the
falseEasting parameter
value. |
static ParameterDescriptor |
FALSE_NORTHING
The operation parameter descriptor for the
falseNorthing parameter
value. |
static ParameterDescriptor |
LATITUDE_OF_CENTRE
The operation parameter descriptor for the latitude of center parameter value.
|
static ParameterDescriptor |
LATITUDE_OF_ORIGIN
The operation parameter descriptor for the latitude of
origin parameter value.
|
static ParameterDescriptor |
LONGITUDE_OF_CENTRE
The operation parameter descriptor for the longitude of center parameter value.
|
static ParameterDescriptor |
SCALE_FACTOR
The operation parameter descriptor for the
scaleFactor parameter
value. |
static ParameterDescriptor |
SEMI_MAJOR
The operation parameter descriptor for the semi major parameter
value.
|
static ParameterDescriptor |
SEMI_MINOR
The operation parameter descriptor for the semi minor parameter
value.
|
static ParameterDescriptor |
STANDARD_PARALLEL_1
The operation parameter descriptor for the standard parallel 1 parameter value.
|
static ParameterDescriptor |
STANDARD_PARALLEL_2
The operation parameter descriptor for the standard parallel 2 parameter value.
|
sourceDimensions, targetDimensions
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
FORMULA_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
AbstractProvider(ParameterDescriptorGroup parameters)
Constructs a math transform provider from a set of parameters.
|
Modifier and Type | Method and Description |
---|---|
protected static double |
doubleValue(ParameterDescriptor param,
ParameterValueGroup group)
Returns the parameter value for the specified operation parameter in standard units.
|
Class<? extends Projection> |
getOperationType()
Returns the operation type for this map projection.
|
createDescriptor, createDescriptorGroup, createMathTransform, createOptionalDescriptor, doubleValue, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
checkDimensions, equals, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
getAlias, getIdentifiers, getName, getRemarks, toWKT
public static final ParameterDescriptor SEMI_MAJOR
public static final ParameterDescriptor SEMI_MINOR
public static final ParameterDescriptor CENTRAL_MERIDIAN
public static final ParameterDescriptor LATITUDE_OF_ORIGIN
public static final ParameterDescriptor LONGITUDE_OF_CENTRE
public static final ParameterDescriptor LATITUDE_OF_CENTRE
public static final ParameterDescriptor STANDARD_PARALLEL_1
public static final ParameterDescriptor STANDARD_PARALLEL_2
public static final ParameterDescriptor SCALE_FACTOR
scaleFactor
parameter
value. Valid values range is from 0 to infinity. Default value is 1.public static final ParameterDescriptor FALSE_EASTING
falseEasting
parameter
value. Valid values range is unrestricted. Default value is 0.public static final ParameterDescriptor FALSE_NORTHING
falseNorthing
parameter
value. Valid values range is unrestricted. Default value is 0.public AbstractProvider(ParameterDescriptorGroup parameters)
parameters
- The set of parameters (never null
).public Class<? extends Projection> getOperationType()
getOperationType
in class MathTransformProvider
protected static double doubleValue(ParameterDescriptor param, ParameterValueGroup group) throws ParameterNotFoundException
param
argument, except degrees
which are converted to
radians
. This conversion is performed because the radians units are
standard for all internal computations in the map projection package. For example they
are the standard units for latitudeOfOrigin
and
centralMeridian
fields in the MapProjection
class.param
- The parameter to look for.group
- The parameter value group to search into.ParameterNotFoundException
- if the parameter is not found.Copyright © 1996–2019 Geotools. All rights reserved.