当前位置: 首页 > news >正文

苏州建设职业培训中心网站上海百度推广

苏州建设职业培训中心网站,上海百度推广,特色化示范性软件学院,wordpress 模板吧基于GEE实现物种分布模型之随机森林法 1.物种分布数据2.研究区绘制3.预测因子选择 1.物种分布数据 根据研究目的和需要导入物种数据: // Load presence data var Data ee.FeatureCollection("users/************736/Distribution"); print(Original da…

基于GEE实现物种分布模型之随机森林法

  • 1.物种分布数据
  • 2.研究区绘制
  • 3.预测因子选择

1.物种分布数据

根据研究目的和需要导入物种数据:

// Load presence data
var Data = ee.FeatureCollection("users/************736/Distribution");
print('Original data size:', Data.size());// Define spatial resolution to work with (m)
var GrainSize = 1000;function RemoveDuplicates(data){var randomraster = ee.Image.random().reproject('EPSG:4326', null, GrainSize);var randpointvals = randomraster.sampleRegions({collection:ee.FeatureCollection(data), scale: 15000, geometries: true});return randpointvals.distinct('random');
}var Data_Remove = RemoveDuplicates(Data);
print('Final data size:', Data_Remove.size());
print('Final data size:', Data_Remove);// Add two maps to the screen.
var left = ui.Map();
var right = ui.Map();
ui.root.clear();
ui.root.add(left);
ui.root.add(right);// Link maps, so when you drag one map, the other will be moved in sync.
ui.Map.Linker([left, right], 'change-bounds');// Visualize presence points on the map
right.addLayer(Data_Remove, {color:'red'}, 'RemoveDuplicates-Presence', 1);
left.addLayer(Data, {color:'blue'}, 'Presence', 1);

此处使用两个模块来展示数据图像:
在这里插入图片描述

2.研究区绘制

这里要注意,使用USDOS/LSIB_SIMPLE/2017数据时,他给出的中国地图有错误,如没有台湾省,以及新疆和西藏接壤处存在问题。

// Define the AOI
// var AOI = Data.geometry().bounds().buffer({distance:50000, maxError:1000});
var AOI = ee.FeatureCollection('USDOS/LSIB_SIMPLE/2017').filter(ee.Filter.eq('country_co', 'CH'));
// var AOI = ee.FeatureCollection('users/******736/ChinaMap');
var AOI_polygon = AOI.geometry().bounds();// Add border of study area to the map
var outline = ee.Image().byte().paint({featureCollection: AOI, color: 1, width: 3});
right.addLayer(outline, {palette: '0000FF'}, "Final Study Area");
left.addLayer(outline, {palette: 'FF0000'}, "Original Study Area");// Center each map to the area of interest
right.centerObject(AOI, 3); //Number indicates the zoom level
left.centerObject(AOI, 3); //Number indicates the zoom level

3.预测因子选择

常见的因子包括worldclim中的生物气候因子、地形因子、植被因子等,这里使用了以上三者作为分析,当然你还可以添加土壤因子和人为因子等因素进去。

// Load WorldClim BIO Variables (a multiband image) from the data catalog
var BIO = ee.Image("WORLDCLIM/V1/BIO");// Load elevation data from the data catalog
// and calculate slope, aspect, and a simple hillshade from the terrain Digital Elevation Model.
var Terrain = ee.Algorithms.Terrain(ee.Image("USGS/SRTMGL1_003")); // 30m year:2000// Load NDVI 250 m collection and estimate median annual tree cover value per pixel
var MODIS = ee.ImageCollection("MODIS/006/MOD44B");
var MedianPTC = MODIS.filterDate('2000-01-01', '2020-12-31').select(['Percent_Tree_Cover']).median();// Combine bands into a single multi-band image
var predictors = BIO.addBands(Terrain).addBands(MedianPTC);
print("Predictors values:", predictors)var watermask =  Terrain.select('elevation').gt(0); //Create a water mask
var predictors = predictors.updateMask(watermask).clip(AOI);// Select subset of bands to keep for habitat suitability modeling
// 'bio04','bio05','bio06','bio12','elevation','Percent_Tree_Cover'
var bands = ['bio04','bio05','bio06','bio12','elevation','Percent_Tree_Cover'];
var predictors = predictors.select(bands);// Display layers on the map
right.addLayer(predictors, {bands:['elevation'], min: 0, max: 8000,  palette: ['000000','006600', '009900','33CC00','996600','CC9900','CC9966','FFFFFF',]}, 'Elevation (m)', 0);
right.addLayer(predictors, {bands:['bio05'], min: 100, max: 490, palette:'white,red'}, 'Max temperature of warmest month', 0); 
right.addLayer(predictors, {bands:['bio12'], min: 0, max: 4000, palette:'white,blue'}, 'Annual precipitation (mm)', 0); 
right.addLayer(predictors, {bands:['Percent_Tree_Cover'], min: 0, max: 70, palette:'white,green, red'}, 'Percent_Tree_Cover', 0); 

海拔:
在这里插入图片描述

最大温度:
在这里插入图片描述

年降水量:
在这里插入图片描述

森林植被覆盖率:
在这里插入图片描述

http://www.dt0577.cn/news/37770.html

相关文章:

  • 宁波关键词优化排名工具需要优化的地方
  • 网页设计实验报告操作步骤seo排名赚app
  • 个人可以建设哪些网站怎么发帖子做推广
  • 山西正规网站建设推广sem推广计划
  • 公网站建设百度广告电话号码
  • 基础微网站开发咨询免费建立个人网站官网
  • 家装设计师自学攻略网站优化是做什么的
  • 佛山狮山网站建设百度网址提交
  • 怎么做游戏网站怎么看百度指数
  • 企业信息系统的分类百度快照优化排名推广怎么做
  • 中国建设会计学会网站怎么网络推广
  • ajax登陆wordpress深圳专门做seo的公司
  • 江苏网站建设找哪家谷歌推广方案
  • 网站制作的核心要点是什么营销策划公司的经营范围
  • https 网站架设sem是什么?
  • 建设的网站太卡线上广告推广平台
  • 公司网站开发费计入什么科目百度地图下载2022新版安装
  • 网站备案号 英文百度广告标识
  • 网站具有购买功能需要怎么做百度实时热点排行榜
  • wordpress商城制作教程杭州seo价格
  • 成都响应式网站开发职业培训机构有哪些
  • 潍坊做网站个人工作室软文营销推广
  • 有些电影网站是怎么做的google中文搜索引擎入口
  • 制作h5网页软件关键词优化软件排行
  • 唐山cms模板建站长沙seo计费管理
  • 哪些网站做装修厦门人才网最新招聘信息
  • 中冶东北建设最新网站苏州做网站哪家比较好
  • 网站建设都是模板营业推广方案
  • 上海青浦做网站知乎关键词排名优化
  • 网站建设公司 倒闭ks免费刷粉网站推广