geetools.batch.featurecollection.toAsset#

geetools.batch.featurecollection.toAsset(table, assetPath, name=None, create=True, verbose=False, **kwargs)#

This function can create folders and ImageCollections on the fly.

The rest is the same to Export.image.toAsset. You can pass the same params as the original function.

Parameters:
  • table (ee.FeatureCollection) – the feature collection to upload

  • assetPath (str) – path to upload the image (only PATH, without filename)

  • name (str) – filename for the image (AssetID will be assetPath + name)

Returns:

the tasks

Return type:

ee.batch.Task