お知らせ: 
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、アクセスを維持するために
非商用目的での利用資格を確認する必要があります。2025 年 9 月 26 日までに確認が完了していない場合、アクセスが保留されることがあります。
  
        
 
       
     
  
  
  
    
  
  
  
    
      ee.FeatureCollection.aggregate_array
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
コレクション内のオブジェクトの指定されたプロパティを集計し、選択されたプロパティのすべての値のリストを計算します。
| 用途 | 戻り値 | 
|---|
| FeatureCollection.aggregate_array(property) | リスト | 
| 引数 | タイプ | 詳細 | 
|---|
| これ: collection | FeatureCollection | 集計するコレクション。 | 
| property | 文字列 | コレクションの各要素から使用するプロパティ。 | 
  
  
  例
  
    
  
  
    
    
  
  
  
  
    
    
    
      コードエディタ(JavaScript)
    
    
  // FeatureCollection of power plants in Belgium.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants')
             .filter('country_lg == "Belgium"');
print('Power plant fuel sources',
      fc.aggregate_array('fuel1'));  // ee.List
  
    
  
  
    
  
  
  
  
    
  
    
  Python の設定
  Python API とインタラクティブな開発での geemap の使用については、
    Python 環境のページをご覧ください。
  import ee
import geemap.core as geemap
  
    
    
      Colab(Python)
    
    
  # FeatureCollection of power plants in Belgium.
fc = ee.FeatureCollection('WRI/GPPD/power_plants').filter(
    'country_lg == "Belgium"')
print('Power plant fuel sources:',
      fc.aggregate_array('fuel1').getInfo())  # ee.List
  
  
  
  
  
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-26 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-07-26 UTC。"],[],["The `aggregate_array(property)` method computes a list of all values for a specified property across a FeatureCollection. It takes a FeatureCollection as input and a string representing the `property` name. The method returns a List containing the aggregated values.  For example, using a collection of power plants, one can retrieve a list of fuel types by aggregating the \"fuel1\" property using both Javascript and python code.\n"]]