GeoEco.Datasets.GDAL.GDALDataset.ImportDatasets

GDALDataset.ImportDatasets(datasets, mode='Add', reportProgress=True, **options)

Copies each Dataset in a list into this DatasetCollection.

Parameters:
  • datasets (list of Dataset) – list of Datasets to import.

  • 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 (dict mapping str to object) – Additional options specific to the collection type.