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
All Implemented Interfaces:
Object, TypedObjectNode, CRSResource, IConicProjection, ILambertConformalConic, IProjection

public class LambertConformalConic
extends ConicProjection
implements ILambertConformalConic

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: 30120 $, $Date: 2011-03-22 10:04:15 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Constructor Summary
LambertConformalConic(double firstParallelLatitude, double secondParallelLatitude, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit 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, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, CRSResource 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, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale)
           
LambertConformalConic(double firstParallelLatitude, double secondParallelLatitude, double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale, CRSResource id)
           
LambertConformalConic(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
LambertConformalConic(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, CRSResource id)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
LambertConformalConic(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
LambertConformalConic(double falseNorthing, double falseEasting, javax.vecmath.Point2d naturalOrigin, IUnit units, double scale, CRSResource id)
          Creates a Lambert Conformal projection with a tangential cone at the naturalOrigin.y's latitude.
 
Method Summary
 javax.vecmath.Point2d doInverseProjection(IGeographicCRS geographicCRS, double x, double y)
          Do an inverse projection from projected (map) coordinates to geographic coordinates.
 javax.vecmath.Point2d doProjection(IGeographicCRS geographicCRS, double lambda, double phi)
          The actual transform method doing a projection from geographic coordinates to map coordinates.
 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, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, 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, getId, 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
 
Methods inherited from interface org.deegree.cs.projections.conic.IConicProjection
getFirstParallelLatitude, getSecondParallelLatitude
 
Methods inherited from interface org.deegree.cs.projections.IProjection
getCosphi0, getEccentricity, getEllipsoid, getFalseEasting, getFalseNorthing, getNaturalOrigin, getPrimeMeridian, getProjectionLatitude, getProjectionLongitude, getScale, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getSinphi0, getSquaredEccentricity, getUnits, isConformal, isEqualArea, isSpherical, setFalseEasting, setScale
 
Methods inherited from interface org.deegree.cs.CRSResource
addAreaOfUse, addName, getAreaOfUse, getAreaOfUseBBox, getAreasOfUse, getCode, getCodeAndName, getCodes, getDescription, getDescriptions, getName, getNames, getOrignalCodeStrings, getVersion, getVersions, hasCode, hasId, hasIdOrName, setDefaultAreaOfUse, setDefaultDescription, setDefaultId, setDefaultName, setDefaultVersion
 
Methods inherited from interface org.deegree.commons.tom.Object
getId
 

Constructor Detail

LambertConformalConic

public LambertConformalConic(double firstParallelLatitude,
                             double secondParallelLatitude,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit units,
                             double scale,
                             CRSResource 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,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit 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(double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit units,
                             double scale,
                             CRSResource 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(double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit 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,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit units,
                             CRSResource 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,
                             double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit 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(double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit units,
                             CRSResource 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(double falseNorthing,
                             double falseEasting,
                             javax.vecmath.Point2d naturalOrigin,
                             IUnit 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(IGeographicCRS geographicCRS,
                                                 double x,
                                                 double y)
Description copied from class: Projection
Do an inverse projection from projected (map) coordinates to geographic coordinates.

Specified by:
doInverseProjection in interface IProjection
Specified by:
doInverseProjection in class Projection
x - coordinate on the map
y - coordinate on the map
Returns:
the projected Point with x = lambda and y = phi;
See Also:
org.deegree.cs.projections.Projection#doInverseProjection(double, double)

doProjection

public javax.vecmath.Point2d doProjection(IGeographicCRS geographicCRS,
                                          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 interface IProjection
Specified by:
doProjection in class Projection
lambda - the longitude
phi - the latitude
Returns:
the projected Point or Point(Double.NAN, Double.NAN) if an error occurred.
See Also:
org.deegree.cs.projections.Projection#doProjection(double, double)

getImplementationName

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


Copyright © 2011. All Rights Reserved.