public class LambertConformalConic extends AbstractProj
| Modifier and Type | Class and Description |
|---|---|
static class |
LambertConformalConic.Parameters |
static class |
LambertConformalConic.Parameters1SP |
static class |
LambertConformalConic.Parameters2SP |
| Modifier and Type | Field and Description |
|---|---|
protected Ellipsoid |
ellps |
protected static double |
epsilon
precision in iterative schema
|
protected double |
f
projection factor
|
protected double |
n
projection exponent
|
private LambertConformalConic.Parameters |
params |
protected double |
r0
radius of the parallel of latitude of the false origin (2SP) or at
natural origin (1SP)
|
| Constructor and Description |
|---|
LambertConformalConic() |
| Modifier and Type | Method and Description |
|---|---|
Bounds |
getAlgorithmBounds()
Return the bounds where this projection is applicable.
|
java.lang.String |
getName()
Replies a human readable name of this projection.
|
LambertConformalConic.Parameters |
getParameters() |
java.lang.String |
getProj4Id()
Replies the Proj.4 identifier.
|
void |
initialize(ProjParameters params)
Initialize the projection using the provided parameters.
|
private void |
initialize1SP(double lat0)
Initialize for LCC with 1 standard parallel.
|
private void |
initialize2SP(double lat0,
double lat1,
double lat2)
Initialize for LCC with 2 standard parallels.
|
double[] |
invproject(double east,
double north)
Convert east/north to lat/lon.
|
protected double |
m(double latRad)
auxiliary function m
|
double[] |
project(double phi,
double lambda)
Convert lat/lon to east/north.
|
protected double |
t(double latRad)
auxiliary function t
|
cphi2, inv_mlfn, isGeographic, mlfn, msfn, tsfnprivate LambertConformalConic.Parameters params
protected double n
protected double f
protected double r0
protected static final double epsilon
public LambertConformalConic()
public void initialize(ProjParameters params) throws ProjectionConfigurationException
Projinitialize in interface Projinitialize in class AbstractProjparams - The projection parametersProjectionConfigurationException - in case parameters are not suitableprivate void initialize2SP(double lat0, double lat1, double lat2)
lat0 - latitude of false origin (in degrees)lat1 - latitude of first standard parallel (in degrees)lat2 - latitude of second standard parallel (in degrees)private void initialize1SP(double lat0)
lat0 - latitude of natural origin (in degrees)protected double t(double latRad)
latRad - latitude in radiansprotected double m(double latRad)
latRad - latitude in radianspublic java.lang.String getName()
Projpublic java.lang.String getProj4Id()
Projnull.public double[] project(double phi, double lambda)
Projphi - the latitude in radianslambda - the longitude in radianspublic double[] invproject(double east, double north)
Projeast - east value in meters, divided by the semi major axis of the ellipsoidnorth - north value in meters, divided by the semi major axis of the ellipsoidpublic final LambertConformalConic.Parameters getParameters()
public Bounds getAlgorithmBounds()
Proj