geetools.batch.featurecollection.toLocal#

geetools.batch.featurecollection.toLocal(collection, filename, filetype=None, selectors=None, path=None)#

Download a FeatureCollection to a local file a CSV or geoJSON file.

This uses a different method than toGeoJSON and toCSV.

Parameters:
  • filetype – The filetype of download, either CSV or JSON. Defaults to CSV.

  • selectors – The selectors that should be used to determine which attributes will be downloaded.

  • filename – The name of the file to be downloaded