お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.Geometry.LineString.closestPoint
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
左側の入力に最も近い右側の入力の点を返します。入力のいずれかが空の場合、null が返されます。両方の入力が制限なしの場合は、任意のポイントが返されます。入力の 1 つが制限なしの場合、制限付き入力の任意の点が返されます。
用途 | 戻り値 |
---|
LineString.closestPoint(right, maxError, proj) | オブジェクト |
引数 | タイプ | 詳細 |
---|
これ: left | ジオメトリ | オペレーションの左オペランドとして使用されるジオメトリ。 |
right | ジオメトリ | 演算の右オペランドとして使用されるジオメトリ。 |
maxError | ErrorMargin、デフォルト: null | 必要な再投影を行う際に許容される最大誤差。 |
proj | Projection、デフォルト: null | オペレーションを実行するプロジェクション。指定しない場合、演算は球面座標系で実行され、線形距離は球面のメートル単位になります。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["The function `closestPoint` finds the point on the `right` geometry that is nearest to the `left` geometry. It returns `null` if either geometry is empty. For unbounded geometries, it returns an arbitrary point; if only one is unbounded, it returns an arbitrary point within the bounded geometry. The operation can be performed with an optional `maxError` tolerance and a specified `proj` projection, defaulting to spherical coordinates and meters.\n"],null,[]]