Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. var dataset = ee.ImageCollection('USDA/NASS/CDL')
  2. .filter(ee.Filter.date('2002-12-31', '2018-12-31'))
  3. // This filter doesn't work.
  4. .filter(ee.Filter.eq("id", "USDA/NASS/CDL/2005b").not());
  5.  
  6. // Allows me to see number of elements in the query in the console.
  7. print(dataset)
  8.  
  9. var cropLandcover = dataset.select('cropland');
  10. Map.setCenter(-100.55, 40.71, 4);
  11. Map.addLayer(cropLandcover, {}, 'Crop Landcover');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement