Earth Engine は、共有コンピューティング リソースを保護し、すべてのユーザーに信頼性の高いパフォーマンスを提供するために、
非商用割り当て階層を導入しています。すべての非商用プロジェクトは、
2026 年 4 月 27 日までに割り当て階層を選択する必要があります。選択しない場合は、デフォルトでコミュニティ階層が使用されます。階層の割り当ては、
2026 年 4 月 27 日に(階層の選択日に関係なく)すべてのプロジェクトで有効になります。
詳細
Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
ee.FeatureCollection.filterBounds
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ジオメトリとの交差でコレクションをフィルタするショートカット。指定されたジオメトリと交差しないフットプリントを持つコレクション内のアイテムは除外されます。
これは this.filter(ee.Filter.bounds(...)) と同じです。
フィルタされたコレクションを返します。
| 用途 | 戻り値 |
|---|
FeatureCollection.filterBounds(geometry) | コレクション |
| 引数 | タイプ | 詳細 |
|---|
これ: collection | コレクション | Collection インスタンス。 |
geometry | ComputedObject|FeatureCollection|Geometry | 交差させるジオメトリ、フィーチャー、またはコレクション。 |
例
コードエディタ(JavaScript)
// FeatureCollection of global power plants.
var powerPlants = ee.FeatureCollection('WRI/GPPD/power_plants');
// FeatureCollection of counties in Oregon, USA.
var oregonCounties = ee.FeatureCollection('TIGER/2018/States')
.filter('STATEFP == "41"');
// Filter global power plants to those that intersect Oregon counties.
var oregonPowerPlants = powerPlants.filterBounds(oregonCounties.geometry());
// Display Oregon power plants on the map.
Map.setCenter(-120.492, 44.109, 6);
Map.addLayer(oregonPowerPlants);
Python の設定
Python API とインタラクティブな開発での geemap の使用については、
Python 環境のページをご覧ください。
import ee
import geemap.core as geemap
Colab(Python)
# FeatureCollection of global power plants.
power_plants = ee.FeatureCollection('WRI/GPPD/power_plants')
# FeatureCollection of counties in Oregon, USA.
oregon_counties = ee.FeatureCollection('TIGER/2018/States').filter(
'STATEFP == "41"'
)
# Filter global power plants to those that intersect Oregon counties.
oregon_power_plants = power_plants.filterBounds(oregon_counties.geometry())
# Display Oregon power plants on the map.
m = geemap.Map()
m.set_center(-120.492, 44.109, 6)
m.add_layer(oregon_power_plants)
m
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 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-07-26 UTC。"],[],[]]