前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >专栏 >Google Earth Engine使用

Google Earth Engine使用

作者头像
云深无际
发布于 2021-10-20 03:13:55
发布于 2021-10-20 03:13:55
1.4K00
代码可运行
举报
文章被收录于专栏:云深之无迹云深之无迹
运行总次数:0
代码可运行

谷歌的地理引擎,通过一些简单的API我们就可以在几十PB大小的数据内进行弹性运算,以获得我们需要的结果。我们每个人都有权利平等的来享受这个美好的世界。

Earth

如何从Google Earth创建KML文件,前几天我写了这个文章,后面有个小尾巴说,有个Google地球的玩意儿,没有权限。我申请了一下,然后通过了。

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
https://developers.google.com/earth-engine

成功的页面

编辑器的样子

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
function radians(img) {
  return img.toFloat().multiply(Math.PI).divide(180);
}


function hillshade(az, ze, slope, aspect) {

  var azimuth = radians(ee.Image(az));
  var zenith = radians(ee.Image(ze));

var terrain = ee.Algorithms.Terrain(ee.Image('CGIAR/SRTM90_V4'));
var slope = radians(terrain.select('slope'));
var aspect = radians(terrain.select('aspect'));


Map.setCenter(-121.767, 46.852, 11);
for (var i = 0; i < 360; i += 60) {
  Map.addLayer(hillshade(i, 60, slope, aspect), {}, i + ' deg');
}

JavaScript不太会,就随便写写

执行结果

谷歌赋予了我们在浏览器端操作40PB数据的强大能力,可视化,分析等。

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
https://developers.google.com/earth-engine/tutorials/tutorials

具体的文档的位置

那这些数据里面包含什么?看下面的截图

可以看到数据情况是异常丰富的,数据的大也是难以想象的

打开最后一个地球物理的图谱

但是这个东西怎么用呢?

首先这份数据是:

AHN DEM 是覆盖荷兰的 0.5m DEM。它是根据 2007 年至 2012 年春季拍摄的 LIDAR 数据生成的。

它包含地面样本,地面上的所有其他项目(例如建筑物、桥梁、树木等)均已移除。这个版本是内插的;已移除对象的区域填充有内插值。使用平方逆距离加权方法将点云转换为0.5m网格。注意:此数据集不包括清单中列出的少量仅在较低分辨率下可用的图块。

此时打开我们的编辑器:编写上面的代码

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
var dataset = ee.Image('AHN/AHN2_05M_INT');
var elevation = dataset.select('elevation');
var elevationVis = {
  min: -5.0,
  max: 30.0,
};
Map.setCenter(5.76583, 51.855276, 16);
Map.addLayer(elevation, elevationVis, 'Elevation');

调用这个数据包

点击运行

会生成这样的图层

我本来是想给大家看个论文的,可惜我没有啦!(后面又有了~)

Google Earth Engine:适合所有人的行星尺度地理空间分析

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
https://reader.elsevier.com/reader/sd/pii/S0034425717302900?token=1FF3779D5DE17E05BC3B61D2D76821C07B0CD202377AC7E795CAAE6C25877D5B504D38A7B74ABF537D3564C8752DB455&originRegion=us-east-1&originCreation=20211004003759

位置

基于Google Earth的一份研究报告

看看成果什么的

这个叫框图吧

突然发现可以打印论文!

yes!

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
https://www.earthengine.app/

这个页面是一些已经做好的app,值得学习

点击任意一个地方,生成海洋温度的时间序列

结果

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
https://developers.google.com/earth-engine/guides/python_install

如果你的哪个js写的不好(疯狂暗示),其实(搓手手)

还有Python的API哇~~~

文档页面还有了语言之间的差异

看见Python可真的是太亲切了

退一步讲,对于浏览器的应用的话,还是学学js吧,毕竟前端技术也是好有趣的。

代码语言:javascript
代码运行次数:0
运行
AI代码解释
复制
https://developers.google.com/earth-engine/tutorials/tutorial_js_01

学习指南,通俗易懂(质量也高)

本文参与 腾讯云自媒体同步曝光计划,分享自微信公众号。
原始发表:2021-10-04,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 云深之无迹 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
暂无评论
推荐阅读
编辑精选文章
换一批
GEE基础学习——Hillshade山阴的计算和显示
很多时候我们需要计算山阴主要通过ee.Terrain.hillshade()来实现,具体代码如下:
此星光明
2024/02/01
1920
GEE基础学习——Hillshade山阴的计算和显示
Google Earth Engine——南极洲参考高程模型(REMA)是一个高分辨率、有时间戳的南极洲数字表面模型(DSM),具有2米和8米的空间分辨率
The Reference Elevation Model of Antarctica (REMA) is a high resolution, time-stamped Digital Surface Model (DSM) of Antarctica at 2-meter and 8-meter spatial resolutions.
此星光明
2024/02/02
1890
Google Earth Engine——南极洲参考高程模型(REMA)是一个高分辨率、有时间戳的南极洲数字表面模型(DSM),具有2米和8米的空间分辨率
Google Earth Engine学习笔记——介绍和入门
最近接触Google Earth Engine,觉得很好玩, 也很有应用前景,最关键Google Earth Engine是免费的地理计算云平台。所以想认真学习下,学习过程中作些小的总结和记录,资料来源均为网络或Google Earth Engine API指南,今天先讲讲入门的知识。
全栈程序员站长
2022/11/04
4.1K0
Google Earth Engine学习笔记——介绍和入门
Google Earth Engine——GTOPO30: Global 30 Arc-Second Elevation全球数字高程模型(DEM),水平网格间距为30角秒(约1公里)。
GTOPO30 is a global digital elevation model (DEM) with a horizontal grid spacing of 30 arc seconds (approximately 1 kilometer). The DEM was derived from several raster and vector sources of topographic information. Completed in late 1996, GTOPO30 was developed over a three-year period through a collaborative effort led by the U.S. Geological Survey's Center for Earth Resources Observation and Science (EROS). The following organizations participated by contributing funding or source data: the National Aeronautics and Space Administration (NASA), the United Nations Environment Programme/Global Resource Information Database (UNEP/GRID), the U.S. Agency for International Development (USAID), the Instituto Nacional de Estadistica Geografica e Informatica (INEGI) of Mexico, the Geographical Survey Institute (GSI) of Japan, Manaaki Whenua Landcare Research of New Zealand, and the Scientific Committee on Antarctic Research (SCAR).
此星光明
2024/02/02
3070
Google Earth Engine——GTOPO30: Global 30 Arc-Second Elevation全球数字高程模型(DEM),水平网格间距为30角秒(约1公里)。
谷歌地球引擎GEE下载DEM数据
  本文介绍在谷歌地球引擎(Google Earth Engine,GEE)中,批量下载指定时间与空间范围内的数字高程模型(DEM)数据的方法。本文是谷歌地球引擎(Google Earth Engine,GEE)系列教学文章的第23篇。
疯狂学习GIS
2024/11/28
2620
谷歌地球引擎GEE下载DEM数据
GEE代码实例教程详解:地形分析
在本篇博客中,我们将使用Google Earth Engine (GEE) 对特定区域内的地形进行分析。我们将使用SRTM(Shuttle Radar Topography Mission)数据集获取高程信息,并计算坡度、坡向等地形属性。此外,我们还将使用ALOS(Advanced Land Observing Satellite)数据集来分析数字地表模型(DSM)。
Twcat_tree
2024/07/09
2920
Google Earth Engine ——数据全解析专辑(SRTM Digital Elevation Data Version 4)数字高程数据集
The Shuttle Radar Topography Mission (SRTM) digital elevation dataset was originally produced to provide consistent, high-quality elevation data at near global scope. This version of the SRTM digital elevation data has been processed to fill data voids, and to facilitate its ease of use.
此星光明
2024/02/02
3040
Google Earth Engine ——数据全解析专辑(SRTM Digital Elevation Data Version 4)数字高程数据集
Google Earth Engine——HydroSHEDS是基于2000年NASA的航天飞机雷达地形任务(SRTM)获得的高程数据
HydroSHEDS is a mapping product that provides hydrographic information for regional and global-scale applications in a consistent format. It offers a suite of geo-referenced datasets (vector and raster) at various scales, including river networks, watershed boundaries, drainage directions, and flow accumulations. HydroSHEDS is based on elevation data obtained in 2000 by NASA's Shuttle Radar Topography Mission (SRTM).
此星光明
2024/02/02
1870
Google Earth Engine——HydroSHEDS是基于2000年NASA的航天飞机雷达地形任务(SRTM)获得的高程数据
Google Earth Engine ——数据全解析专辑(CPOM/CryoSat2/ANTARCTICA_DEM)南极洲10m精度DEM数据集
This dataset is a digital elevation model (DEM) of the Antarctic ice sheet and ice shelves based on observations recorded by the CryoSat-2 satellite radar altimeter between July 2010 and July 2016.
此星光明
2024/02/02
1190
Google Earth Engine ——数据全解析专辑(CPOM/CryoSat2/ANTARCTICA_DEM)南极洲10m精度DEM数据集
Google Earth Engine——SRTM V3产品(SRTM Plus)由NASA JPL提供,分辨率为1弧秒(约30米)。
The Shuttle Radar Topography Mission (SRTM, see Farr et al. 2007) digital elevation data is an international research effort that obtained digital elevation models on a near-global scale. This SRTM V3 product (SRTM Plus) is provided by NASA JPL at a resolution of 1 arc-second (approximately 30m).
此星光明
2024/02/02
2730
Google Earth Engine——SRTM V3产品(SRTM Plus)由NASA JPL提供,分辨率为1弧秒(约30米)。
Google Earth Engine——该数据集是2018年30米分辨率的中国梯田分布地图。它是通过使用基于谷歌地球引擎平台的多源和多时空数据进行基于像素的监督性分类开发的。
This dataset is a China terrace map at 30 m resolution in 2018. It was developed through supervised pixel-based classification using multisource and multi-temporal data based on the Google Earth Engine platform. The overall accuracy and kappa coefficient achieved 94% and 0.72, respectively. This first 30 m China terrace map can be used for studies on soil erosion, food security, biogeochemical cycle, biodiversity, and ecosystem service assessments.
此星光明
2024/02/02
1910
Google Earth Engine——该数据集是2018年30米分辨率的中国梯田分布地图。它是通过使用基于谷歌地球引擎平台的多源和多时空数据进行基于像素的监督性分类开发的。
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m 格网DEM!
The AHN DEM is a 0.5m DEM covering the Netherlands. It was generated from LIDAR data taken in the spring between 2007 and 2012.
此星光明
2024/02/02
1160
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m 格网DEM!
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m DEM!
The AHN DEM is a 0.5m DEM covering the Netherlands. It was generated from LIDAR data taken in the spring between 2007 and 2012.
此星光明
2024/02/02
1410
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m DEM!
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m 点云平方逆距离加权方法DEM!
The AHN DEM is a 0.5m DEM covering the Netherlands. It was generated from LIDAR data taken in the spring between 2007 and 2012.
此星光明
2024/02/02
930
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m 点云平方逆距离加权方法DEM!
Google Earth Engine ——数据全解析专辑(DEM-S: Australian Smoothed Digital Elevation Model)澳大利亚1弧秒 DEM!
The Smoothed Digital Elevation Model (DEM-S) was derived from the SRTM data acquired by NASA in February 2000. DEM-S represents ground surface topography (excluding vegetation features) and has been smoothed to reduce noise and improve the representation of surface shape. An adaptive process applied more smoothing in flatter areas than hilly areas, and more smoothing in noisier areas than in less noisy areas.
此星光明
2024/02/02
1690
Google Earth Engine ——数据全解析专辑(DEM-S: Australian Smoothed Digital Elevation Model)澳大利亚1弧秒 DEM!
Google Earth Engine(GEE)——全球去除森林和建筑物的哥白尼30米DEM数据集
FABDEM(去除森林和建筑物的哥白尼30米DEM FABDEM(去除森林和建筑物的哥白尼DEM)从哥白尼GLO 30数字高程模型(DEM)中去除建筑物和树木高度的偏差(空中客车,2020年)。该数据以1角秒的网格间距(赤道上约30米)提供给全球。作者使用机器学习从哥白尼数字高程模型中去除建筑物和森林,首次产生了一个以1角秒(∼30米)网格间距去除建筑物和森林的全球高程地图。你可以在这里阅读该论文:
此星光明
2024/02/02
3880
Google Earth Engine(GEE)——全球去除森林和建筑物的哥白尼30米DEM数据集
Google Earth Engine——南极洲高程模型(REMA)2米和8米的空间分辨率数据集
The Reference Elevation Model of Antarctica (REMA) is a high resolution, time-stamped Digital Surface Model (DSM) of Antarctica at 2-meter and 8-meter spatial resolutions.
此星光明
2024/02/02
2220
Google Earth Engine——南极洲高程模型(REMA)2米和8米的空间分辨率数据集
Google Earth Engine——Arctic北极DEM是一个数字表面模型(DSM),描绘了包括植被、树冠、建筑物和其他人造表面特征在内的第一回的高程值,2米/5米分辨率
ArcticDEM is a digital surface model (DSM) that portrays first-return elevation values that include vegetation, tree canopy, buildings, and other man-made surface features. The 2m asset is a collection of strips rather than a single mosaic due to projection differences between strips.
此星光明
2024/02/02
2100
Google Earth Engine——Arctic北极DEM是一个数字表面模型(DSM),描绘了包括植被、树冠、建筑物和其他人造表面特征在内的第一回的高程值,2米/5米分辨率
Google Earth Engine(GEE)——argument ‘input‘: Invalid type. Expected type: Image<unknown bands>错误
lope: Layer error: Terrain.slope, argument 'input': Invalid type. Expected type: Image<unknown bands>. Actual type: ImageCollection.
此星光明
2024/02/02
1880
Google Earth Engine(GEE)——argument ‘input‘: Invalid type. Expected type: Image<unknown bands>错误
Google Earth Engine(GEE)——冰岛DEM v1.0 10m数据集
冰岛DEM v1.0 10m 自2015年起,北极(北纬60度以北,包括冰岛)的高程数据开始通过ArcticDEM项目公开提供,该项目由明尼苏达大学极地地理空间中心领导(https://www.pgc.umn.edu/data/arcticdem/)。
此星光明
2024/02/02
1910
Google Earth Engine(GEE)——冰岛DEM v1.0 10m数据集
推荐阅读
GEE基础学习——Hillshade山阴的计算和显示
1920
Google Earth Engine——南极洲参考高程模型(REMA)是一个高分辨率、有时间戳的南极洲数字表面模型(DSM),具有2米和8米的空间分辨率
1890
Google Earth Engine学习笔记——介绍和入门
4.1K0
Google Earth Engine——GTOPO30: Global 30 Arc-Second Elevation全球数字高程模型(DEM),水平网格间距为30角秒(约1公里)。
3070
谷歌地球引擎GEE下载DEM数据
2620
GEE代码实例教程详解:地形分析
2920
Google Earth Engine ——数据全解析专辑(SRTM Digital Elevation Data Version 4)数字高程数据集
3040
Google Earth Engine——HydroSHEDS是基于2000年NASA的航天飞机雷达地形任务(SRTM)获得的高程数据
1870
Google Earth Engine ——数据全解析专辑(CPOM/CryoSat2/ANTARCTICA_DEM)南极洲10m精度DEM数据集
1190
Google Earth Engine——SRTM V3产品(SRTM Plus)由NASA JPL提供,分辨率为1弧秒(约30米)。
2730
Google Earth Engine——该数据集是2018年30米分辨率的中国梯田分布地图。它是通过使用基于谷歌地球引擎平台的多源和多时空数据进行基于像素的监督性分类开发的。
1910
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m 格网DEM!
1160
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m DEM!
1410
Google Earth Engine ——数据全解析专辑(AHN Netherlands 0.5m DEM, Interpolated)荷兰0.5m 点云平方逆距离加权方法DEM!
930
Google Earth Engine ——数据全解析专辑(DEM-S: Australian Smoothed Digital Elevation Model)澳大利亚1弧秒 DEM!
1690
Google Earth Engine(GEE)——全球去除森林和建筑物的哥白尼30米DEM数据集
3880
Google Earth Engine——南极洲高程模型(REMA)2米和8米的空间分辨率数据集
2220
Google Earth Engine——Arctic北极DEM是一个数字表面模型(DSM),描绘了包括植被、树冠、建筑物和其他人造表面特征在内的第一回的高程值,2米/5米分辨率
2100
Google Earth Engine(GEE)——argument ‘input‘: Invalid type. Expected type: Image<unknown bands>错误
1880
Google Earth Engine(GEE)——冰岛DEM v1.0 10m数据集
1910
相关推荐
GEE基础学习——Hillshade山阴的计算和显示
更多 >
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档
查看详情【社区公告】 技术创作特训营有奖征文