좌표계는 공간상의 한 점의 위치를 표시라는 숫자들의 순서 쌍인 좌표를 정하기 위한 체계로, 원점과 기준 길이, 기준 축이나 기준선들의 집합을 통틀허 이르는 말임. 서로 수직인 직선을 기준 축으로 갖는 Rectangular Coordinate System이(직교 좌표계, 평면 좌표계 또는 데카르트 좌표계라고도 함) 가장 널리 쓰이고 그 밖에 곡선 좌표계들이 있음. 데카르트는 천장에 붙은 파리의 위치를 표현하기 위해 고안 했다고 함.
좌표계의 종류
극 좌표계 (Polar Coordinate System)
원기둥 좌표계 (Cylindical Coordinate)
구면 좌표계 (Spherical Coordinate)
동차 좌표계 (Homogeneous Coordinate)
세계 지구 좌표 시스템 (World Geodetic System : WGS )
EPSG:3857
[14541934.699146198, 4291217.769314549]와 같은 형식
Google Map, Open Street Map에서 사용
미터 단위를 사용함
Open Street Map과 OpenLayers가 밀접한 관계에 있기 때문에, OpenLayers의 기본 좌표임.
EPSG:4326 -> WGS84(라고도 함)
[130.63242200911046, 35.93162949347317]와 같은 형식
[±180 , ±90]
Google Earth에서 사용, 거의 모든 GPS에서 사용.
소수점 단위를 사용함 (decimal degrees)
경도와 위도
좌표는 경도(Longtitude)와 위도(Latitude) 로 이루어 져 있음.
경도 : X축 이라고 보면 됨.(동경, 서경)
지구를 세로선으로 나눈것.
영국의 그리니치 천문대를 기준으로 동경 180도, 서경 180도로 나눔.
동경 180도와 서경 180도가 만나는 세로선이 날짜 변경선이 됨.
위도 : Y축 이라고 보면 됨.(북위, 남위)
적도를 0도로 기준잡고 지구를 남과 북으로 나누어서 북위, 남위 각각 0 ~ 90도로 구분함.
<!-- Prepare a container for your calendar. -->
<script src="https://cdn.rawgit.com/IonicaBizau/github-calendar/gh-pages/dist/github-calendar.min.js"></script>
<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) -->
<link rel="stylesheet" href="https://cdn.rawgit.com/IonicaBizau/github-calendar/gh-pages/dist/github-calendar.css"/>
<!-- Prepare a container for your calendar. -->
<div class="calendar">
<!-- Loading stuff -->
Loading the data just for you.
</div>
<script>
new GitHubCalendar(".calendar", "your-username");
</script>
선택 사항으로, 만약 지도가 IE나 안드로이드 v4 환경에서 보여지길 원한다면, OpenLayers script를 Include 하기전에 다음 파일을 Include해 준다.
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>