Package uk.co.mccombe.mapping
Class Lambert93
java.lang.Object
uk.co.mccombe.mapping.CoordinateSystem
uk.co.mccombe.mapping.Projection
uk.co.mccombe.mapping.Lambert
uk.co.mccombe.mapping.Lambert93
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 uk.co.mccombe.mapping.CoordinateSystem
locus, ref, sph -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefine default Datum for this systemDefine the default Ellipsoid for this systemprotected doublee0()Define false easting valueprotected doublelamda0()Define longitude of grid originstatic Lambert93Static 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 projectionMethods inherited from class uk.co.mccombe.mapping.Lambert
calcCoords, getEN, gridConvergence, toEN, toStringMethods inherited from class uk.co.mccombe.mapping.CoordinateSystem
getDatum, getEllipsoid, getName, getPosition, getWGS84, parseDouble, toLatLong, toLatLongString
-
Constructor Details
-
Lambert93
Create an instance of Lambert93 from Position, Ellipsoid and Datum- Parameters:
p- the position of this pointe- The Ellipsoid to used- The datum to be used
-
Lambert93
Create an instance of Lambert93 from easting and northing distances, Ellipsoid and Datum- Parameters:
en- Easting and Northing distancese- Ellipsoid to used- Datum to use
-
-
Method Details
-
makePoint
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
Define default Datum for this system- Overrides:
defaultDatumin classLambert- Returns:
- the default Datum (Datum.WGS_1984)
-
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 -
n0
protected double n0()Define false northing
-