Class ObliqueMercator
java.lang.Object
org.apache.sis.io.wkt.FormattableObject
org.apache.sis.referencing.AbstractIdentifiedObject
org.apache.sis.referencing.operation.DefaultOperationMethod
org.apache.sis.internal.referencing.provider.AbstractProvider
org.apache.sis.internal.referencing.provider.MapProjection
org.apache.sis.internal.referencing.provider.AbstractMercator
org.apache.sis.internal.referencing.provider.ObliqueMercator
- All Implemented Interfaces:
Serializable,Formattable,MathTransformProvider,Deprecable,LenientComparable,org.opengis.referencing.IdentifiedObject,org.opengis.referencing.operation.OperationMethod
- Direct Known Subclasses:
ObliqueMercatorCenter,ObliqueMercatorTwoPoints
The provider for "Hotine Oblique Mercator (variant A)" projection (EPSG:9812).
Also the parent class for all variants.
- Since:
- 1.0
- Version:
- 1.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.opengis.parameter.ParameterDescriptor<Double>The operation parameter descriptor for the Azimuth of initial line (α) parameter value.static final StringThe "9812" EPSG identifier for "Hotine Oblique Mercator (variant A)".static final org.opengis.parameter.ParameterDescriptor<Double>The operation parameter descriptor for the Latitude of projection centre (φc) parameter value.static final org.opengis.parameter.ParameterDescriptor<Double>The operation parameter descriptor for the Longitude of projection centre (λc) parameter value.(package private) static final org.opengis.parameter.ParameterDescriptorGroupThe group of all parameters expected by this coordinate operation.static final org.opengis.parameter.ParameterDescriptor<Double>The operation parameter descriptor for the Angle from rectified to skew grid (γ) parameter value.static final org.opengis.parameter.ParameterDescriptor<Double>The operation parameter descriptor for the Scale factor on initial line (k) parameter value.private static final longFor compatibility with different versions during deserialization.Fields inherited from class org.apache.sis.internal.referencing.provider.AbstractMercator
FALSE_EASTING, FALSE_NORTHINGFields inherited from class org.apache.sis.internal.referencing.provider.MapProjection
ECCENTRICITY, SEMI_MAJOR, SEMI_MINORFields inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
sourceCSType, sourceOnEllipsoid, targetCSType, targetOnEllipsoidFields inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEYFields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEYFields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new provider.ObliqueMercator(org.opengis.parameter.ParameterDescriptorGroup parameters) For subclass constructors only. -
Method Summary
Modifier and TypeMethodDescriptionprotected final NormalizedProjectioncreateProjection(Parameters parameters) Creates a map projection on an ellipsoid having a semi-major axis length of 1.Methods inherited from class org.apache.sis.internal.referencing.provider.AbstractMercator
toArrayMethods inherited from class org.apache.sis.internal.referencing.provider.MapProjection
createMathTransform, notFormalParameter, redimension, renameAlias, renameAlias, validateMethods inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
addIdentifierAndLegacy, addNameAndLegacy, builder, createLatitude, createLongitude, createMandatoryLatitude, createScale, createShift, createZeroConstant, getOperationType, inverse, recoverableException, resolveAmbiguityMethods inherited from class org.apache.sis.referencing.operation.DefaultOperationMethod
castOrCopy, computeHashCode, equals, formatTo, getFormula, getInterface, getParameters, getSourceDimensions, getTargetDimensions, redimensionMethods inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForNameMethods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKTMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor compatibility with different versions during deserialization.- See Also:
-
IDENTIFIER_OF_BASE
The "9812" EPSG identifier for "Hotine Oblique Mercator (variant A)". Should be preferred to the name when available. TheIDENTIFIER_OF_BASEname is for avoiding confusion with theIDENTIFIERname used in subclasses.- See Also:
-
LATITUDE_OF_CENTRE
The operation parameter descriptor for the Latitude of projection centre (φc) parameter value. Valid values range is [-90 … 90]° and default value is 0°.
Notes:Parameter names EPSG: Latitude of projection centre OGC: latitude_of_center ESRI: Latitude_Of_Center GeoTIFF: CenterLat Proj4: lat_0 - Value domain: (-90.0 … 90.0)°
-
LONGITUDE_OF_CENTRE
The operation parameter descriptor for the Longitude of projection centre (λc) parameter value. Valid values range is [-180 … 180]° and default value is 0°.Parameter names EPSG: Longitude of projection centre OGC: longitude_of_center ESRI: Longitude_Of_Center GeoTIFF: CenterLong Proj4: lonc -
AZIMUTH
The operation parameter descriptor for the Azimuth of initial line (α) parameter value. Valid values ranges are [-360 … -270]°, [-90 … 90]° and [270 … 360]°. There is no default value.
Notes:Parameter names EPSG: Azimuth of initial line OGC: azimuth ESRI: Azimuth GeoTIFF: AzimuthAngle Proj4: alpha - Value domain: [-360.0 … 360.0]°
- No default value
-
RECTIFIED_GRID_ANGLE
The operation parameter descriptor for the Angle from rectified to skew grid (γ) parameter value. Valid values range is [-360 … 360]° and default value is the value given to theAZIMUTHparameter.
Notes:Parameter names EPSG: Angle from Rectified to Skew Grid OGC: rectified_grid_angle ESRI: XY_Plane_Rotation GeoTIFF: RectifiedGridAngle Proj4: gamma - Value domain: [-360.0 … 360.0]°
- No default value
-
SCALE_FACTOR
The operation parameter descriptor for the Scale factor on initial line (k) parameter value. Valid values range is (0 … ∞) and default value is 1.Parameter names EPSG: Scale factor on initial line OGC: scale_factor ESRI: Scale_Factor GeoTIFF: ScaleAtCenter Proj4: k -
PARAMETERS_A
static final org.opengis.parameter.ParameterDescriptorGroup PARAMETERS_AThe group of all parameters expected by this coordinate operation.
-
-
Constructor Details
-
ObliqueMercator
public ObliqueMercator()Constructs a new provider. -
ObliqueMercator
ObliqueMercator(org.opengis.parameter.ParameterDescriptorGroup parameters) For subclass constructors only.
-
-
Method Details
-
createProjection
Creates a map projection on an ellipsoid having a semi-major axis length of 1.- Overrides:
createProjectionin classAbstractMercator- Parameters:
parameters- the group of parameter values.- Returns:
- the map projection created from the given parameter values.
-