Hi everyone,

I can't login my google account with gee code editor trusted tester access windows?

Image Link: https://drive.google.com/file/d/1gh5TeS-_iBKxqgmGdDSZ_rftqdlyI-Kw/view?usp=sharing

I hope I've spelled correctly.

asked 20 Feb '20, 10:28

ormserdar's gravatar image

ormserdar
26515
accept rate: 0%


Following up on this:

IF YOU WANT TO HAVE YOUR OWN GEE APP

The current GEE App that is used by Collect Earth is quite complete : SEE EXAMPLE PLOT!

BUT, if you want to use your own GEE App then you can set it up by changing the earth.properties file and edit this property:

gee_app_url=https\://collectearth.users.earthengine.app/view/plot

The code for the script ( it uses the new ui.url.get method ) is here : https://code.earthengine.google.com/?scriptPath=users%2Fsanchezpauspro%2FApps%3ACollectEarthPlotAncillary

The GEE App results on this (see how the polygon is passed as a parameter): https://collectearth.users.earthengine.app/view/plot#geoJson={%22type%22:%22MultiLineString%22,%22coordinates%22:[[[100.0,%200.0],[101.0,%201.0]],[[102.0,2.0],[103.0,3.0]]]}

Here is how to publish apps if you haven’t done it before: https://developers.google.com/earth-engine/apps

The script refers to this other script that actually does most of the work: https://code.earthengine.google.com/?scriptPath=users%2Fcollectearth%2Fce_scripts%3Aframes_landsat_v4

The script refers to this repository: https://code.earthengine.google.com/?accept_repo=users/collectearth/ce_scripts

CONCLUSION

You can follow the same idea we have for the default GEE App used in Collect Earth (publishing a GEE App that takes a polygon as an argument) and then modify the earth.properties file so that the gee_app_url refers to this new URL.

The gee_app_url can also be set inside the project_definition.properties file in the CEP so that anyone that receives this CEP use the same URL without needing to modify any configuration file.

alt text

permanent link

answered 20 Feb '20, 11:13

Open%20Foris's gravatar image

Open Foris ♦♦
1.0k5714
accept rate: 10%

Thats it! This was the answer I was looking for..

Thank you so much

(21 Feb '20, 11:13) ormserdar ormserdar's gravatar image

Ciao Serdar!

This is a known problem in Collect Earth that originates from the use of Selenium in order to automatize the use of the GEE Code Editor browser window. Google blocks the authentication of the user when it detects that browser is controlled by Selenium Web Driver.

We have, since version 1.10, a workaround for this problem: to use a Google Earth Engine App (rather than the direct access to the Code Editor). This new integration has the same basic idea than the code editor integration but requires no sing-in by the user! This is a great advantage as the operators don't need to register to GEE when organizing a Mapathon

In order to use this option please go to Collect Earth Properties dialog and check this :

alt text

permanent link

answered 20 Feb '20, 10:51

Open%20Foris's gravatar image

Open Foris ♦♦
1.0k5714
accept rate: 10%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×284

question asked: 20 Feb '20, 10:28

question was seen: 3,284 times

last updated: 21 Feb '20, 11:13