forked from google/earthengine-api
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
115 changed files
with
38,727 additions
and
25,715 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,37 @@ | ||
Earth Engine Demo: Export to Drive | ||
================================== | ||
# Earth Engine Demo: Export to Drive | ||
|
||
This is an example [Google App Engine](https://cloud.google.com/appengine/docs) | ||
web app that communicates with [Google Earth Engine](https://earthengine.google.org). | ||
It allows users to view night-time lights for different years and export drawn regions | ||
to [Google Drive](https://www.google.com/drive/). | ||
web app that communicates with | ||
[Google Earth Engine](https://earthengine.google.org). It allows users to view | ||
night-time lights for different years and export drawn regions to | ||
[Google Drive](https://www.google.com/drive/). | ||
|
||
Set up | ||
------ | ||
## Set up Google Cloud command-line tools | ||
|
||
The [gcloud](https://cloud.google.com/sdk/gcloud/) utility is needed to run an | ||
instance of the sample app on your machine. The same utility can be helpful in | ||
pushing things into the production App Engine cloud. | ||
|
||
1. Download and install the [Google Cloud SDK](https://cloud.google.com/sdk/). | ||
2. Authenticate to Google Cloud Platform by running `gcloud auth login`. | ||
3. Configure the command line tools to use your cloud project by running: | ||
`gcloud config set project <project-id>` | ||
|
||
## Set up the repo | ||
|
||
To set up yourself, download the Earth Engine API repository from GitHub: | ||
|
||
git clone https://github.com/google/earthengine-api.git | ||
``` | ||
git clone https://github.com/google/earthengine-api.git | ||
``` | ||
|
||
Navigate to this demo: | ||
|
||
cd ./earthengine-api/demos/export-to-drive/ | ||
``` | ||
cd ./earthengine-api/demos/export-to-drive/ | ||
``` | ||
|
||
Then follow the instructions in the Developer Docs to | ||
[deploy an EE-based App Engine app]( | ||
https://developers.google.com/earth-engine/app_engine_intro#deploying-app-engine-apps-with-earth-engine). | ||
For the credentials section, you'll need both a Service Account and an OAuth2 Client ID. | ||
[deploy an EE-based App Engine app](https://developers.google.com/earth-engine/app_engine_intro#deploying-app-engine-apps-with-earth-engine). | ||
For the credentials section, you'll need both a Service Account and an OAuth2 | ||
Client ID. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.