XDL TIP
[NCC] Static 함수를 이용한 다양한 좌표계 변환
작성자
pixoneer
작성일
2016-11-19 18:51
조회
3069
// Geographic->UTM 변환
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
int nZone = 0;
XVertex2d pos = new XVertex2d();
Xcc.WGP2UTM(angLon, angLat, ref pos, ref nZone);
}
// UTM->Geographic 변환
{
XVertex2d pos = new XVertex2d(434565, 4458652);
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
int nZone = 52;
Xcc.UTM2WGP(pos, nZone, ref angLon, ref angLat);
}
// UTM->MGRS 변환
{
XVertex2d pos = new XVertex2d(434565, 4458652);
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
int nZone = 52;
string strMGRS = "";
Xcc.UTM2MGRS(pos, nZone, ref strMGRS);
}
// WGP->MGRS 변환
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
string strMGRS = "";
Xcc.WGP2MGRS(angLon, angLat, ref strMGRS);
}
// MGRS->UTM 변환
{
XVertex2d pos = new XVertex2d();
int nZone = 0;
Xcc.MGRS2UTM("52SCE3112199266", ref pos, ref nZone);
}
// MGRS->WGP 변환
{
XVertex2d pos = new XVertex2d();
XAngle lon = new XAngle();
XAngle lat = new XAngle();
Xcc.MGRS2WGP("52SCE3112199266", ref lon, ref lat);
}
// WGP->GEOREF(World Geographic Reference) 변환
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
int numDigit = 8;
string strGEOREF = "";
Xcc.WGP2GEOREF(angLon, angLat, ref numDigit, ref strGEOREF);
}
// GEOREF->WGP 변환
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
string strGEOREF = "WJHG07400740";
Xcc.GEOREF2WGP(strGEOREF, ref angLon, ref angLat);
}
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
int nZone = 0;
XVertex2d pos = new XVertex2d();
Xcc.WGP2UTM(angLon, angLat, ref pos, ref nZone);
}
// UTM->Geographic 변환
{
XVertex2d pos = new XVertex2d(434565, 4458652);
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
int nZone = 52;
Xcc.UTM2WGP(pos, nZone, ref angLon, ref angLat);
}
// UTM->MGRS 변환
{
XVertex2d pos = new XVertex2d(434565, 4458652);
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
int nZone = 52;
string strMGRS = "";
Xcc.UTM2MGRS(pos, nZone, ref strMGRS);
}
// WGP->MGRS 변환
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
string strMGRS = "";
Xcc.WGP2MGRS(angLon, angLat, ref strMGRS);
}
// MGRS->UTM 변환
{
XVertex2d pos = new XVertex2d();
int nZone = 0;
Xcc.MGRS2UTM("52SCE3112199266", ref pos, ref nZone);
}
// MGRS->WGP 변환
{
XVertex2d pos = new XVertex2d();
XAngle lon = new XAngle();
XAngle lat = new XAngle();
Xcc.MGRS2WGP("52SCE3112199266", ref lon, ref lat);
}
// WGP->GEOREF(World Geographic Reference) 변환
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
angLon.deg = 127.1234;
angLat.deg = 36.1234;
int numDigit = 8;
string strGEOREF = "";
Xcc.WGP2GEOREF(angLon, angLat, ref numDigit, ref strGEOREF);
}
// GEOREF->WGP 변환
{
XAngle angLon = new XAngle();
XAngle angLat = new XAngle();
string strGEOREF = "WJHG07400740";
Xcc.GEOREF2WGP(strGEOREF, ref angLon, ref angLat);
}
전체 0개
번호 | 제목 | 작성자 | 작성일 | 조회 |
17 |
[NCC] Static 함수를 이용한 다양한 좌표계 변환
pixoneer
2016.11.19
3069
|
pixoneer | 2016.11.19 | 3069 |
16 |
[NCC] 좌표계 변환 ( Geographic->UTM 변환)
pixoneer
2016.11.19
3504
|
pixoneer | 2016.11.19 | 3504 |
15 |
[NCC] XSpatialReference클래스에 좌표 시스템 설정하기
pixoneer
2016.11.19
2646
|
pixoneer | 2016.11.19 | 2646 |
14 |
[NXDL] 타겟지점, 센서의 고도, 센서자세를 이용하여 센서의 위치 추정
pixoneer
2016.11.19
2946
|
pixoneer | 2016.11.19 | 2946 |
13 |
[NXDL] ECEF좌표계로부터 Lat/Lon(위경도)좌표계로 변환하기
pixoneer
2016.11.19
3404
|
pixoneer | 2016.11.19 | 3404 |
12 |
[NXDL] 위경도 좌표계로부터 ECEF좌표계로 변환하기
pixoneer
2016.11.19
2886
|
pixoneer | 2016.11.19 | 2886 |
11 |
[NXDL] 이미지의 통계값을 이용해 Gaussian 95%에 해당하는 최대/최소값 구하기
pixoneer
2016.11.19
2071
|
pixoneer | 2016.11.19 | 2071 |
10 |
[NXDL] 지구상에 센서 지점로부터 특정거리상에 존재하는 타원체상의 지점 계산
pixoneer
2016.11.19
2399
|
pixoneer | 2016.11.19 | 2399 |
9 |
[NXDL] 지구상의 특정 2개의 지점간 방위각과 거리 구하기(CalArcDistAndAngle함수 사용)
pixoneer
2016.11.19
2363
|
pixoneer | 2016.11.19 | 2363 |
8 |
[NXDL] 지구상의 특정 기준점으로부터 임의의 방위각과 특정 거리에 존재하는 지점 계산(CalcPosByBearingAndDist 사용)
pixoneer
2016.11.19
2082
|
pixoneer | 2016.11.19 | 2082 |