Springe direkt zu Inhalt

Integration of RStudio, QGIS and Python

Currently, Google supports APIs for JavaScript (as in the implemented Code Editor) and Python. The latter, however, allows for the GEE to be implemented in other tools as well, such as RStudio and QGIS.

 

Integration in Python

To install the Earth Engine Python client library, you will need to make use of a package manager for Python. This can be done via conda or pip, but Google recommends to use conda. Please read these guides carefully and follow the instructions to learn how to install, setup and update your Earth Engine client library installation for your corresponding package manager. The guides also contain tutorials on how to alter the syntax of your code, as the client-side expressions can vary between JavaScript (default, Code Editor) and Python. Please be aware that you will always have to import and initialize the Python API package for every new Python session.

 

Integration in RStudio

There are several ways to integrate GEE into your RStudio. One of them is to install the package rgee, which depends on the python packages numpy and ee. Please read through the official rgee documentation carefully and follow the instructions to learn how to install and setup your RStudio integration. The documentation also shows syntax comparisons and additional smaller changes that you should keep in mind when using the GEE with RStudio.

 

Integration in QGIS

The GEE can be integrated into QGIS by installing the ‘QGIS Earth Engine plugin’ from the QGIS Plugin Repository, just as you would install any other QGIS plugin. However, to use it, you will need to have a valid Google Earth Engine Account, as you will be asked to authenticate. Please read through the official QGIS Earth Engine plugin-documentation carefully and follow the instructions to learn how to install and setup your QGIS integration. It also contains some advanced example scripts and tips to help you get started with using the GEE in QGIS.