Adding imagery to Collect Earth Online (JSON Visualization Parameters)

  • Asked
  • Active
  • Viewed 3419 times
0

I would like to add my own imagery to a Collect Earth Online project. In particular, I want to visualize a single band that has 7 land cover classes. When I try to set the JSON Visualization Parameters I get an error: "Invalid JSON in the "Visualization Parameters" field." I cannot find any documentation online about which viz parameters are accepted. These are the parameters I have been trying to pass: {"bands":["LC_Class"], "min": 1, "max": 7, "palette": ['#5475a8', '#ffffff', '#b50000', '#d2cdc0', '#38814e', '#dcca8f', '#ca9146']}. Please help!

0

Accepted answer

Hi there,

Information about visualization in CEO is available in the Institution and Project Creation manual available for download on the Support page (https://collect.earth/support).

For visualizing GEE assets, the visualization parameters are based on those in GEE. You do not need the # signs for hex code. Either "palette":['111111','222222', '333333'] or "palette":"111111,222222,333333" will work.

Best, Karen

0

Accepted answer

Thank you so much for the help! It worked.

Best, Radost

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.