Earth Engine は、共有コンピューティング リソースを保護し、すべてのユーザーに信頼性の高いパフォーマンスを提供するために、
非商用割り当て階層を導入しています。すべての非商用プロジェクトは、
2026 年 4 月 27 日までに割り当て階層を選択する必要があります。選択しない場合は、デフォルトでコミュニティ階層が使用されます。階層の割り当ては、
2026 年 4 月 27 日に(階層の選択日に関係なく)すべてのプロジェクトで有効になります。
詳細
ee.ErrorMargin
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
指定された型の ErrorMargin を指定された値で返します。
| 用途 | 戻り値 |
|---|
ee.ErrorMargin(value, unit) | ErrorMargin |
| 引数 | タイプ | 詳細 |
|---|
value | 浮動小数点数、デフォルト: null | マージンで許容される最大誤差値。ユニットが「無限」の場合は無視されます。 |
unit | 文字列、デフォルト: "meters" | このマージンの単位: 「meters」、「projected」、「infinite」。 |
例
コードエディタ(JavaScript)
// Construct a variety of error margins.
print(ee.ErrorMargin(0)); // unit: meters value: 0
print(ee.ErrorMargin(1)); // unit: meters value: 1
// Negative margin yields a positive value.
print(ee.ErrorMargin(-1)); // unit: meters value: 1
// Large values are turned into an 'infinite'
print(ee.ErrorMargin(1e8)); // unit: infinite
// A very large error margin does not quite trigger infinite, which is 2.0e7.
print(ee.ErrorMargin(1e7)); // unit: meters value: 10000000
// Being explicit about the units of the error margin.
print(ee.ErrorMargin(1, 'meters')); // unit: meters value: 1
print(ee.ErrorMargin(1, 'projected')); // unit: projected value: 1
print(ee.ErrorMargin(1, 'infinite')); // unit: infinite
Python の設定
Python API とインタラクティブな開発での geemap の使用については、
Python 環境のページをご覧ください。
import ee
import geemap.core as geemap
Colab(Python)
# Construct a variety of error margins.
display(ee.ErrorMargin(0)) # unit: meters value: 0
display(ee.ErrorMargin(1)) # unit: meters value: 1
# Negative margin yields a positive value.
display(ee.ErrorMargin(-1)) # unit: meters value: 1
# Large values are turned into an 'infinite'
display(ee.ErrorMargin(1e8)) # unit: infinite
# A very large error margin does not quite trigger infinite, which is 2.0e7.
display(ee.ErrorMargin(1e7)) # unit: meters value: 10000000
# Being explicit about the units of the error margin.
display(ee.ErrorMargin(1, 'meters')) # unit: meters value: 1
display(ee.ErrorMargin(1, 'projected')) # unit: projected value: 1
display(ee.ErrorMargin(1, 'infinite')) # unit: infinite
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-10-30 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-10-30 UTC。"],[],[]]