Geographic Information Systems Asked by Saurabh Khanna on November 16, 2020
I want to transfer some images from Earth Engine to a Google Cloud Storage bucket. I know that I can use the following code to accomplish this task:
Export.image.toCloudStorage({
image: image,
bucket: bucket_name,
fileNamePrefix: file_name_prefix,
fileFormat: 'GeoTIFF'
})
This stores my image in the form of several chunks inside my bucket. However, I cannot see the image metadata in any of these chunks. Can someone advise me as to how to save the metadata along with the images?
you could for example export a CSV file. This gives a file with the properties of the image and their corresponding values?
Export.table.toCloudStorage({
collection: ee.FeatureCollection([ee.Feature(image)]),
bucket: bucket_name,
fileNamePrefix: file_name_prefix,
fileFormat: 'CSV'
})
If you have multiple images in one collection, you can also export the collection in once.
Answered by Kuik on November 16, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP