org.geotools.ct.proj
Class AlbersEqualArea

java.lang.Object
  extended byorg.geotools.ct.AbstractMathTransform
      extended byorg.geotools.ct.proj.MapProjection
          extended byorg.geotools.ct.proj.ConicProjection
              extended byorg.geotools.ct.proj.AlbersEqualArea
All Implemented Interfaces:
MathTransform, MathTransform2D, java.io.Serializable

Deprecated. Replaced by AlbersEqualArea.

public class AlbersEqualArea
extends ConicProjection

Albers Equal Area Projection (EPSG code 9822). This is a conic projection with parallels being unequally spaced arcs of concentric circles, more closely spaced at north and south edges of the map. Merideans are equally spaced radii of the same circles and intersect parallels at right angles. As the name implies, this projection minimizes distortion in areas.

NOTE: formulae used below are from a port, to java, of the 'proj' package of the USGS survey. USGS work is acknowledged here.

References:

Version:
$Id: AlbersEqualArea.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Rueben Schulz
See Also:
Albers Equal-Area Conic Projection on MathWorld, "Albers_Conic_Equal_Area" on www.remotesensing.org, British Columbia Albers Standard Projection, Serialized Form

Field Summary
 
Fields inherited from class org.geotools.ct.proj.MapProjection
centralMeridian, e, es, falseEasting, falseNorthing, globalScale, isSpherical, latitudeOfOrigin, scaleFactor, semiMajor, semiMinor
 
Fields inherited from interface org.geotools.ct.MathTransform2D
IDENTITY
 
Constructor Summary
protected AlbersEqualArea(Projection parameters)
          Deprecated. Construct a new map projection from the supplied parameters.
 
Method Summary
 boolean equals(java.lang.Object object)
          Deprecated. Compares the specified object with this map projection for equality.
 java.lang.String getName(java.util.Locale locale)
          Deprecated. Returns a human readable name localized for the specified locale.
 int hashCode()
          Deprecated. Returns a hash value for this projection.
protected  java.awt.geom.Point2D inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Deprecated. Transforms the specified (x,y) coordinate and stores the result in ptDst.
protected  java.awt.geom.Point2D transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Deprecated. Transforms the specified (x,y) coordinate (units in radians) and stores the result in ptDst (linear distance on a unit sphere).
 
Methods inherited from class org.geotools.ct.proj.MapProjection
getDimSource, getDimTarget, inverse, toString, transform, transform, transform
 
Methods inherited from class org.geotools.ct.AbstractMathTransform
createTransformedShape, derivative, derivative, fromGeoAPI, isIdentity, transform
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geotools.ct.MathTransform2D
createTransformedShape, derivative
 
Methods inherited from interface org.geotools.ct.MathTransform
derivative, isIdentity, transform
 

Constructor Detail

AlbersEqualArea

protected AlbersEqualArea(Projection parameters)
                   throws MissingParameterException
Deprecated. 
Construct a new map projection from the supplied parameters.

Parameters:
parameters - The parameter values in standard units.
Throws:
MissingParameterException - if a mandatory parameter is missing.
Method Detail

getName

public java.lang.String getName(java.util.Locale locale)
Deprecated. 
Returns a human readable name localized for the specified locale.

Specified by:
getName in class MapProjection

transformNormalized

protected java.awt.geom.Point2D transformNormalized(double x,
                                                    double y,
                                                    java.awt.geom.Point2D ptDst)
                                             throws ProjectionException
Deprecated. 
Transforms the specified (x,y) coordinate (units in radians) and stores the result in ptDst (linear distance on a unit sphere).

Specified by:
transformNormalized in class MapProjection
Parameters:
x - The longitude of the coordinate, in radians.
y - The latitude of the coordinate, in radians.
ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in a dimensionless unit, as a linear distance on a unit sphere or ellipse.
Returns:
the coordinate point after transforming x, y and storing the result in ptDst.
Throws:
ProjectionException - if the point can't be transformed.

inverseTransformNormalized

protected java.awt.geom.Point2D inverseTransformNormalized(double x,
                                                           double y,
                                                           java.awt.geom.Point2D ptDst)
                                                    throws ProjectionException
Deprecated. 
Transforms the specified (x,y) coordinate and stores the result in ptDst.

Specified by:
inverseTransformNormalized in class MapProjection
Parameters:
x - The easting of the coordinate, linear distance on a unit sphere or ellipse.
y - The northing of the coordinate, linear distance on a unit sphere or ellipse.
ptDst - the specified coordinate point that stores the result of transforming ptSrc, or null. Ordinates will be in radians.
Returns:
the coordinate point after transforming x, y and storing the result in ptDst.
Throws:
ProjectionException - if the point can't be transformed.

hashCode

public int hashCode()
Deprecated. 
Returns a hash value for this projection.

Overrides:
hashCode in class MapProjection

equals

public boolean equals(java.lang.Object object)
Deprecated. 
Compares the specified object with this map projection for equality.

Overrides:
equals in class MapProjection


Copyright © GeoTools. All Rights Reserved.