SHARE
TWEET

Untitled

a guest Jul 11th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var output_fc = ee.FeatureCollection(leng.map(function(x){
  2.     var dict = {class_name: to.get(x), class_area: class_areas_results.get(x), tree_cover_loss_area: tcl_results.get(x), tree_cover_gain_area: tc_gain_results.get(x),
  3.     avg_tree_area: avg_tree_area_results.get(x), tcd_00: tcd_00_results.get(x), tcd_10: tcd_10_results.get(x)};
  4.     var feature = ee.Feature(null, dict);
  5.     return feature;
  6.   }));
  7.  
  8.   var download = (ui.Label('Download').setUrl((ee.FeatureCollection(output_fc).getDownloadURL({
  9.     format: 'CSV',
  10.     filename: 'changeAreas'
  11.   }))))
  12.  
  13.   panel.add(download)
  14.  
  15.   print(output_fc)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top