Class LambertAzimuthalEqualArea
java.lang.Object
org.openstreetmap.josm.data.projection.proj.AbstractProj
org.openstreetmap.josm.data.projection.proj.LambertAzimuthalEqualArea
- All Implemented Interfaces:
Proj
Lambert Azimuthal Equal Area (EPSG code 9820).
This class has been derived from the implementation of the Geotools project; git 8cbf52d, org.geotools.referencing.operation.projection.LambertAzimuthalEqualArea at the time of migration.
References:
- A. Annoni, C. Luzet, E.Gubler and J. Ihde - Map Projections for Europe
- John P. Snyder (Map Projections - A Working Manual, U.S. Geological Survey Professional Paper 1395)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static enumThe projection mode. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleCoefficients for authalic latitude.private doubleCoefficients for authalic latitude.private doubleCoefficients for authalic latitude.private doubleConstant parameters.private doubleConstant parameters.private static final doubleMaximum difference allowed when comparing real numbers.private static final doubleEpsilon for the comparison of latitudes.private static final doubleEpsilon for the comparison of small quantities.private doubleprivate LambertAzimuthalEqualArea.ModeThe projection mode for this particular instance.private static final doubleConstants for authalic latitude.private static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doubleprivate doubleConstant parameters.private doubleConstant parameters.private doubleConstant parameters.private doubleConstant parameters.private doubleConstant parameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate doubleauthlat(double beta) Determines latitude from authalic latitude.Return the bounds where this projection is applicable.getName()Replies a human readable name of this projection.Replies the Proj.4 identifier.voidinitialize(ProjParameters params) Initialize the projection using the provided parameters.double[]invproject(double x, double y) Convert east/north to lat/lon.private double[]invprojectEO(double x, double y) private double[]invprojectNS(double x, double y) double[]project(double phi, double lambda) Convert lat/lon to east/north.private doubleqsfn(double sinphi) Calculates q, Snyder equation (3-12)Methods inherited from class org.openstreetmap.josm.data.projection.proj.AbstractProj
aasin, cphi2, invMlfn, isGeographic, mlfn, msfn, tsfnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openstreetmap.josm.data.projection.proj.Proj
lonIsLinearToEast
-
Field Details
-
EPSILON
Maximum difference allowed when comparing real numbers.- See Also:
-
FINE_EPSILON
Epsilon for the comparison of small quantities.- See Also:
-
EPSILON_LATITUDE
Epsilon for the comparison of latitudes.- See Also:
-
P00
Constants for authalic latitude.- See Also:
-
P01
- See Also:
-
P02
- See Also:
-
P10
- See Also:
-
P11
- See Also:
-
P20
- See Also:
-
mode
The projection mode for this particular instance. -
sinb1
Constant parameters. -
cosb1
Constant parameters. -
xmf
Constant parameters. -
ymf
Constant parameters. -
qp
Constant parameters. -
dd
Constant parameters. -
rq
Constant parameters. -
aPA0
Coefficients for authalic latitude. -
aPA1
Coefficients for authalic latitude. -
aPA2
Coefficients for authalic latitude. -
latitudeOfOrigin
-
-
Constructor Details
-
LambertAzimuthalEqualArea
public LambertAzimuthalEqualArea()
-
-
Method Details
-
getName
Description copied from interface:ProjReplies a human readable name of this projection.- Returns:
- The projection name. must not be null.
-
getProj4Id
Description copied from interface:ProjReplies the Proj.4 identifier.- Returns:
- The Proj.4 identifier (as reported by cs2cs -lp).
If no id exists, return
null.
-
initialize
Description copied from interface:ProjInitialize the projection using the provided parameters.- Specified by:
initializein interfaceProj- Overrides:
initializein classAbstractProj- Parameters:
params- The projection parameters- Throws:
ProjectionConfigurationException- in case parameters are not suitable
-
project
Description copied from interface:ProjConvert lat/lon to east/north.- Parameters:
phi- the latitude in radianslambda- the longitude in radians- Returns:
- array of length 2, containing east and north value in meters, divided by the semi major axis of the ellipsoid.
-
invproject
Description copied from interface:ProjConvert east/north to lat/lon.- Parameters:
x- east value in meters, divided by the semi major axis of the ellipsoidy- north value in meters, divided by the semi major axis of the ellipsoid- Returns:
- array of length 2, containing lat and lon in radians.
-
invprojectEO
-
invprojectNS
-
qsfn
Calculates q, Snyder equation (3-12)- Parameters:
sinphi- sin of the latitude q is calculated for.- Returns:
- q from Snyder equation (3-12).
-
authlat
Determines latitude from authalic latitude.- Parameters:
beta- authalic latitude- Returns:
- corresponding latitude
-
getAlgorithmBounds
Description copied from interface:ProjReturn the bounds where this projection is applicable. This is a fallback for when the projection bounds are not specified explicitly. In this area, the round trip lat/lon → east/north → lat/lon should return the starting value with small error. In addition, regions with extreme distortions should be excluded, if possible. It need not be the absolute maximum, but rather an area that is safe to display in JOSM and contain everything that one would expect to use.- Returns:
- the bounds where this projection is applicable, null if unknown
-