Click or drag to resize
XDL

XccWGP2GEOREF Method

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

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

Parameters

lon
Type: Pixoneer.NXDLXAngle
[In] 경도
lat
Type: Pixoneer.NXDLXAngle
[In] 위도
numDigit
Type: SystemInt32
[In] Digit number . 4(default) : 1 minute(4 digit), 6 : 1/10 minute, 8 : 1/100 minute
strGEOREF
Type: SystemString
[Out] GEOREF 좌표

Return Value

Type: Boolean
성공이면 true, 실패면 false를 리턴
Examples
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