資料介紹:
SoilGrids,是一個全球土壤屬性地圖,現在可以通過GEE下載下傳。
SoilGrids是ISRIC–世界土壤資訊的一個項目,旨在提供一個全球一緻的、由資料驅動的系統,以預測土壤性質,并将其作為一項重要名額。該項目旨在提供一個全球一緻的、由資料驅動的系統,使用全球協變量和全球拟合的模型預測土壤屬性和類别,并采用數字土壤測繪方法。資料使用全球協變量和全球拟合的模型,通過基于量化随機森林的數字土壤地圖方法來預測土壤屬性和類别。
SoilGrids提供了六個不同深度的十種不同的土壤屬性地圖
分别是
sand_0-5cm
sand_5-15cm
sand_15-30cm
sand_30-60cm
sand_60-100cm
sand_100-200cm
今天以均值為例,下載下傳全球土壤砂粒(Sand)含量資料
實作代碼
var dataset = ee.Image("projects/soilgrids-isric/sand_mean"),//資料集
roi = ee.FeatureCollection("users/lilei655123/shanxi");
var Sand=dataset.clip(roi)
var visualization = {
bands: ['sand_0-5cm_mean'],
min: 2.0,
max: 1000.0,
palette: [
"FFFF00","F8F806","F1F10C","EBEB13","E4E419","DDDD20",
"D7D726","D0D02D","CACA33","C3C33A","BCBC41","B6B647",
"B0B04E","A9A954","A3A35A","9C9C61","959568","8F8F6E",
"898975","82827B","7B7B82","757589","6E6E8F","686895",
"61619C","5A5AA3","5454A9","4D4DB0","4747B6","4141BC",
"3A3AC3","3333CA","2D2DD0","2626D7","2020DD","1919E4",
"1212EB","0C0CF1","0606F8","0000FF",
]
};
Map.centerObject(roi,7)
var styling = {color:"red",fillColor:"00000000"};
Map.addLayer(roi.style(styling),{},"geometry")
Map.addLayer(Sand, visualization, "Sand content in % (g / kg)");
print(Sand)
var division_Sand = Sand.divide(10);
Map.addLayer(division_Sand, visualization, "Sand%");
Export.image.toDrive({
image: division_Sand,//
description: 'Sand',//
scale: 30,//
region:roi,//
maxPixels:1e13,
crs:'EPSG:4326',
folder:'Sand',
fileFormat: 'GeoTIFF',
});
結果以及下載下傳遇到的問題:
問題:下載下傳後的資料導出arcgis中沒有坐标系
解決方案:在導出函數中添加坐标系 crs:‘EPSG:4326’,
結果顯示:
完整代碼請在公衆号背景私信“1005下載下傳全球Sand含量資料”
公衆号名稱與部落格名稱一緻
感謝關注,歡迎轉發!