当前位置:网站首页>Using GEE plug-in in QGIS

Using GEE plug-in in QGIS

2022-07-05 07:15:00 RS&Hydrology

1. stay QGIS Middle configuration GEE plug-in unit
(1) stay QGIS Install in software :
 Insert picture description here
(2) Install plug-ins locally :
Installation website :https://plugins.qgis.org/plugins/ee_plugin/
After downloading , stay QGIS Install in software :
 Insert picture description here
Installation successful :
 Insert picture description here
Test error 1:
 Insert picture description here
 Insert picture description here

resolvent :
https://github.com/PANOimagen/batch_hillshader/issues/4
Need to re install the plug-in , Restart the software , Try a few more times , I don't know why .

Test error 2:
 Insert picture description here
resolvent :
(2) Set up QGIS The Internet
Reference resources :https://zhuanlan.zhihu.com/p/148811140
 Insert picture description here

2. example
(1) Load background layer  Insert picture description here
Pay attention to the need to install cloud plug-in unit .

(2) Load image data

import ee
from ee_plugin import Map

##load LC08 images/filter by date range/select bands RGB(432)
dataset = ee.ImageCollection('LANDSAT/LC08/C01/T1_TOA').filterDate('2017-01-01', '2017-12-31');
trueColor432 = dataset.select(['B4', 'B3', 'B2']);
trueColor432Vis = {
    
  min: 0.0,
  max: 0.4,
};
Map.setCenter(6.746, 46.529, 6);
Map.addLayer(trueColor432, trueColor432Vis, 'True Color (432)');

Reference material :
https://zhuanlan.zhihu.com/p/148811140

https://gee-community.github.io/qgis-earthengine-plugin/

QGIS Official documents :https://docs.qgis.org/testing/en/docs/user_manual/plugins/plugins.html#core-and-external-plugins

原网站

版权声明
本文为[RS&Hydrology]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140559171436.html