Skip to content

How do I get the image ID of all the images in a collection? #399

Answered by GokulGeo
GokulGeo asked this question in Q&A
Discussion options

You must be logged in to vote

Before posting I didn't see this issue fix #179

So I corrected my scripts with reference to it.

id= S2.aggregate_array('system:id').getInfo()
id

returns Image id of all the images in a collection

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@giswqs
Comment options

@GokulGeo
Comment options

@GokulGeo
Comment options

@giswqs
Comment options

Answer selected by giswqs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants