How can I load my Earth Engine script in App Engine?

164 views
Skip to first unread message

Unesco Iha

unread,
Mar 22, 2016, 11:53:22 AM3/22/16
to Google App Engine
Hi everyone,

I have this Earth Engine Script that outputs the land cover % inside a polygon : https://code.earthengine.google.com/1dcdb45ae0a3b1738f8125f425210057
I want an app similar to the elevation demo (https://polygon-drawing-dot-ee-demos.appspot.com/) where one can draw a polygon and get the land cover %.

How can I transfert my Earth Engine Script in App Engine?
The instructions are not really clear, or at least I don't understand them : https://developers.google.com/earth-engine/app_engine_intro
Do I simply make an landcover.py file with my Earth Engine script inside and a app.yaml configuration file identical to the one in the "helloworld" example, but add "application: [my project ID]" in the first line?

I have Pyhton 2.7.8 (installed with ArcGIS 10.3) and the Google App Engine Launcher installed on Windows 10. 
Do I need anything else?

I know I'm asking a lot of question, but I am truly lost.

Thank you!

Nick (Cloud Platform Support)

unread,
Mar 22, 2016, 4:31:30 PM3/22/16
to Google App Engine
Hey Unesco,

The documentation you linked says the following, I think you may have just missed it in all the details:

The Earth Engine App Engine examples directory on GitHub contains a set of useful App Engine examples. See the Example Apps page for a brief description of each example. This doc provides instructions for how to set up and deploy the examples or custom apps you create.

Let me know if this information isn't what you're looking for, but I believe it is exactly what you've requested. 

Cheers,

Nick
Cloud Platform Community Support
Reply all
Reply to author
Forward
0 new messages