Interface ProjectionVariant
- All Known Implementing Classes:
CassiniSoldner.Variant
,CylindricalEqualArea.Variant
,LambertConicConformal.Variant
,Mercator.Variant
,Mollweide.Variant
,ObliqueMercator.Variant
,PolarStereographic.Variant
,Sinusoidal.Variant
,TransverseMercator.Variant
interface ProjectionVariant
Variant of the map projection used. This interface is implemented by enumerations
in
NormalizedProjection
sub-classes that support many variants.- Since:
- 1.2
- Version:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptionReturns the EPSG identifier to compare against the operation method.Returns the regular expression pattern to use for determining if the name of an operation method identifies this variant.default boolean
Whether this variant is a spherical variant using authalic radius.
-
Method Details
-
getOperationNamePattern
Pattern getOperationNamePattern()Returns the regular expression pattern to use for determining if the name of an operation method identifies this variant.- Returns:
- the operation name pattern for this variant, or
null
if none.
-
getIdentifier
String getIdentifier()Returns the EPSG identifier to compare against the operation method. If non-null, the identifier is presumed in the EPSG namespace and has precedence over the pattern.- Returns:
- EPSG identifier for this variant, or
null
if none.
-
useAuthalicRadius
default boolean useAuthalicRadius()Whether this variant is a spherical variant using authalic radius. This method can be overridden for handling authalic radius, but not conformance sphere radius. The latter is handled byNormalizedProjection.ParameterRole.LATITUDE_OF_CONFORMAL_SPHERE_RADIUS
.- Returns:
- whether this variant is a spherical variant using authalic radius.
-