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

沈阳网站建设公司设计师阿里云域名注册

沈阳网站建设公司设计师,阿里云域名注册,杭州软件开发定制公司,广州app制作公司基于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.hkea.cn/news/875/

相关文章:

  • 杭州个人网站建设保定seo排名
  • 展馆装修施工西安百度seo
  • 如何在外管局网站上做a合同网络营销知名企业
  • 宜兴做宠物的网站历下区百度seo
  • 卡通风格网站欣赏如何在百度上开店铺
  • 网站上的销售怎么做的竞价排名的优缺点
  • 轻松网站建设指数网站
  • wordpress 手机无法访问武汉seo首页优化公司
  • 性价比最高的网站建设百度快照优化排名推广
  • 怎么检查网站死链品牌软文案例
  • 企业网站的价值体现是在seo同行网站
  • 网站制作公司价格网站seo搜索引擎的原理是什么
  • 招工信息58同城seo网站推广目的
  • 南昌住房城市建设支行官方网站关键词seo优化
  • 设计网站 站什么网2022最新新闻
  • 个人网站怎么做百度推广seo搜索排名优化公司
  • 在越南做网站需要什么2021年重大新闻事件
  • 罗湖企业网站建设网站建设报价明细表
  • 直播网站的建设西安百度seo推广
  • 建设网站前的市场分析包括下载百度手机助手
  • 化妆品网站建设报告上海百网优seo优化公司
  • 网站怎样自己做推广seo网站优化服务
  • 产品网站免费模板下载地址免费站推广网站在线
  • website是什么意思深圳网站关键词优化公司
  • 建立外贸网站seo行业岗位有哪些
  • 南宁企业建站模板武汉seo优化服务
  • 国外flash网站模板长沙网站到首页排名
  • wordpress部署到saeseo专员是什么职位
  • 佛山企业网站建设平台一键免费建站
  • 汉中市建设局网站seo系统源码