mccombe.mapping
Class Lambert93

java.lang.Object
  extended by mccombe.mapping.CoordinateSystem
      extended by mccombe.mapping.Projection
          extended by mccombe.mapping.Lambert
              extended by mccombe.mapping.Lambert93

public class Lambert93
extends Lambert

A non-abstract class implementing the Lambert Conformal Conical (LCC) projection for the French Lambert-93 system. Unlike previous French LCC implementations, this one uses GRS80/WGS84 ellipsoid and datum by default.


Field Summary
 
Fields inherited from class mccombe.mapping.CoordinateSystem
locus, ref, sph
 
Constructor Summary
Lambert93(ENPair en, Ellipsoid e, Datum d)
          Create an instance of Lambert93 from easting and northing distances, Ellipsoid and Datum
Lambert93(Position p, Ellipsoid e, Datum d)
          Create an instance of Lambert93 from Position, Ellipsoid and Datum
 
Method Summary
 Datum defaultDatum()
          Define default Datum for this system
 Ellipsoid defaultEllipsoid()
          Define the default Ellipsoid for this system
protected  double e0()
          Define false easting value
protected  double lamda0()
          Define longitude of grid origin
static Lambert93 makePoint(java.lang.String gridref, Ellipsoid e, Datum d)
          Static factory method to create an instance of Lambert93 from a grid reference String
protected  double n0()
          Define false northing
protected  double phiB()
          Define latitude of false origin
protected  double phiL()
          Define lower standard parallel for this projection
protected  double phiU()
          Define Upper standard parallel for this conical projection
 
Methods inherited from class mccombe.mapping.Lambert
calcCoords, getEN, gridConvergence, toEN, toString
 
Methods inherited from class mccombe.mapping.CoordinateSystem
getDatum, getEllipsoid, getName, getPosition, getWGS84, parseDouble, toLatLong, toLatLongString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lambert93

public Lambert93(Position p,
                 Ellipsoid e,
                 Datum d)
Create an instance of Lambert93 from Position, Ellipsoid and Datum

Parameters:
p - the position of this point
e - The Ellipsoid to use
d - The datum to be used

Lambert93

public Lambert93(ENPair en,
                 Ellipsoid e,
                 Datum d)
Create an instance of Lambert93 from easting and northing distances, Ellipsoid and Datum

Parameters:
en - Easting and Northing distances
e - Ellipsoid to use
d - Datum to use
Method Detail

makePoint

public static Lambert93 makePoint(java.lang.String gridref,
                                  Ellipsoid e,
                                  Datum d)
                           throws GridFormatException
Static factory method to create an instance of Lambert93 from a grid reference String

Parameters:
gridref - A grid reference of the form "X=... Y=..." where the values are easting and northing distances in km.
e - Ellipsoid to use in conversions
d - Datum to use in conversions
Returns:
A new LambertI instance
Throws:
GridFormatException - thrown in case of format error in the grid reference

defaultDatum

public Datum defaultDatum()
Define default Datum for this system

Overrides:
defaultDatum in class Lambert
Returns:
the default Datum (Datum.WGS_1984)

defaultEllipsoid

public Ellipsoid defaultEllipsoid()
Define the default Ellipsoid for this system

Overrides:
defaultEllipsoid in class Lambert
Returns:
the default Ellipsoid (Ellipsoid.GRS80)

phiU

protected double phiU()
Define Upper standard parallel for this conical projection

Specified by:
phiU in class Lambert
Returns:
Upper Standard Parallel (radians)

phiL

protected double phiL()
Define lower standard parallel for this projection

Specified by:
phiL in class Lambert
Returns:
Lower Standard Parallel (radians)

phiB

protected double phiB()
Define latitude of false origin

Specified by:
phiB in class Lambert
Returns:
Latitude of false origin (radians)

lamda0

protected double lamda0()
Define longitude of grid origin

Specified by:
lamda0 in class Lambert
Returns:
Longitude of grid origin (radians)

e0

protected double e0()
Define false easting value

Specified by:
e0 in class Lambert
Returns:
False easting (m)

n0

protected double n0()
Define false northing

Specified by:
n0 in class Lambert
Returns:
False northing distance (m)