Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var nlArray =
- nlCollection.map(clipAndSelect)
- .toList(nlCollection.size());
- var obj = nlArray.size()
- var nmr = parseInt(obj)
- print(typeof obj) //object
- print(typeof nmr) //number
- var x = 5;//now works
- for(var i=0 ; i <= nmr; i++){
- print(typeof i); //number
- //Map.addLayer(ee.Image(nlArray.get(i)),{min: 1, max: 3, palette:
- ['0000FF', '00FF00', 'FF0000']});
- }
Add Comment
Please, Sign In to add comment