geetools.batch.featurecollection.toGeoJSON#
- geetools.batch.featurecollection.toGeoJSON(collection, name, path=None, split_at=4000)#
Export a FeatureCollection to a GeoJSON file.
- Parameters:
collection (ee.FeatureCollection) – The collection to export
name (str) – name of the resulting file
path (str) – The path where to save the file. If None, will be saved in the current folder
split_at (int) – limit to avoid an EE Exception
- Returns:
A GeoJSON (.geojson) file.
- Return type:
file