| org.geotools.referencing.operation.projection.MapProjection org.geotools.referencing.operation.projection.Stereographic org.geotools.referencing.operation.projection.StereographicUSGS org.geotools.referencing.operation.projection.ObliqueStereographic
ObliqueStereographic | public class ObliqueStereographic extends StereographicUSGS (Code) | | Provides the transform equations for the Oblique Stereographic (EPSG code 9809).
The formulas used below are not from the EPSG, but rather those of the
"Oblique Stereographic Alternative" in the
libproj4 package
written by Gerald Evenden. His work is acknowledged here and greatly appreciated.
The forward equations used in
libproj4 are the same as those given in the
UNB reports for the Double Stereographic. The inverse equations are similar,
but use different methods to iterate for the latitude.
References:
-
libproj4 is available at
libproj4 Miscellanea
Relevent files are:
PJ_sterea.c ,
pj_gauss.c ,
pj_fwd.c ,
pj_inv.c and
lib_proj.h
- Gerald Evenden.
"Supplementary PROJ.4 Notes - Oblique Stereographic Alternative"
- "Coordinate Conversions and Transformations including Formulas",
EPSG Guidence Note Number 7, Version 19.
- Krakiwsky, E.J., D.B. Thomson, and R.R. Steeves. 1977. A Manual
For Geodetic Coordinate Transformations in the Maritimes.
Geodesy and Geomatics Engineering, UNB. Technical Report No. 48.
- Thomson, D.B., M.P. Mepham and R.R. Steeves. 1977.
The Stereographic Double Projection.
Surveying Engineering, University of New Brunswick. Technical Report No. 46.
since: 2.4 version: $Id: ObliqueStereographic.java 24576 2007-02-24 00:07:40Z desruisseaux $ author: Rueben Schulz |
Constructor Summary | |
protected | ObliqueStereographic(ParameterValueGroup parameters) Constructs an oblique stereographic projection (EPSG equations). | | ObliqueStereographic(ParameterValueGroup parameters, ParameterDescriptorGroup descriptor) Constructs an oblique stereographic projection (EPSG equations). |
Method Summary | |
protected Point2D | inverseTransformNormalized(double x, double y, Point2D ptDst) Transforms the specified (x,y) coordinates
and stores the result in
ptDst . | protected Point2D | transformNormalized(double x, double y, Point2D ptDst) Transforms the specified (λ,φ) coordinates
(units in radians) and stores the result in
ptDst (linear distance
on a unit sphere). |
ObliqueStereographic | protected ObliqueStereographic(ParameterValueGroup parameters) throws ParameterNotFoundException(Code) | | Constructs an oblique stereographic projection (EPSG equations).
Parameters: parameters - The group of parameter values. throws: ParameterNotFoundException - if a required parameter was not found. |
ObliqueStereographic | ObliqueStereographic(ParameterValueGroup parameters, ParameterDescriptorGroup descriptor) throws ParameterNotFoundException(Code) | | Constructs an oblique stereographic projection (EPSG equations).
Parameters: parameters - The group of parameter values. Parameters: descriptor - The expected parameter descriptor. throws: ParameterNotFoundException - if a required parameter was not found. |
inverseTransformNormalized | protected Point2D inverseTransformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code) | | Transforms the specified (x,y) coordinates
and stores the result in
ptDst .
|
transformNormalized | protected Point2D transformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code) | | Transforms the specified (λ,φ) coordinates
(units in radians) and stores the result in
ptDst (linear distance
on a unit sphere).
|
Fields inherited from org.geotools.referencing.operation.projection.StereographicUSGS | final double k0sinphi0cosphi0chi1sinChi1cosChi1(Code)(Java Doc)
|
Methods inherited from org.geotools.referencing.operation.projection.Stereographic | public boolean equals(Object object)(Code)(Java Doc) public ParameterDescriptorGroup getParameterDescriptors()(Code)(Java Doc)
|
Methods inherited from org.geotools.referencing.operation.projection.MapProjection | static boolean checkInverseTransform(double longitude, double latitude, Point2D expected, double tolerance)(Code)(Java Doc) static boolean checkInverseTransform(double longitude, double latitude, Point2D expected)(Code)(Java Doc) static boolean checkTransform(double x, double y, Point2D expected, double tolerance)(Code)(Java Doc) static boolean checkTransform(double x, double y, Point2D expected)(Code)(Java Doc) final double cphi2(double ts) throws ProjectionException(Code)(Java Doc) final double doubleValue(Collection expected, ParameterDescriptor param, ParameterValueGroup group) throws ParameterNotFoundException(Code)(Java Doc) static void ensureLatitudeEquals(ParameterDescriptor name, double y, double expected) throws IllegalArgumentException(Code)(Java Doc) static void ensureLatitudeInRange(ParameterDescriptor name, double y, boolean edge) throws IllegalArgumentException(Code)(Java Doc) static void ensureLongitudeInRange(ParameterDescriptor name, double x, boolean edge) throws IllegalArgumentException(Code)(Java Doc) final void ensureSpherical() throws IllegalArgumentException(Code)(Java Doc) public boolean equals(Object object)(Code)(Java Doc) static boolean equals(double value1, double value2)(Code)(Java Doc) abstract public ParameterDescriptorGroup getParameterDescriptors()(Code)(Java Doc) public ParameterValueGroup getParameterValues()(Code)(Java Doc) final public int getSourceDimensions()(Code)(Java Doc) final public int getTargetDimensions()(Code)(Java Doc) protected double getToleranceForAssertions(double longitude, double latitude)(Code)(Java Doc) public int hashCode()(Code)(Java Doc) final public MathTransform inverse()(Code)(Java Doc) abstract protected Point2D inverseTransformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code)(Java Doc) boolean isExpectedParameter(Collection expected, ParameterDescriptor param)(Code)(Java Doc) final double msfn(double s, double c)(Code)(Java Doc) final void set(Collection expected, ParameterDescriptor param, ParameterValueGroup group, double value)(Code)(Java Doc) final public Point2D transform(Point2D ptSrc, Point2D ptDst) throws ProjectionException(Code)(Java Doc) final public void transform(double[] src, int srcOffset, double[] dest, int dstOffset, int numPts) throws ProjectionException(Code)(Java Doc) final public void transform(float[] src, int srcOffset, float[] dest, int dstOffset, int numPts) throws ProjectionException(Code)(Java Doc) abstract protected Point2D transformNormalized(double x, double y, Point2D ptDst) throws ProjectionException(Code)(Java Doc) final double tsfn(double phi, double sinphi)(Code)(Java Doc)
|
|
|