Краткая информация
Exports the metadata for datasets within a Bathymetric Information System (BIS) workspace.
Использование
You can export the metadata for all datasets within your BIS workspace or, optionally, for datasets consisting of a single surface model within your BIS workspace.
The exported metadata includes Extended Metadata, Collection Metadata, and Internal Metadata (for any BAG datasets), as well as various other properties of each dataset, such as cell size and dataset name.
The metadata fields and values that are exported will be consistent with those that appear in the Explore Bathymetry window. Field values for any Extended or Collection metadata fields that are not enabled as searchable from their respective Metadata Configuration Editor dialog box will also be exported.
Metadata fields and field values for retired fields will not be exported.
For enterprise BIS workspaces, only metadata for the most recent version of a model can be exported.
If the tool is run while adding bathymetry to a BIS workspace, the export will contain records for only those datasets that existed in the BIS prior to running the Add Bathymetry tool.
Синтаксис
ExportBisMetadata_bathymetry (bis_workspace, out_table, {bis_model})
Параметр | Объяснение | Тип данных |
bis_workspace | The Bathymetric Information System (BIS) from which the metadata should be exported. This parameter accepts any geodatabase (.gdb) or enterprise database connection file (.sde) that has been registered as a BIS on the most recently upgraded version. | Workspace |
out_table | The output geodatabase table that will be created containing each dataset's metadata values. | Table |
bis_model (Дополнительный) | The BIS surface model from which the metadata should be exported. If no value is given, the metadata for all datasets in the BIS will be exported. | String |
Пример кода
ExportBisMetadata example (stand-alone script)
The following stand-alone script demonstrates how to use the tool.
# Name: ExportBisMetadata_Ex1.py
# Description: Exports metadata for a few bathymetry datasets within the BIS geodatabase
# Requirements: ArcGIS for Maritime Bathymetry
import arcpy
arcpy.CheckOutExtension("Bathymetry")
# set up parameters
bis_workspace = r"C:\Data\BIS.gdb"
out_table = r"C:\Data\BIS_Exports.gdb\San_Diego_Bathymetry_Metadata"
bis_model = "San Diego Bathymetry"
# execute the tool
arcpy.ExportBisMetadata_bathymetry(bis_workspace, out_table, bis_model)
Параметры среды
Информация о лицензиях
- ArcGIS Desktop Basic: Нет
- ArcGIS Desktop Standard: Требует Maritime Bathymetry
- ArcGIS Desktop Advanced: Требует Maritime Bathymetry