org.deegree.cs.projections.conic
Class LambertConformalConic

java.lang.Object
  extended by org.deegree.cs.CRSIdentifiable
      extended by org.deegree.cs.projections.Projection
          extended by org.deegree.cs.projections.conic.ConicProjection
              extended by org.deegree.cs.projections.conic.LambertConformalConic

public class LambertConformalConic
extends ConicProjection

The LambertConformalConic projection has following properties (Snyder p. 104)

from: http://lists.maptools.org/pipermail/proj/2003-January/000592.html For east-west regions, the Lambert Conformal Conic is slightly better than the Transverse Mercator because of the ability to go farther in an east-west direction and still be able to have "round-trip" transformation accuracy. Geodetically speaking, it is NOT as good as the transverse Mercator.

It is known to be used by following epsg transformations:

Version:
$Revision: 23539 $, $Date: 2010-04-12 13:24:29 +0200 (Mo, 12. Apr 2010) $
Author:
Rutger Bezema, last edited by: $Author: rbezema $

Constructor Summary
LambertConformalConic(double firstParallelLatitude, double secondParallelLatitude, GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units)
          Creates a Lambert Conformal projection with a intersecting cone at the given parallel latitudes. and a scale of 1.
LambertConformalConic(double firstParallelLatitude, double secondParallelLatitude, GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, CRSIdentifiable id)
          Creates a Lambert Conformal projection with a intersecting cone at the given parallel latitudes. and a scale of 1.
LambertConformalConic(double firstParallelLatitude, double secondParallelLatitude, GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, double scale)
           
LambertConformalConic(double firstParallelLatitude, double secondParallelLatitude, GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, double scale, CRSIdentifiable id)
           
LambertConformalConic(GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
LambertConformalConic(GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, CRSIdentifiable id)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
LambertConformalConic(GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, double scale)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
LambertConformalConic(GeographicCRS geographicCRS, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, Unit units, double scale, CRSIdentifiable id)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
 
Method Summary
 Projection clone(GeographicCRS newCRS)
          Creates a copy of this projection with the given GeographicCRS as the base.
 javax.vecmath.Point2d doInverseProjection(double x, double y)
          Do an inverse projection from projected (map) coordinates to geographic coordinates.
 javax.vecmath.Point2d doProjection(double lambda, double phi)
          The actual transform method doing a projection from geographic coordinates to map coordinates.
 java.lang.String getImplementationName()
           
 
Methods inherited from class org.deegree.cs.projections.conic.ConicProjection
equals, getFirstParallelLatitude, getSecondParallelLatitude, hashCode
 
Methods inherited from class org.deegree.cs.projections.Projection
getCosphi0, getDatum, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getGeographicCRS, getNaturalOrigin, getPrimeMeridian, getProjectionLatitude, getProjectionLongitude, getScale, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getSinphi0, getSquaredEccentricity, getUnits, isConformal, isEqualArea, isSpherical, setFalseEasting, setScale, toString
 
Methods inherited from class org.deegree.cs.CRSIdentifiable
addAreaOfUse, addName, checkForNullObject, checkForNullObject, checkForNullObject, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LambertConformalConic

public LambertConformalConic(double firstParallelLatitude,
                             double secondParallelLatitude,
                             GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units,
                             double scale,
                             CRSIdentifiable id)
Parameters:
firstParallelLatitude - the latitude (in radians) of the first parallel. (Snyder phi_1).
secondParallelLatitude - the latitude (in radians) of the second parallel. (Snyder phi_2).
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
scale -
id - an identifiable instance containing information about this projection

LambertConformalConic

public LambertConformalConic(double firstParallelLatitude,
                             double secondParallelLatitude,
                             GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units,
                             double scale)
Parameters:
firstParallelLatitude - the latitude (in radians) of the first parallel. (Snyder phi_1).
secondParallelLatitude - the latitude (in radians) of the second parallel. (Snyder phi_2).
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
scale -

LambertConformalConic

public LambertConformalConic(GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units,
                             double scale,
                             CRSIdentifiable id)
Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.

Parameters:
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
scale -
id - an identifiable instance containing information about this projection

LambertConformalConic

public LambertConformalConic(GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units,
                             double scale)
Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.

Parameters:
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
scale -

LambertConformalConic

public LambertConformalConic(double firstParallelLatitude,
                             double secondParallelLatitude,
                             GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units,
                             CRSIdentifiable id)
Creates a Lambert Conformal projection with a intersecting cone at the given parallel latitudes. and a scale of 1.

Parameters:
firstParallelLatitude - the latitude (in radians) of the first parallel. (Snyder phi_1).
secondParallelLatitude - the latitude (in radians) of the second parallel. (Snyder phi_2).
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
id - an identifiable instance containing information about this projection

LambertConformalConic

public LambertConformalConic(double firstParallelLatitude,
                             double secondParallelLatitude,
                             GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units)
Creates a Lambert Conformal projection with a intersecting cone at the given parallel latitudes. and a scale of 1.

Parameters:
firstParallelLatitude - the latitude (in radians) of the first parallel. (Snyder phi_1).
secondParallelLatitude - the latitude (in radians) of the second parallel. (Snyder phi_2).
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -

LambertConformalConic

public LambertConformalConic(GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units,
                             CRSIdentifiable id)
Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude. And a scale of 1.

Parameters:
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
id - an identifiable instance containing information about this projection

LambertConformalConic

public LambertConformalConic(GeographicCRS geographicCRS,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             Unit units)
Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude. And a scale of 1.

Parameters:
geographicCRS -
falseNorthing -
falseEasting -
naturalOrigin -
units -
Method Detail

doInverseProjection

public javax.vecmath.Point2d doInverseProjection(double x,
                                                 double y)
Description copied from class: Projection
Do an inverse projection from projected (map) coordinates to geographic coordinates.

Specified by:
doInverseProjection in class Projection
Parameters:
x - coordinate on the map
y - coordinate on the map
Returns:
the projected Point with x = lambda and y = phi;
See Also:
Projection.doInverseProjection(double, double)

doProjection

public javax.vecmath.Point2d doProjection(double lambda,
                                          double phi)
Description copied from class: Projection
The actual transform method doing a projection from geographic coordinates to map coordinates.

Specified by:
doProjection in class Projection
Parameters:
lambda - the longitude
phi - the latitude
Returns:
the projected Point or Point(Double.NAN, Double.NAN) if an error occurred.
See Also:
Projection.doProjection(double, double)

getImplementationName

public java.lang.String getImplementationName()
Specified by:
getImplementationName in class Projection
Returns:
A deegree specific name which will be used for the export of a projection.

clone

public Projection clone(GeographicCRS newCRS)
Description copied from class: Projection
Creates a copy of this projection with the given GeographicCRS as the base.

Specified by:
clone in class Projection
Parameters:
newCRS - the new GeographicCRS
Returns:
a copy of this projection based upon the given crs.


Copyright © 2011. All Rights Reserved.