Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

목적지 좌표 계산

항목값
화면 이름Calculate destination point
식별자inverseHaversineV1
지원 실행 방식Batch, Faster, Streaming
범주지리공간 (Geospatial)
반환 자료형GeoPoint

시작점, 진행 방향과 거리를 사용해 지정한 경로의 목적지 좌표를 계산합니다.

입력 인자

이름지정 여부자료형의미와 조건
Course필수Expression<Double>현재 진행 방향을 도 단위로 지정합니다.
Distance필수Expression<Double>목적지까지의 거리이며 단위는 미터입니다.
Starting point필수Expression<GeoPoint>점 a의 경도와 위도입니다.
Calculation method선택Enum<Great Circle, Loxodrome/Rhumb Line>지구를 구로 근사한 표면에서 따라갈 경로입니다. 기본값은 대권 경로입니다.

입출력 예시

예시 1: 기본 동작

인자 값:

  • Course: course
  • Distance: distance
  • Starting point: point_a
  • Calculation method: GREAT_CIRCLE
point_acoursedistance출력
{
 latitude: 48.8567,
 longitude: 2.3508,
}
225.032000.0{
 latitude: 48.65279552300661,
 longitude: 2.0427666779658806,
}

예시 2: 기본 동작

인자 값:

  • Course: course
  • Distance: distance
  • Starting point: point_a
  • Calculation method: LOXODROME
point_acoursedistance출력
{
 latitude: 48.8567,
 longitude: 2.3508,
}
225.032000.0{
 latitude: 48.65320703115239,
 longitude: 2.0421403965968183,
}

예시 3: null 처리

인자 값:

  • Course: course
  • Distance: distance
  • Starting point: point_a
  • Calculation method: null
point_acoursedistance출력
{
 latitude: 48.8567,
 longitude: 2.3508,
}
225.032000.0{
 latitude: 48.65279552300661,
 longitude: 2.0427666779658806,
}

예시 4: 경계 조건

인자 값:

  • Course: course
  • Distance: distance
  • Starting point: point_a
  • Calculation method: LOXODROME
point_acoursedistance출력
{
 latitude: 42.779577,
 longitude: -156.581761,
}
10.08000000.0{
 latitude: 90.0,
 longitude: 0.0,
}