お知らせ: 
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、アクセスを維持するために
非商用目的での利用資格を確認する必要があります。2025 年 9 月 26 日までに確認が完了していない場合、アクセスが保留されることがあります。
  
        
 
       
     
  
  
  
    
  
  
  
    
      ee.FeatureCollection.makeArray
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
各フィーチャのプロパティのリストを 1 次元配列に結合して、コレクション内の各フィーチャに 1 次元配列を追加します。すべてのプロパティは数値である必要があります。名前付きプロパティがすべて含まれていない場合、または名前付きプロパティのいずれかが数値でない場合、その特徴は結果のコレクションから削除されます。
| 用途 | 戻り値 | 
|---|
| FeatureCollection.makeArray(properties, name) | FeatureCollection | 
| 引数 | タイプ | 詳細 | 
|---|
| これ: collection | FeatureCollection | プロパティが選択される入力コレクション。 | 
| properties | リスト | 選択するプロパティ。 | 
| name | 文字列、デフォルト: "array" | 新しい配列プロパティの名前。 | 
  
  
  例
  
    
  
  
    
    
  
  
  
  
    
    
    
      コードエディタ(JavaScript)
    
    
  // FeatureCollection of power plants in Belgium.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants')
            .filter('country_lg == "Belgium"');
// A list of feature properties to combine into an array
// (power generation by year).
var properties = ['gwh_2013', 'gwh_2014', 'gwh_2015', 'gwh_2016'];
// Add array of power-generation-by-year property to features.
fc = fc.makeArray(properties, 'gwh_by_year');
print('FeatureCollection with array of selected properties added', fc);
print('See example of new "gwh_by_year" property', fc.first().toDictionary());
  
    
  
  
    
  
  
  
  
    
  
    
  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"')
# A list of feature properties to combine into an array
# (power generation by year).
properties = ['gwh_2013', 'gwh_2014', 'gwh_2015', 'gwh_2016']
# Add array of power-generation-by-year property to features.
fc = fc.makeArray(properties, 'gwh_by_year')
display('FeatureCollection with array of selected properties added:', fc)
display('See example of new "gwh_by_year" property:', fc.first().toDictionary())
  
  
  
  
  
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-10-30 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-10-30 UTC。"],[],[]]