Using own GEE scripts and own plots in GEE app and integrating collect earth

  • Asked
  • Active
  • Viewed 9477 times
0

Hello , I reviewed the existing codes (https://openforis.support/questions/2813/how-to-use-your-own-gee-script-in-the-gee-app-window#gsc.tab=0) and made some additions and created a new GEE app to be used by collect earth. And I integrate this new GEE App into my Collect Earth survey. Here is what I don't fully understand and want to ask:

How should I integrate the points in my own plot? How can I get my new GEE app to zoom into points for each plot?

I guess, I need to change something on line 51 of the code in the link. (https://code.earthengine.google.com/?scriptPath=users%2Fsanchezpauspro%2FApps%3ACollectEarthPlotAncillary )

How should I create an input to the following part, what should I change. I don't understand the logic, if you can help me I would be very grateful.Thanks!

var plotId = ui.url.get('plotId', 'Plot');

var geoJson = ui.url.get('geoJson', 
'{"type":"MultiLineString","coordinates":[[[-61.79819,17.624234],[-61.796098,17.624234],[-61.796098,17.622228],[-61.79819,17.622228],[-61.79819,17.624234]]]}'
);
var obj = JSON.parse(geoJson);
var geometry = ee.Geometry( obj );

script.processPlotInfo( geometry, startTime, endTime, lastYearToday, null, plotId  );
0

Accepted answer

Dear user, This is a pretty complex topic, we will contact you directly to get some more context information. Excuse the late reply!

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.