I have a tabular asset in Google Earth Engine that has two features. To extract them one by one in a for-loop I had to introduce site_id property (column) and filter based on that value:
for (var i = 1; i < 2; i++) {
var feature = myAsset.filterMetadata('site_id', 'equals', i).first();
};
How can one extract one ee.Feature
directly using the Feature Index which is present in the asset?
I am looking for an analogy of ee.FeatureCollection.first()
but .second()
, .third()
etc
.toList()
and then.get()