Geographic Coordinate Systems
A geographic coordinate system is a coordinate system that enables every location on the Earth to be specified by a set of numbers.
지리 좌표계(地理座標系)는 지구 위의 모든 지역이 지구의 회전축과 나란한 구면 좌표계의 세 좌표값으로 지정되도록 도와준다. 구면에서 좌표를 매기려면 위도와 경도를 쓴다. 북극을 지나는 대원 하나를 기준으로 잡는데 영국의 그리니치 천문대를 경도 0도로 잡는다. 그 대원에서 지축만큼 얼마나 회전했는가를 경도라 한다. 단위는 각도의 단위를 쓴다.
공간참조, EPSG코드 및 PROJ.4인자
공간참조 | EPSG | PROJ.4인자 |
WGS84 경위도 | 4326 | +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs |
Bessel 1841 경위도 | 4004 | +proj=longlat +ellps=bessel +no_defs |
좌표계 관련 자료
-
Guide to coordinate systems in Great Britain (PDF)1 - This guide can be considered essential reading for anyone trying to work with coordinates in Great Britain. It is a gentle introduction and an excellent source of information on the often confusing subjects of GPS and Ordnance Survey coordinate systems.
두 좌표의 거리측정
우리가 말하는 거리에는 경사거리, 지오이드면상의 거리, 타원체면상의 구면거리 등 여러가지가 있다.
두 지점의 높이를 알 수 없을 경우 일단 구면거리로 계산할 수 있다.
-
AUSLIG(호주 토지 측량국)의 각종 측지계산 엑셀이 게재되어 있다 -
ICSM GDATM: 테크니컬 매뉴얼의 빈센티(Vincenty)식 참조.
WGS84 두 지점간의 거리 계산: PHP Example
function _deg2rad($deg)
{
$radians = 0.0;
$radians = $deg * M_PI/180.0;
return($radians);
}
function geoDistance($lat1, $lon1, $lat2, $lon2, $unit="k")
{
$theta = $lon1 - $lon2;
$dist = sin(_deg2rad($lat1)) * sin(_deg2rad($lat2)) + cos(_deg2rad($lat1)) * cos(_deg2rad($lat2)) * cos(_deg2rad($theta));
$dist = acos($dist);
$dist = rad2deg($dist);
$miles = $dist * 60 * 1.1515;
$unit = strtolower($unit);
if ($unit == "k") {
return ($miles * 1.609344);
} else {
return $miles;
}
}
See also
- Longitude And Latitude: 경위도 표현방법.
- Vincentys Formulae: 빈센티식에 대한 설명.
- 측지계 (Datum)
- GIS
- 방위각 (Azimuth)
- Gizmo
Favorite site
References
-
A_Guide_to_Coordinate_Systems_in_Great_Britain.pdf ↩