GeoEco.Datasets.Collections.DirectoryTree.ImportDatasets
- DirectoryTree.ImportDatasets(datasets, mode='Add', reportProgress=True, **options)
Copies each
Datasetin alistinto thisDatasetCollection.- Parameters:
mode (
str, optional) –Overwrite mode, one of:
Add - create datasets that do not exist and skip those that already exist. This is the default.
Replace - create datasets that do not exist and overwrite those that already exist.
Note
The ArcGIS Overwrite Output geoprocessing environment setting has no influence here. If
'Replace'is used, the datasets will be overwritten, regardless of the ArcGIS Overwrite Output setting.Allowed values꞉
'Add','Replace'.reportProgress (
bool, optional) – If True, progress messages will be logged periodically as the import proceeds.options (
dictmappingstrtoobject) – Additional options specific to the collection type.