Class GeostationarySatellite
- Object
-
- Formattable
-
- AbstractMathTransform
-
- MapProjection
-
- GeostationarySatellite
-
- All Implemented Interfaces:
Serializable
,MathTransform
,MathTransform2D
- Direct Known Subclasses:
GeostationarySatellite.Ellipsoidal
,GeostationarySatellite.Spherical
public abstract class GeostationarySatellite extends MapProjection
The Geostationary Satellite ProjectionAdapted from https://github.com/OSGeo/proj.4/blob/4.9/src/PJ_geos.c
NOTE: Not all valid coordinates in this projection will transform to valid terrestrial coordinates, this is especially true of "Full Disk" earth coverages. If one must deal with coverages in this projection with generalized code which requires the coverage bounding-box coordinates to transform to valid terrestrial values consider clipping to a rectangle inscribing the ellipsoid.
- Author:
- Tom Kunicki
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GeostationarySatellite.Ellipsoidal
static class
GeostationarySatellite.Provider
static class
GeostationarySatellite.Spherical
-
Nested classes/interfaces inherited from class MapProjection
MapProjection.AbstractProvider
-
-
Field Summary
-
Fields inherited from class MapProjection
centralMeridian, en0, en1, en2, en3, en4, excentricity, excentricitySquared, falseEasting, falseNorthing, globalScale, invertible, isSpherical, latitudeOfOrigin, LOGGER, scaleFactor, semiMajor, semiMinor, SKIP_SANITY_CHECKS
-
Fields inherited from class Formattable
SINGLE_LINE
-
-
Constructor Summary
Constructors Constructor Description GeostationarySatellite(ParameterValueGroup parameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Bounds
circumscribeFullDisk(CoordinateReferenceSystem geosCRS)
Circumscribed rectangle (smallest) for full disk earth imageboolean
equals(Object object)
Compares the specified object with this map projection for equality.ParameterDescriptorGroup
getParameterDescriptors()
Returns the parameter descriptors for this map projection.ParameterValueGroup
getParameterValues()
Returns the parameter values for this map projection.int
hashCode()
Returns a hash value for this map projection.static Bounds
inscribeFullDiskEstimate(CoordinateReferenceSystem geosCRS)
Inscribed rectangle for for full disk earth image (not largest inscribing rectangle but close, hence "Estimate")-
Methods inherited from class MapProjection
checkReciprocal, getSourceDimensions, getTargetDimensions, getToleranceForAssertions, inv_mlfn, inverse, inverseTransformNormalized, mlfn, orthodromicDistance, resetWarnings, transform, transform, transform, transformNormalized
-
Methods inherited from class AbstractMathTransform
createTransformedShape, derivative, derivative, ensureNonNull, formatWKT, getName, isIdentity, needCopy, normalizeAngle, rollLongitude, transform, transform, transform
-
Methods inherited from class Formattable
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
-
Methods inherited from interface MathTransform
derivative, isIdentity, toWKT, transform, transform, transform
-
Methods inherited from interface MathTransform2D
createTransformedShape, derivative
-
-
-
-
Constructor Detail
-
GeostationarySatellite
public GeostationarySatellite(ParameterValueGroup parameters) throws ParameterNotFoundException
- Throws:
ParameterNotFoundException
-
-
Method Detail
-
getParameterDescriptors
public ParameterDescriptorGroup getParameterDescriptors()
Description copied from class:MapProjection
Returns the parameter descriptors for this map projection. This is used for a providing a default implementation ofMapProjection.getParameterValues()
, as well as arguments checking.- Specified by:
getParameterDescriptors
in classMapProjection
- Returns:
- The parameter descriptors for this math transform, or
null
. - See Also:
OperationMethod.getParameters()
-
getParameterValues
public ParameterValueGroup getParameterValues()
Description copied from class:MapProjection
Returns the parameter values for this map projection.- Overrides:
getParameterValues
in classMapProjection
- Returns:
- A copy of the parameter values for this map projection.
- See Also:
Operation.getParameterValues()
-
equals
public boolean equals(Object object)
Description copied from class:MapProjection
Compares the specified object with this map projection for equality.- Overrides:
equals
in classMapProjection
- Parameters:
object
- The object to compare with this transform.- Returns:
true
if the given object is a transform of the same class and if, given identical source position, the transformed position would be the equals.
-
hashCode
public int hashCode()
Description copied from class:MapProjection
Returns a hash value for this map projection.- Overrides:
hashCode
in classMapProjection
-
circumscribeFullDisk
public static Bounds circumscribeFullDisk(CoordinateReferenceSystem geosCRS) throws TransformException, FactoryException
Circumscribed rectangle (smallest) for full disk earth image- Throws:
TransformException
FactoryException
-
inscribeFullDiskEstimate
public static Bounds inscribeFullDiskEstimate(CoordinateReferenceSystem geosCRS) throws TransformException, FactoryException
Inscribed rectangle for for full disk earth image (not largest inscribing rectangle but close, hence "Estimate")- Throws:
TransformException
FactoryException
-
-