Remove Data From BIS (Bathymetry)

摘要

Removes data from a Bathymetric Information System (BIS) geodatabase.

This tool does not delete or modify the registered datasets.

使用情况

  • The BIS workspace where the Target BisCatalog parameter value is located must already contain a BIS.

  • This tool removes datasets from the BisCatalog catalog dataset and BisBDI mosaic dataset, as appropriate.

  • This tool deletes proxy rasters, if relevant.

  • You must have edit access to the proxy raster location, if applicable.

  • Data removal cannot be undone. To add data back to a BIS, use the Add Data To BIS or Add Point Data To BIS tool.

  • Refresh the layers in the List By Data Source tab of the Contents pane to see datasets added by other users when adding data to an enterprise geodatabase BIS.

参数

标注说明数据类型
Target BisCatalog

The catalog dataset in the BIS workspace.

Feature Layer
Query Definition
(可选)

An SQL expression to select the datasets that will be removed from the BIS.

If no datasets are selected, either from the BisCatalog attributes table or through a definition query, a warning is generated. To delete all records from a BIS, specify a query that selects all datasets; for example, OBJECTID >= 0.

SQL Expression
Delete overview images
(可选)

Specifies whether the overviews associated with the selected rasters will be deleted.

  • Checked—The overviews will be deleted. This is the default.
  • Unchecked—The overviews will not be deleted.
Boolean
Update overviews
(可选)

Specifies whether the overviews and statistics will be updated.

  • Checked—The overviews and statistics for a mosaic dataset will be updated.
  • Unchecked—The overviews and statistics for a mosaic dataset will not be updated. This is the default.
Boolean

派生输出

标注说明数据类型
Updated BIS

The updated BIS workspace.

Workspace
Updated BisCatalog

The updated catalog dataset.

Catalog Layer

arcpy.bathymetry.RemoveDataFromBIS(target_biscatalog, {where_clause}, {delete_overview_images}, {update_overviews})
名称说明数据类型
target_biscatalog

The catalog dataset in the BIS workspace.

Feature Layer
where_clause
(可选)

An SQL expression to select the datasets that will be removed from the BIS.

If no datasets are selected, either from the BisCatalog attributes table or through a definition query, a warning is generated. To delete all records from a BIS, specify a query that selects all datasets; for example, OBJECTID >= 0.

SQL Expression
delete_overview_images
(可选)

Specifies whether the overviews associated with the selected rasters will be deleted.

  • DELETE_OVERVIEW_IMAGESThe overviews will be deleted. This is the default.
  • NO_DELETE_OVERVIEW_IMAGESThe overviews will not be deleted.
Boolean
update_overviews
(可选)

Specifies whether the overviews and statistics will be updated.

  • UPDATE_OVERVIEWSThe overviews and statistics for a mosaic dataset will be updated.
  • NO_UPDATE_OVERVIEWSThe overviews and statistics for a mosaic dataset will not be updated. This is the default.
Boolean

派生输出

名称说明数据类型
updated_bis

The updated BIS workspace.

Workspace
updated_biscatalog

The updated catalog dataset.

Catalog Layer

代码示例

RemoveDataFromBIS example (Python window)

The following Python window script demonstrates how to use the RemoveDataFromBIS function.

#Import arcpy module and toolbox
import arcpy
arcpy.CheckOutExtension("Bathymetry")

#Identify tool parameters
target_biscatalog = r"C:\Data\BIS.gdb\BisCatalog"
query = "OBJECTID = 27"
delete_overviews = "DELETE_OVERVIEW_IMAGES"
update_overviews = "UPDATE_OVERVIEWS"

#Run the tool
arcpy.bathymetry.RemoveDataFromBIS(target_biscatalog, query, delete_overviews, update_overviews)
arcpy.CheckInExtension("Bathymetry")

环境

许可信息

  • Basic: 否
  • Standard: 需要 ArcGIS Bathymetry
  • Advanced: 需要 ArcGIS Bathymetry

相关主题