to sample square plots
Use the code below or click here.
var x = ee.List.sequence(91.0,110.0,0.5) var y = ee.List.sequence(5.0,30.0,0.5) var features = ee.FeatureCollection(x.map(function(xcor){ var feat = ee.FeatureCollection(y.map(function(ycor){ return ee.Feature(ee.Geometry.Point([xcor,ycor]).buffer(5000).bounds()) })) return feat })).flatten() print(features) Map.addLayer(features)
Hi, I’m wondering how do i sample these points for different images?