Main Page | Class List | Class Members

OGL_Library::GPSDatum Class Reference

The class provides some coordinate transformation methods(convert coordinates between longitude/latitude and easting northing. WGS84 to TM2). WGS84 => TM2(Taiwan) WGS84toCartesian(Long, Lat) -> SevenParameter_BursaWolf(X, Y, Z) -> TMD67toEllipsoidal(X, Y, Z) -> TWD67EllipsoidaltoTM2(Long, lat);. More...

List of all members.

Static Public Member Functions

string[] ReturnAnalysisLongitude (string Long)
string[] ReturnAnalysisLatitude (string Lat)
string[] WGS84toCartesian (double Long, double Lat, double h)
string[] SevenParameter_BursaWolf (double X84, double Y84, double Z84)
string[] TWD67toEllipsoidal (double X67C, double Y67C, double Z67C)
string[] TWD67EllipsoidaltoTM2 (double Long, double Lat)
string[] WGS84toTM2 (double Long, double Lat)
string[] WGS84toTWD67 (double Long, double Lat, double h)


Detailed Description

The class provides some coordinate transformation methods(convert coordinates between longitude/latitude and easting northing. WGS84 to TM2). WGS84 => TM2(Taiwan) WGS84toCartesian(Long, Lat) -> SevenParameter_BursaWolf(X, Y, Z) -> TMD67toEllipsoidal(X, Y, Z) -> TWD67EllipsoidaltoTM2(Long, lat);.


Member Function Documentation

string [] OGL_Library::GPSDatum::ReturnAnalysisLongitude string  Long  )  [static]
 

Parsing 120.38330 => 120. 22' 59.88"

Parameters:
Long WGS84 longitude, Such as "120.38330".
Returns:
string[]
[0]120
[1]22
[3]59.88

string [] OGL_Library::GPSDatum::ReturnAnalysisLatitude string  Lat  )  [static]
 

Parsing 22.769338 => 22. 46' 9.62"

Parameters:
Lat latitude Such as "22.769338".
Returns:
string[]
[0]22
[1]46
[2]9.62

string [] OGL_Library::GPSDatum::WGS84toCartesian double  Long,
double  Lat,
double  h
[static]
 

WGS-84 Ellipsoidal => Cartesian coordinate transformation

Parameters:
Long WGS84 longitude
Lat WGS84 latitude
h WGS84 Antenna altitude above/below mean sea level
Returns:
string[]
[0] WGS84 Cartesian X
[1] WGS84 Cartesian Y
[2] WGS84 Cartesian Z

string [] OGL_Library::GPSDatum::SevenParameter_BursaWolf double  X84,
double  Y84,
double  Z84
[static]
 

WGS-84 Cartesian -> TMD67 Cartesian
Common Transformation Models
Seven Parameter Transformation (Bursa-Wolf Model)

Parameters:
X84 WGS84 Cartesian coordinate X
Y84 WGS84 Cartesian coordinate Y
Z84 WGS84 Cartesian coordinate Z
Returns:
string[]
[0] TMD67 Cartesian X
[1] TMD67 Cartesian Y
[2] TMD67 Cartesian Z

string [] OGL_Library::GPSDatum::TWD67toEllipsoidal double  X67C,
double  Y67C,
double  Z67C
[static]
 

TWD67 Cartesian -> TWD67(Taiwan Datum 67, TWD-67) Ellipsoidal

Parameters:
X67C TWD67 Cartesian coordinate X
Y67C TWD67 Cartesian coordinate Y
Z67C TWD67 Cartesian coordinate Z
Returns:
string[]
[0] TWD67 longitude
[1] TWD67 latitude
[2] TWD67 Orthometric height

string [] OGL_Library::GPSDatum::TWD67EllipsoidaltoTM2 double  Long,
double  Lat
[static]
 

TWD67(Taiwan Datum 67, TWD-67) Ellipsoidal -> TM2 (N,E)

Parameters:
Long TWD67 longitude
Lat TWD67 latitude
Returns:
string[]
[0] TM2 easting
[1] TM2 northing

string [] OGL_Library::GPSDatum::WGS84toTM2 double  Long,
double  Lat
[static]
 

Direct convert between WGS84 and TM2.

Parameters:
Long WGS84 longitude
Lat WGS84 latitude
Returns:
string[]
[0] TM2 easting
[1] TM2 northing

string [] OGL_Library::GPSDatum::WGS84toTWD67 double  Long,
double  Lat,
double  h
[static]
 

Direct convert between WGS84 and TWD67.

Parameters:
Long WGS84 longitude
Lat WGS84 latitude
Returns:
string[]
[0] TWD67 longitude
[1] TWD67 latitude


Generated on Tue Mar 9 03:09:45 2004 for OGL_Library by doxygen 1.3.6