1 of 10

#GeoForGood19

2 of 10

Earth Engine

Early Access REST API

Alex Rybak, Sai Cheemalapati �9/18/2019

#GeoForGood19

3 of 10

Agenda

  • API Overview
  • Intro to Google Cloud Console
  • Hands-On Workshop

#GeoForGood19

4 of 10

API Overview

  • Access Earth Engine data catalog and computation platform via an HTTP API
  • Authenticate using OAuth2, using personal account or service accounts
  • Build custom applications on top of Earth Engine platform in any language
  • Manage your API usage and quota in Google Cloud Console

#GeoForGood19

5 of 10

API Overview

API is broken down into different categories of functionality:

  • Asset Management (Create, Delete, Update, List, Get, Move and Copy Assets)
  • Asset Sharing (Get and Set Permissions)
  • Computations (Compute Value, Pixels, Features, and Images)
  • Imports(Import Images and Tables)
  • Exports (Export Images, Tables, Videos, Maps, and VideoMaps)
  • List Images / Features (List Images in ImageCollection and Features in Table)
  • Get Pixels (Get Pixels from Image)
  • Map Tiles and Thumbnails (Create and Get Maps/Tiles and Thumbnails)
  • Long Running Operations (List, Get, and Cancel Operations)

#GeoForGood19

6 of 10

Google Cloud Console

First step is to Create a Cloud Project:

  1. Go to http://console.cloud.google.com
  2. Select the Project Switcher
  3. Press “New Project” at the top-right
  4. Choose a project name and a unique id
  5. Note that id is permanent for this project!

#GeoForGood19

7 of 10

Google Cloud Console

Next, enable the Earth Engine API:

  • Click the Navigation Menu (top-left)
  • Select “APIs & Services > Library”
  • Search for “Google Earth Engine”
  • Select the API from the list
  • Press “Enable API”

#GeoForGood19

8 of 10

Google Cloud Console

#GeoForGood19

9 of 10

Next Steps

  1. If you haven’t already, sign up for Google Earth Engine
  2. Request to be whitelisted for the Earth Engine REST API
  3. Follow the Google Earth Engine REST API Colab Notebook
  4. See the Earth Engine REST API quickstart and reference documentation

#GeoForGood19

10 of 10

#GeoForGood19