split#

geetools.ee_feature_collection.FeatureCollectionAccessor.split(parts=1)#

Split a feature collection in multiple parts.

Parameters:

parts (int | ee.Number) – The number of parts to split the collection in

Returns:

A list of ee.FeatureCollection

Return type:

ee.List

Examples

import ee, geetools
from geetools.utils import initialize_documentation

initialize_documentation()

fc = ee.FeatureCollection("FAO/GAUL/2015/level0")
ee.FeatureCollection(fc.geetools.split(2).get(1)).size().getInfo()
145