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  );

asked 03 Sep '23, 13:58

sevvalbulut's gravatar image

sevvalbulut
234
accept rate: 0%

edited 07 Sep '23, 17:35

Open%20Foris's gravatar image

Open Foris ♦♦
1.0k5714


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

permanent link

answered 07 Sep '23, 17:37

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: 03 Sep '23, 13:58

question was seen: 966 times

last updated: 07 Sep '23, 17:37