Class AbstractMercator
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
- All Implemented Interfaces:
Serializable
,Formattable
,MathTransformProvider
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.OperationMethod
- Direct Known Subclasses:
Mercator1SP
,Mercator2SP
,MercatorAuxiliarySphere
,MercatorSpherical
,MillerCylindrical
,ObliqueMercator
,PseudoMercator
,RegionalMercator
,TransverseMercator
,TransverseMercatorSouth
Base class of providers for all Mercator projections, and for Mercator-like projections.
- Since:
- 0.6
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.opengis.parameter.ParameterDescriptor<Double>
The operation parameter descriptor for the False easting (FE) parameter value.static final org.opengis.parameter.ParameterDescriptor<Double>
The operation parameter descriptor for the False northing (FN) parameter value.private static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.internal.referencing.provider.MapProjection
ECCENTRICITY, SEMI_MAJOR, SEMI_MINOR
Fields inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
sourceCSType, sourceOnEllipsoid, targetCSType, targetOnEllipsoid
Fields inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
DEPRECATED_KEY, LOCALE_KEY
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Fields inherited from interface org.opengis.referencing.operation.OperationMethod
FORMULA_KEY
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMercator
(org.opengis.parameter.ParameterDescriptorGroup parameters) For subclass constructors only. -
Method Summary
Modifier and TypeMethodDescriptionprotected NormalizedProjection
createProjection
(Parameters parameters) Creates a map projection on an ellipsoid having a semi-major axis length of 1.(package private) static org.opengis.parameter.ParameterDescriptor<?>[]
Returns the given descriptor as an array, excluding the two first elements which are assumed to be the axis lengths.Methods inherited from class org.apache.sis.internal.referencing.provider.MapProjection
createMathTransform, notFormalParameter, redimension, renameAlias, renameAlias, validate
Methods inherited from class org.apache.sis.internal.referencing.provider.AbstractProvider
addIdentifierAndLegacy, addNameAndLegacy, builder, createLatitude, createLongitude, createMandatoryLatitude, createScale, createShift, createZeroConstant, getOperationType, inverse, recoverableException, resolveAmbiguity
Methods inherited from class org.apache.sis.referencing.operation.DefaultOperationMethod
castOrCopy, computeHashCode, equals, formatTo, getFormula, getInterface, getParameters, getSourceDimensions, getTargetDimensions, redimension
Methods inherited from class org.apache.sis.referencing.AbstractIdentifiedObject
castOrCopy, equals, formatTo, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
Methods inherited from class org.apache.sis.io.wkt.FormattableObject
print, toString, toString, toWKT
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
FALSE_EASTING
The operation parameter descriptor for the False easting (FE) parameter value. Valid values range is unrestricted and default value is 0 metre.Parameter names EPSG: False easting OGC: false_easting ESRI: False_Easting NetCDF: false_easting GeoTIFF: FalseEasting Proj4: x_0 -
FALSE_NORTHING
The operation parameter descriptor for the False northing (FN) parameter value. Valid values range is unrestricted and default value is 0 metre.Parameter names EPSG: False northing OGC: false_northing ESRI: False_Northing NetCDF: false_northing GeoTIFF: FalseNorthing Proj4: y_0
-
-
Constructor Details
-
AbstractMercator
AbstractMercator(org.opengis.parameter.ParameterDescriptorGroup parameters) For subclass constructors only.
-
-
Method Details
-
toArray
static org.opengis.parameter.ParameterDescriptor<?>[] toArray(List<org.opengis.parameter.GeneralParameterDescriptor> descriptors, int expansion) Returns the given descriptor as an array, excluding the two first elements which are assumed to be the axis lengths. This method assumes that all elements in the given list are instances ofParameterDescriptor
.- Parameters:
descriptors
- the descriptors to return as an array.expansion
- number of additional elements in the returned array.- Returns:
- the given descriptors without the two first elements.
- Throws:
ArrayStoreException
- if adescriptors
element is not an instance ofParameterDescriptor
.
-
createProjection
Creates a map projection on an ellipsoid having a semi-major axis length of 1.- Specified by:
createProjection
in classMapProjection
- Parameters:
parameters
- the group of parameter values.- Returns:
- the map projection created from the given parameter values.
-