org.cts.op.projection
Class LambertConicConformal2SP

java.lang.Object
  extended by org.cts.IdentifiableComponent
      extended by org.cts.op.AbstractCoordinateOperation
          extended by org.cts.op.projection.Projection
              extended by org.cts.op.projection.LambertConicConformal2SP
All Implemented Interfaces:
Identifiable, CoordinateOperation

public class LambertConicConformal2SP
extends Projection

A map projection is any method used in cartography (mapmaking) to represent the two-dimensional curved surface of the earth or other body on a plane. The term "projection" here refers to any function defined on the earth's surface and with values on the plane, and not necessarily a geometric projection.

Author:
Michaƫl Michaud

Nested Class Summary
 
Nested classes/interfaces inherited from class org.cts.op.projection.Projection
Projection.Orientation, Projection.Property, Projection.Surface
 
Field Summary
protected  double C
           
static LambertConicConformal2SP LAMBERT93
          Lambert 93, the new projection used in France with RGF93 datum.
static Identifier LCC2SP
          The Identifier used for all Cylindrical Equal Area projection.
protected  double lon0
           
protected  double n
           
protected  double xs
           
protected  double ys
           
 
Fields inherited from class org.cts.op.projection.Projection
DEFAULT_PARAMETERS
 
Fields inherited from class org.cts.op.AbstractCoordinateOperation
precision
 
Fields inherited from interface org.cts.Identifiable
DEFAULT, LOCAL, UNKNOWN
 
Constructor Summary
LambertConicConformal2SP(Ellipsoid ellipsoid, Map<String,Measure> parameters)
          Create a new Lambert Conic Conformal 2SP Projection corresponding to the Ellipsoid and the list of parameters given in argument and initialize common parameter lon0 and other parameters useful for the projection.
 
Method Summary
static LambertConicConformal2SP createLCC2SP(Ellipsoid ellipsoid, double latitude_of_origin, double standard_parallel_1, double standard_parallel_2, double central_meridian, double false_easting, double false_northing)
          LambertConicConformal2SP factory to create a LambertConicConformal2SP projection from a latitude of origin and a central meridian in degrees, a scale factor and false coordinates in meters.
static LambertConicConformal2SP createLCC2SP(Ellipsoid ellipsoid, double latitude_of_origin, double standard_parallel_1, double standard_parallel_2, double central_meridian, Unit angleUnit, double false_easting, double false_northing, Unit planimetricUnit)
          LambertConicConformal2SP factory to create a LambertConicConformal2SP projection from a latitude of origin, a central meridian and false coordinates in any unit.
 Projection.Orientation getOrientation()
          Return the Orientation of this Projection.
 Projection.Property getProperty()
          Return the Property of this Projection.
 Projection.Surface getSurface()
          Return the Surface type of this Projection.
 CoordinateOperation inverse()
          Creates the inverse CoordinateOperation.
 String toString()
          Return a String representation of this projection
 double[] transform(double[] coord)
          Transform coord using a Lambert Conformal Conic projection.
 
Methods inherited from class org.cts.op.projection.Projection
equals, getAzimuth, getCentralMeridian, getDefaultParameters, getFalseEasting, getFalseNorthing, getLatitudeOfOrigin, getLatitudeOfTrueScale, getRectifiedGridAngle, getScaleFactor, getSemiMajorAxis, getSemiMinorAxis, getStandardParallel1, getStandardParallel2, hashCode, toWKT
 
Methods inherited from class org.cts.op.AbstractCoordinateOperation
getPrecision
 
Methods inherited from class org.cts.IdentifiableComponent
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getComponent, getIdentifier, getName, getRemarks, getShortName, setIdentifier, setRemarks, setShortName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cts.Identifiable
addAlias, addRemark, getAliases, getAuthorityKey, getAuthorityName, getCode, getName, getRemarks, getShortName, setRemarks, setShortName
 

Field Detail

LCC2SP

public static final Identifier LCC2SP
The Identifier used for all Cylindrical Equal Area projection.


LAMBERT93

public static final LambertConicConformal2SP LAMBERT93
Lambert 93, the new projection used in France with RGF93 datum.


lon0

protected final double lon0

n

protected final double n

C

protected final double C

xs

protected final double xs

ys

protected final double ys
Constructor Detail

LambertConicConformal2SP

public LambertConicConformal2SP(Ellipsoid ellipsoid,
                                Map<String,Measure> parameters)
Create a new Lambert Conic Conformal 2SP Projection corresponding to the Ellipsoid and the list of parameters given in argument and initialize common parameter lon0 and other parameters useful for the projection.

Parameters:
ellipsoid - ellipsoid used to define the projection.
parameters - a map of useful parameters to define the projection.
Method Detail

createLCC2SP

public static LambertConicConformal2SP createLCC2SP(Ellipsoid ellipsoid,
                                                    double latitude_of_origin,
                                                    double standard_parallel_1,
                                                    double standard_parallel_2,
                                                    double central_meridian,
                                                    double false_easting,
                                                    double false_northing)
LambertConicConformal2SP factory to create a LambertConicConformal2SP projection from a latitude of origin and a central meridian in degrees, a scale factor and false coordinates in meters.

Parameters:
ellipsoid - reference ellipsoid for this projection instance
latitude_of_origin - latitude of origin of the projection in degrees
standard_parallel_1 - first standard parallel
standard_parallel_2 - second standard parallel
central_meridian - central meridian of the projection en degrees
false_easting - false easting in meters
false_northing - false northing in meters

createLCC2SP

public static LambertConicConformal2SP createLCC2SP(Ellipsoid ellipsoid,
                                                    double latitude_of_origin,
                                                    double standard_parallel_1,
                                                    double standard_parallel_2,
                                                    double central_meridian,
                                                    Unit angleUnit,
                                                    double false_easting,
                                                    double false_northing,
                                                    Unit planimetricUnit)
LambertConicConformal2SP factory to create a LambertConicConformal2SP projection from a latitude of origin, a central meridian and false coordinates in any unit.

Parameters:
latitude_of_origin - latitude of origin of the projection in degrees
standard_parallel_1 - first standard parallel
standard_parallel_2 - second standard parallel
central_meridian - central meridian of the projection en degrees
angleUnit - unit used for central meridian and latitude of origin
false_easting - false easting in meters
false_northing - false northing in meters
planimetricUnit - unit used for false easting and false northing

transform

public double[] transform(double[] coord)
                   throws IllegalCoordinateException
Transform coord using a Lambert Conformal Conic projection. Input coord is supposed to be a geographic latitude / longitude coordinate in radians.

Specified by:
transform in interface CoordinateOperation
Specified by:
transform in class AbstractCoordinateOperation
Parameters:
coord - coordinate to transform
Returns:
a double array containing the output coordinate
Throws:
IllegalCoordinateException - if coord is not compatible with this CoordinateOperation..

inverse

public CoordinateOperation inverse()
                            throws NonInvertibleOperationException
Creates the inverse CoordinateOperation.

Specified by:
inverse in interface CoordinateOperation
Overrides:
inverse in class AbstractCoordinateOperation
Throws:
NonInvertibleOperationException

getSurface

public Projection.Surface getSurface()
Return the Surface type of this Projection.

Specified by:
getSurface in class Projection

getProperty

public Projection.Property getProperty()
Return the Property of this Projection.

Specified by:
getProperty in class Projection

getOrientation

public Projection.Orientation getOrientation()
Return the Orientation of this Projection.

Specified by:
getOrientation in class Projection

toString

public String toString()
Return a String representation of this projection

Overrides:
toString in class IdentifiableComponent


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.