目录 划定矩形框然后计算NDVI 上传shp后计算NDVI和NDBI 划定矩形框然后计算NDVI 如果没有很精细的范围需求则不需要在GEE中上传shp文件,可以通过指定矩形框然后计算范围内的NDVI值,这里以香港为例: // Define the region of interest (Hong Kong) var hongKong = ee.Geometry.Rectangle([113.825, 22.15, 114.35