Class PolarStereographicA
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.AbstractStereographic
org.apache.sis.internal.referencing.provider.PolarStereographicA
- All Implemented Interfaces:
Serializable
,Formattable
,MathTransformProvider
,Deprecable
,LenientComparable
,org.opengis.referencing.IdentifiedObject
,org.opengis.referencing.operation.OperationMethod
The provider for "Polar Stereographic (Variant A)" projection (EPSG:9810).
Also used for the definition of Universal Polar Stereographic (UPS) projection.
- Since:
- 0.6
- Version:
- 1.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The EPSG identifier, to be preferred to the name when available.static final org.opengis.parameter.ParameterDescriptor
<Double> The operation parameter descriptor for the Latitude of natural origin (φ₀) parameter value.static final org.opengis.parameter.ParameterDescriptor
<Double> The operation parameter descriptor for the Longitude of natural origin (λ₀) parameter value.static final String
The EPSG name for this projection.(package private) static final org.opengis.parameter.ParameterDescriptorGroup
The group of all parameters expected by this coordinate operation.static final org.opengis.parameter.ParameterDescriptor
<Double> The operation parameter descriptor for the Scale factor at natural origin (k₀) parameter value.private static final long
For cross-version compatibility.static final int
False Easting and false Northing value used in Universal Polar Stereographic (UPS) projections.Fields inherited from class org.apache.sis.internal.referencing.provider.AbstractStereographic
FALSE_EASTING, FALSE_NORTHING
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
isUPS
(org.opengis.parameter.ParameterValueGroup group) If the given parameter values are those of a Universal Polar Stereographic projection, returns -1 for South pole or +1 for North pole.static String
setParameters
(org.opengis.parameter.ParameterValueGroup group, boolean north) Sets the parameter values for a Universal Polar Stereographic projection and returns a suggested conversion name.Methods inherited from class org.apache.sis.internal.referencing.provider.AbstractStereographic
createProjection
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:
-
NAME
The EPSG name for this projection.- See Also:
-
IDENTIFIER
The EPSG identifier, to be preferred to the name when available.- See Also:
-
LATITUDE_OF_ORIGIN
The operation parameter descriptor for the Latitude of natural origin (φ₀) parameter value. Valid values can be -90° or 90° only. There is no default value.Parameter names EPSG: Latitude of natural origin OGC: latitude_of_origin ESRI: Latitude_Of_Origin NetCDF: latitude_of_projection_origin GeoTIFF: NatOriginLat Proj4: lat_0 - No default value
-
LONGITUDE_OF_ORIGIN
The operation parameter descriptor for the Longitude of natural origin (λ₀) parameter value. Valid values range is [-180 … 180]° and default value is 0°.Parameter names EPSG: Longitude of natural origin OGC: central_meridian ESRI: Central_Meridian NetCDF: longitude_of_projection_origin GeoTIFF: StraightVertPoleLong Proj4: lon_0 -
SCALE_FACTOR
The operation parameter descriptor for the Scale factor at natural origin (k₀) parameter value. Valid values range is (0 … ∞) and default value is 1.Parameter names EPSG: Scale factor at natural origin OGC: scale_factor ESRI: Scale_Factor NetCDF: scale_factor_at_projection_origin GeoTIFF: ScaleAtNatOrigin Proj4: k -
PARAMETERS
static final org.opengis.parameter.ParameterDescriptorGroup PARAMETERSThe group of all parameters expected by this coordinate operation. -
UPS_SHIFT
public static final int UPS_SHIFTFalse Easting and false Northing value used in Universal Polar Stereographic (UPS) projections. Represented as an integer for the convenience of Military Grid Reference System (MGRS) or other grid systems.- See Also:
-
-
Constructor Details
-
PolarStereographicA
public PolarStereographicA()Constructs a new provider.
-
-
Method Details
-
setParameters
Sets the parameter values for a Universal Polar Stereographic projection and returns a suggested conversion name.Universal Polar Stereographic parameters Parameter name Value Latitude of natural origin 90°N or 90°S Longitude of natural origin 0° Scale factor at natural origin 0.994 False easting 2000000 metres False northing 2000000 metres - Parameters:
group
- the parameters for which to set the values.north
-true
for North pole, orfalse
for South pole.- Returns:
- a name like "Universal Polar Stereographic North", depending on the arguments given to this method.
- Since:
- 0.8
-
isUPS
public static int isUPS(org.opengis.parameter.ParameterValueGroup group) If the given parameter values are those of a Universal Polar Stereographic projection, returns -1 for South pole or +1 for North pole. Otherwise returns 0. It is caller's responsibility to verify that the operation method is "Polar Stereographic (variant A)".- Parameters:
group
- the Transverse Mercator projection parameters.- Returns:
- +1 if UPS north, -1 if UPS south, or 0 if the given parameters are not for a UPS projection.
- Since:
- 0.8
-