Package mccombe.mapping
Class Lambert93
- java.lang.Object
-
- mccombe.mapping.CoordinateSystem
-
- mccombe.mapping.Projection
-
- mccombe.mapping.Lambert
-
- 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
Constructors Constructor Description Lambert93(ENPair en, Ellipsoid e, Datum d)Create an instance of Lambert93 from easting and northing distances, Ellipsoid and DatumLambert93(Position p, Ellipsoid e, Datum d)Create an instance of Lambert93 from Position, Ellipsoid and Datum
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DatumdefaultDatum()Define default Datum for this systemEllipsoiddefaultEllipsoid()Define the default Ellipsoid for this systemprotected doublee0()Define false easting valueprotected doublelamda0()Define longitude of grid originstatic Lambert93makePoint(java.lang.String gridref, Ellipsoid e, Datum d)Static factory method to create an instance of Lambert93 from a grid reference Stringprotected doublen0()Define false northingprotected doublephiB()Define latitude of false originprotected doublephiL()Define lower standard parallel for this projectionprotected doublephiU()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
-
-
-
-
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 conversionsd- 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:
defaultDatumin classLambert- Returns:
- the default Datum (Datum.WGS_1984)
-
defaultEllipsoid
public Ellipsoid defaultEllipsoid()
Define the default Ellipsoid for this system- Overrides:
defaultEllipsoidin classLambert- Returns:
- the default Ellipsoid (Ellipsoid.GRS80)
-
phiU
protected double phiU()
Define Upper standard parallel for this conical projection
-
phiL
protected double phiL()
Define lower standard parallel for this projection
-
phiB
protected double phiB()
Define latitude of false origin
-
lamda0
protected double lamda0()
Define longitude of grid origin
-
e0
protected double e0()
Define false easting value
-
-