Class ObliqueMercator.Provider
-
- All Implemented Interfaces:
Serializable
,IdentifiedObject
,OperationMethod
,PROJFormattable
- Direct Known Subclasses:
HotineObliqueMercator.Provider
,ObliqueMercator.Provider_TwoPoint
- Enclosing class:
- ObliqueMercator
public static class ObliqueMercator.Provider extends MapProjection.AbstractProvider
The math transform provider for an Oblique Mercator projection (EPSG code 9815).- Since:
- 2.1
- Author:
- Rueben Schulz
- See Also:
DefaultMathTransformFactory
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class MathTransformProvider
MathTransformProvider.Delegate
-
-
Field Summary
Fields Modifier and Type Field Description static ParameterDescriptor
AZIMUTH
The operation parameter descriptor for theazimuth
parameter value.static ParameterDescriptor
LATITUDE_OF_CENTRE
The operation parameter descriptor for thelatitudeOfCentre
parameter value.static ParameterDescriptor
LONGITUDE_OF_CENTRE
The operation parameter descriptor for thelongitudeOfCentre
parameter value.static ParameterDescriptor
RECTIFIED_GRID_ANGLE
The operation parameter descriptor for therectifiedGridAngle
parameter value.-
Fields inherited from class MapProjection.AbstractProvider
CENTRAL_MERIDIAN, FALSE_EASTING, FALSE_NORTHING, LATITUDE_OF_ORIGIN, SCALE_FACTOR, SEMI_MAJOR, SEMI_MINOR, STANDARD_PARALLEL_1, STANDARD_PARALLEL_2
-
Fields inherited from class DefaultOperationMethod
sourceDimensions, targetDimensions
-
Fields inherited from class AbstractIdentifiedObject
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
-
Fields inherited from class Formattable
SINGLE_LINE
-
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Fields inherited from interface OperationMethod
FORMULA_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description Provider()
Constructs a new provider.protected
Provider(ParameterDescriptorGroup params)
Constructs a new provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MathTransform
createMathTransform(ParameterValueGroup parameters)
Creates a transform from the specified group of parameter values.Class<CylindricalProjection>
getOperationType()
Returns the operation type for this map projection.-
Methods inherited from class MapProjection.AbstractProvider
doubleValue
-
Methods inherited from class MathTransformProvider
createDescriptor, createDescriptorGroup, createOptionalDescriptor, ensureValidValues, formatWKT, getParameter, intValue, stringValue, toMap, value
-
Methods inherited from class DefaultOperationMethod
checkDimensions, equals, formatPROJ, getFormula, getParameters, getSourceDimensions, getTargetDimensions, hashCode
-
Methods inherited from class AbstractIdentifiedObject
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
-
Methods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
-
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
-
-
-
Field Detail
-
LATITUDE_OF_CENTRE
public static final ParameterDescriptor LATITUDE_OF_CENTRE
The operation parameter descriptor for thelatitudeOfCentre
parameter value. Valid values range is from -90 to 90°. Default value is 0.
-
LONGITUDE_OF_CENTRE
public static final ParameterDescriptor LONGITUDE_OF_CENTRE
The operation parameter descriptor for thelongitudeOfCentre
parameter value. Valid values range is from -180 to 180°. Default value is 0.
-
AZIMUTH
public static final ParameterDescriptor AZIMUTH
The operation parameter descriptor for theazimuth
parameter value. Valid values range is from -360 to -270, -90 to 90, and 270 to 360 degrees. Default value is 0.
-
RECTIFIED_GRID_ANGLE
public static final ParameterDescriptor RECTIFIED_GRID_ANGLE
The operation parameter descriptor for therectifiedGridAngle
parameter value. It is an optional parameter with valid values ranging from -360 to 360°. Default value isazimuth
.
-
-
Constructor Detail
-
Provider
public Provider()
Constructs a new provider.
-
Provider
protected Provider(ParameterDescriptorGroup params)
Constructs a new provider.- Parameters:
params
- A description of parameters.
-
-
Method Detail
-
getOperationType
public Class<CylindricalProjection> getOperationType()
Returns the operation type for this map projection.- Overrides:
getOperationType
in classMapProjection.AbstractProvider
- Returns:
- The GeoAPI interface implemented by this operation.
-
createMathTransform
protected MathTransform createMathTransform(ParameterValueGroup parameters) throws ParameterNotFoundException
Creates a transform from the specified group of parameter values.- Specified by:
createMathTransform
in classMathTransformProvider
- Parameters:
parameters
- The group of parameter values.- Returns:
- The created math transform.
- Throws:
ParameterNotFoundException
- if a required parameter was not found.- See Also:
MathTransformProvider.Delegate
-
-