Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum 
15 April 2025 harus 
memverifikasi kelayakan nonkomersial untuk mempertahankan akses. Jika Anda belum melakukan verifikasi hingga 26 September 2025, akses Anda mungkin ditangguhkan.
  
        
 
       
     
  
  
  
    
  
  
  
    
      ee.FeatureCollection.aggregate_max
    
    
      
    
    
      
      Tetap teratur dengan koleksi
    
    
      
      Simpan dan kategorikan konten berdasarkan preferensi Anda.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
Menggabungkan properti tertentu dari objek dalam koleksi, menghitung nilai maksimum dari properti yang dipilih.
| Penggunaan | Hasil | 
|---|
| FeatureCollection.aggregate_max(property) |  | 
| Argumen | Jenis | Detail | 
|---|
| ini: collection | FeatureCollection | Koleksi yang akan digabungkan. | 
| property | String | Properti yang akan digunakan dari setiap elemen koleksi. | 
  
  
  Contoh
  
    
  
  
    
    
  
  
  
  
    
    
    
      Code Editor (JavaScript)
    
    
  // FeatureCollection of power plants in Belgium.
var fc = ee.FeatureCollection('WRI/GPPD/power_plants')
             .filter('country_lg == "Belgium"');
print('Max of power plant capacities (MW)',
      fc.aggregate_max('capacitymw'));  // 2910
  
    
  
  
    
  
  
  
  
    
  
    
  Penyiapan Python
  Lihat halaman 
    Lingkungan Python untuk mengetahui informasi tentang Python API dan penggunaan
    geemap untuk pengembangan interaktif.
  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"')
display('Max of power plant capacities (MW):',
        fc.aggregate_max('capacitymw'))  # 2910
  
  
  
  
  
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
  Terakhir diperbarui pada 2025-10-30 UTC.
  
  
  
    
      [null,null,["Terakhir diperbarui pada 2025-10-30 UTC."],[],["The `aggregate_max` function calculates the maximum value of a specified property within a FeatureCollection. It takes the FeatureCollection and the property name (as a string) as input. The function returns the maximum value of that property across all features in the collection. For example, using a collection of power plants, `aggregate_max('capacitymw')` returns the highest power capacity (in MW) among them.\n"]]