Google Earth Engine(GEE) ——2000-2021年地球非洲海岸线数据集

数字地球非洲海岸线
数字地球非洲海岸线是一个大陆数据集,包括整个非洲海岸线的年度海岸线和海岸变化率。这是一项临时服务,已经生成了2000年至2021年的数据,我们希望与用户一起改进和操作。前言 – 床长人工智能教程

该产品将数字地球非洲计划的卫星数据与潮汐模型相结合,绘制出每年平均海平面的海岸线的典型位置。该产品使得每年都可以在地方和大陆范围内检查海岸侵蚀和增长的趋势,并且可以绘制历史上的海岸变化模式,并随着数据的不断获取定期更新。这样就可以把目前的海岸变化率与前几年或几十年的观察结果进行比较。

绘制每年的海岸线位置图的能力,可以使人们深入了解海岸线的变化是特定事件或行动的结果,还是随着时间推移而逐渐发生变化的过程。这些信息可以使科学家、管理者和政策制定者评估影响海岸线的一系列驱动因素的影响,并有可能帮助规划和预测未来的情况。你可以在这里找到更多的细节,你可以在这里下载数据集。

鸣谢:
本产品中的海岸线算法是澳大利亚地球科学协会的Robbi-Bishop Taylor、Rachel Nanson、Stephen Sagar和Leo Lymburner的作品。数字地球非洲感谢达喀尔的生态学研究中心(CSE)所做的工作,该中心在西非地区的利益相关者的参与下评估了服务的准确性。还要感谢区域测绘资源促进发展中心(RCMRD)在利益相关者参与和反馈方面的工作。数字地球非洲感谢数字地球非洲产品开发任务小组对该服务的共同设计、共同开发和早期反馈。

参考文献¶

Bishop-Taylor, R., Nanson, R., Sagar, S., Lymburner, L. 2021. Digital Earth Australia
Coastlines. Geoscience Australia, Canberra. https://doi.org/10.26186/116268

var shoreline_annual = ee.FeatureCollection("projects/sat-io/open-datasets/DEAF/COASTLINES/coastlines_v040_shorelines_annual");
var hotspot_zoom_1 = ee.FeatureCollection("projects/sat-io/open-datasets/DEAF/COASTLINES/coastlines_v040_hotspots_zoom_1");
var hotspot_zoom_2 = ee.FeatureCollection("projects/sat-io/open-datasets/DEAF/COASTLINES/coastlines_v040_hotspots_zoom_2");
var hotspot_zoom_3 = ee.FeatureCollection("projects/sat-io/open-datasets/DEAF/COASTLINES/coastlines_v040_hotspots_zoom_3");
var rate_of_change = ee.FeatureCollection("projects/sat-io/open-datasets/DEAF/COASTLINES/coastlines_v040_rates_of_change");


Map.centerObject(shoreline_annual.first(),18)

// Get a color for a year
var yearColor = ee.Dictionary(
  {
    "2000": "#4d4d7a",
    "2001": "#535a88",
    "2002": "#5a608d",
    "2003": "#616692",
    "2004": "#686c97",
    "2005": "#6f719c",
    "2006": "#7677a1",
    "2007": "#7d7ca6",
    "2008": "#8482ab",
    "2009": "#8b87b0",
    "2010": "#bf0898",
    "2011": "#c70292",
    "2012": "#ce027e",
    "2013": "#d5016a",
    "2014": "#dc0156",
    "2015": "#e40042",
    "2016": "#ec003e",
    "2017": "#f3003a",
    "2018": "#fa0036",
    "2019": "#ff0033",
    "2020": "#ff6d33",
    "2021": "#ffe54c"
}
)

function addStyle(ft) {
  var color = yearColor.get(ft.get('year'));
  return ft.set('styleProperty', ee.Dictionary({'color': color}));
}

// Make a FeatureCollection out of years database
var pp = ee.FeatureCollection(shoreline_annual).map(addStyle);

function addLayer(year) {
  Map.addLayer(pp.filter(ee.Filter.eq('year', ee.Number.parse(year))).style({styleProperty: 'styleProperty', neighborhood: 50}), {}, year, true, 0.8);
}

// Apply `addLayer` to each record in years
yearColor.keys().getInfo().map(addLayer);

// Define a dictionary which will be used to make legend and visualize image on map
var dict = {
  "names": [
    "2000",
    "2001",
    "2002",
    "2003",
    "2004",
    "2005",
    "2006",
    "2007",
    "2008",
    "2009",
    "2010",
    "2011",
    "2012",
    "2013",
    "2014",
    "2015",
    "2016",
    "2017",
    "2018",
    "2019",
    "2020",
    "2021"
  ],
    "colors": [
    "#4d4d7a",
    "#535a88",
    "#5a608d",
    "#616692",
    "#686c97",
    "#6f719c",
    "#7677a1",
    "#7d7ca6",
    "#8482ab",
    "#8b87b0",
    "#bf0898",
    "#c70292",
    "#ce027e",
    "#d5016a",
    "#dc0156",
    "#e40042",
    "#ec003e",
    "#f3003a",
    "#fa0036",
    "#ff0033",
    "#ff6d33",
    "#ffe54c"
]
};

var legend = ui.Panel({
  style: {
    position: 'middle-right',
    padding: '8px 15px'
  }
});

// Create and add the legend title.
var legendTitle = ui.Label({
  value: 'Shoreline Year',
  style: {
    fontWeight: 'bold',
    fontSize: '18px',
    margin: '0 0 4px 0',
    padding: '0'
  }
});
legend.add(legendTitle);

var loading = ui.Label('Loading legend...', {margin: '2px 0 4px 0'});
legend.add(loading);

  // Creates and styles 1 row of the legend.
  var makeRow = function(color, name) {
    // Create the label that is actually the colored box.
    var colorBox = ui.Label({
      style: {
        backgroundColor: color,
        // Use padding to give the box height and width.
        padding: '8px',
        margin: '0 0 4px 0'
      }
    });

  // Create the label filled with the description text.
  var description = ui.Label({
    value: name,
    style: {margin: '0 0 4px 6px'}
  });

  return ui.Panel({
    widgets: [colorBox, description],
    layout: ui.Panel.Layout.Flow('horizontal')
  });
};
  var palette = dict['colors'];
  var names = dict['names'];
  loading.style().set('shown', false);

  for (var i = 0; i < names.length; i++) {
    legend.add(makeRow(palette[i], names[i]));
  }

// Print the panel containing the legend
print(legend);

Sample code: https://code.earthengine.google.com/?scriptPath=users/sat-io/awesome-gee-catalog-examples:oceans-shorelines/DEAF-Shorlines-V040

License

These datasets are made available under the CC BY 4.0 Attribution 4.0 International license. This license allows users to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator.

Created by: Digital Earth Africa

Curated in GEE by : Samapriya Roy

Keywords : Sea, ocean and coast, marine and coastal, coast, erosion, waterline extraction, subpixel waterlines, coastal change, DEAF CoastLines, coastline data, coastal erosion

Last updated : 2023-03-26

 

 

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

此星光明

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值