LT-GEE
LT-GEE copied to clipboard
question in://------ FUNCTION TO REDUCE COLLECTION TO SINGLE IMAGE PER YEAR BY MEDOID ----
var medoidMosaic = function(inCollection, dummyCollection) {
var imageCount = inCollection.toList(1).length();
---toList(1),Is this one set up wrong?
With the original code, no matter how many images are in the collection, it's only going to return ‘1’.
And your comment after the code says: this is counting the number of images in the collection. ?????