Skip to content

Conversation

@lopezvoliver
Copy link
Member

This pull request adds an additional check on the region parameter for each Export.image.toX, if it was passed by the user. If it's not of type "string" (may be passed as coordinates serialized as a string, see here), then wrap the call to ee.batch.Export.image.toX inside a function that gets called inside a region.evaluate().

This fixes #3

It also adds a default value for description as "myEETasksExportImageTask", as well as a default value for fileNamePrefix (=description) in .toCloudStorage and .toDrive.

@lopezvoliver lopezvoliver merged commit 452875e into gee-community:main Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EE script run failed: Error: Can't convert a computed Geometry to GeoJSON. Use evaluate() instead.

1 participant