CoordinateConversion Class
The projection of a ProjectedCoordinateSystem: converts the longitudes and latitudes of an ellipsoid to eastings and northings in meters, as the map projection methods of the EPSG dataset define them.
public abstract class CoordinateConversionRemarks
Derive from this class to support another projection method. The angles are in radians, the longitudes measured from the prime meridian of the geographic coordinate system; the eastings and the northings are in meters, the false easting and the false northing included.
Constructors
| Name | Description |
|---|---|
| CoordinateConversion() | Initializes a new instance of the CoordinateConversion class. |
CoordinateConversion()
CoordinateConversion.csInitializes a new instance of the CoordinateConversion class.
protected CoordinateConversion()Properties
| Name | Description |
|---|---|
| CentralMeridian | Gets the longitude of the origin (the central meridian), in degrees from the prime meridian. The default is 0. |
| FalseEasting | Gets the easting of the origin, in meters. The default is 0. |
| FalseNorthing | Gets the northing of the origin, in meters. The default is 0. |
| LatitudeOfOrigin | Gets the latitude of the origin of the northings (the latitude of the false origin of a Lambert conformal conic projection), in degrees. The default is 0. |
CentralMeridian
CoordinateConversion.csFalseEasting
CoordinateConversion.csFalseNorthing
CoordinateConversion.csLatitudeOfOrigin
CoordinateConversion.csMethods
| Name | Description |
|---|---|
| Project(double, double, Ellipsoid) | Projects a longitude and a latitude. |
| Unproject(double, double, Ellipsoid) | Converts an easting and a northing back to a longitude and a latitude: the inverse of CoordinateConversion.Project. |
Project(double, double, Ellipsoid)
Projects a longitude and a latitude.
public abstract (double Easting, double Northing) Project(double lambda, double phi, Ellipsoid ellipsoid)Parameters
lambdadouble- The longitude from the prime meridian, in radians.
phidouble- The latitude, in radians.
ellipsoidEllipsoid- The ellipsoid of the longitudes and the latitudes.
Returns
(double Easting, double Northing) The easting and the northing, in meters.
Unproject(double, double, Ellipsoid)
Converts an easting and a northing back to a longitude and a latitude: the inverse of CoordinateConversion.Project.
public abstract (double Lambda, double Phi) Unproject(double easting, double northing, Ellipsoid ellipsoid)Parameters
eastingdouble- The easting, in meters.
northingdouble- The northing, in meters.
ellipsoidEllipsoid- The ellipsoid of the longitudes and the latitudes.
Returns
(double Lambda, double Phi) The longitude from the prime meridian and the latitude, in radians.