Click or drag to resize
XDL

XccWGP2GEOREF Method

Geographic 좌표를 GEOREF(World Geographic Reference)좌표계로 변환한다.

Namespace: Pixoneer.NXDL.NCC
Assembly: NXDLcc (in NXDLcc.dll) Version: 2.0.3.38
Syntax
C#
public static bool WGP2GEOREF(
	XAngle lon,
	XAngle lat,
	ref int numDigit,
	ref string strGEOREF
)

Parameters

lon  XAngle
[In] 경도
lat  XAngle
[In] 위도
numDigit  Int32
[In] Digit number . 4(default) : 1 minute(4 digit), 6 : 1/10 minute, 8 : 1/100 minute
strGEOREF  String
[Out] GEOREF 좌표

Return Value

Boolean
성공이면 true, 실패면 false를 리턴
Example
C#
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
int numDigit = 4;    // 4, 6 and 8 is valid
string strGEOREF = "";

Xcc.WGP2GEOREF(angLon, angLat, ref numDigit, ref strMGRS);
See Also