Almost done!




| var MCD12Q1 = ee.ImageCollection("MODIS/006/MCD12Q1"); | |
| var landcover = MCD12Q1.select('LC_Type2') | |
| .filter(ee.Filter.calendarRange(2010, 2020, 'year')) | |
| var cropland = landcover.map(function(image){ | |
| return image.eq(12) | |
| }).min() | |
| cropland = cropland.updateMask(cropland.eq(1)) | |
| Map.addLayer(cropland, {palette: ['#ff7400']}) |
We have found Google Earth Engine(GEE) to be a powerful platform for looking for useful data source while offering global scale analysis of EO data!