注: 以下の翻訳の正確性は検証されていません。AIPを利用して英語版の原文から機械的に翻訳されたものです。

Create geodesic line string

対応バッチ: Batch, Streaming

2 つの点の間に測地線を作成します。

式カテゴリー: Geospatial

引数

  • End point - 終点の経度および緯度。
    Expression<GeoPoint>
  • Starting point - 始点の経度および緯度。
    Expression<GeoPoint>
  • 任意 Number of steps - 測地線セグメントの始点と終点の間に返すポイントの数。デフォルト値は 24 ポイントです。
    Expression<Byte | Integer | Long | Short>

出力タイプ: Geometry

例 1: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 20.92,
longitude: 179.0,
}
{
latitude: 20.92,
longitude: -178.0,
}
3{"type":"MultiLineString","coordinates":[[[-180.0, 20.925458598035362],[-179.5, 20.926550359447504],...

例 2: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 38.9072,
longitude: -77.0369,
}
{
latitude: 20.92,
longitude: -70.0,
}
8{"type":"LineString","coordinates":[[-77.0369, 38.90720000000001],[-76.10884874732801, 36.9298141100...

例 3: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 34.1309,
longitude: -88.908,
}
{
latitude: 34.496,
longitude: -83.9651,
}
4{"type":"LineString","coordinates":[[-88.90800000000002, 34.13089999999999],[-87.9230399151116, 34.2...

例 4: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 39.4953,
longitude: -89.6352,
}
{
latitude: 61.0928,
longitude: 62.2376,
}
4{"type":"LineString","coordinates":[[-89.6352, 39.4953],[-83.5342527561974, 54.30031923899314],[-70....

例 5: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 38.9072,
longitude: -77.0369,
}
{
latitude: 20.92,
longitude: -70.0,
}
null{"type":"LineString","coordinates":[[-77.0369, 38.90720000000001],[-76.69701959729164, 38.1961853930...

例 6: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 20.92,
longitude: -70.0,
}
{
latitude: null,
longitude: -77.0369,
}
8null

例 7: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 20.92,
longitude: -70.0,
}
{
latitude: null,
longitude: null,
}
8null

例 8: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 20.92,
longitude: -70.0,
}
{
latitude: 38.9072,
longitude: null,
}
8null

例 9: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 39.4953,
longitude: -89.6352,
}
null8null

例 10: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: null,
longitude: null,
}
{
latitude: null,
longitude: null,
}
8null

例 11: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: null,
longitude: null,
}
{
latitude: null,
longitude: null,
}
nullnull

例 12: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
nullnull8null

例 13: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: null,
longitude: -77.0369,
}
{
latitude: 20.92,
longitude: -70.0,
}
8null

例 14: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: null,
longitude: null,
}
{
latitude: 20.92,
longitude: -70.0,
}
8null

例 15: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
{
latitude: 38.9072,
longitude: null,
}
{
latitude: 20.92,
longitude: -70.0,
}
8null

例 16: 基本ケース

引数の値:

  • End point: endPoint
  • Starting point: startPoint
  • Number of steps: numSteps
startPointendPointnumStepsOutput
null{
latitude: 20.92,
longitude: -70.0,
}
8null