Skip to content

Yichuans/gee-lc-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A prototype API using the Google Earth Engine to retrieve land cover information.

This is a place holder for exploring functionality of the Google Earth Engine using Jupyter notebook.

Thinking

TBD

Implementation

  1. exploring and prototyping GEE functionalities

  2. build utility wrappers around the above

  3. package using flask (a Python mirco web framework or others?) to build APIs and expose (there are a lot of examples. A Google service account (?) is needed...

  4. demo usage of the API: many nano examples that use these APIs to solve real (perhaps trivial) problems

Quick start

Install docker.

Build the image, see details in the dockerfile.

docker build -t gee:latest .

Run the container in Mac/Linux host docker run --name "gee" -it -p "127.0.0.1:8888:8888" -v ./workspace:/app gee

Run the container in windows host docker run --name "gee" -it -p "127.0.0.1:8888:8888" -v %cd%/workspace:/app gee

Once this is done, you can open up your browser and visit 127.0.0.1:8888. This will open the Jupyter notebook. You might need to copy and paste the token from the console to the browser the first time.

Next you'll need to authorise the Google Earth Engine, which is currently open to trusted testers only. You can consult this notebook for more information. Please note that you would also need to register a Google Earth Engine account.

More information on using docker and the earth engine can be found on Google Earth Engine's Python API quick start.

TBD

About

Google Earth Engine API wrapper for Land cover

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published