描述
Creates or updates a mosaic dataset from a surface model in the Bathymetric Information System (BIS) workspace.
使用方法
- This tool will create or update a mosaic dataset that will honor your surface model rules. The mosaic dataset can be used in surface analysis geoprocessing operations or shared as an image service via ArcGIS GIS Server.
For point dataset surface models, a representative raster or proxy raster of each point dataset will be used when creating the mosaic dataset.
语法
arcpy.bathymetry.CreateMosaicDatasetFromModel(bis_workspace, bis_model, out_mosaic, {coordinate_system})
参数 | 说明 | 数据类型 |
bis_workspace | The BIS that contains the surface model from which the mosaic dataset will be created. This parameter accepts any geodatabase (.gdb) or enterprise database connection file (.sde) that has been registered as a BIS and that is on the latest version. | Workspace |
bis_model | The surface model used to create the mosaic dataset. | String |
out_mosaic | The output mosaic dataset to be created or updated. | Mosaic Dataset |
coordinate_system (可选) | The coordinate system of the output mosaic dataset. If one is not specified, the coordinate system of the active BIS is used. | Spatial Reference |
代码示例
CreateMosaicDatasetFromModel example (stand-alone script)
The following stand-alone script demonstrates how to use the CreateMosaicDatasetFromModel tool.
# Name: CreateMosaicDatasetFromModel_Ex1.py
# Description: Creates a mosaic dataset for a surface model in the Bathymetric Information System (BIS).
# Requirements: ArcGIS Bathymetry
# Import arcpy module
import arcpy
# Check out Maritime Bathymetry extension
arcpy.CheckOutExtension('Bathymetry')
# Set up parameters
bis_workspace = r'c:\Data\Golden_Gate_Seafloor.gdb'
bis_model = 'Golden_Gate_Seafloor'
out_mosaic = r'c:\Data\Output.gdb\Golden_Gate_Seafloor'
coordinate_system = r'c:\Data\World_Mercator.prj'
# Execute the tool
arcpy.CreateMosaicDatasetFromModel_bathymetry(bis_workspace, bis_model, out_mosaic, coordinate_system)
# Check in Maritime Bathymetry extension
arcpy.CheckInExtension('Bathymetry')
环境
许可信息
- Basic: 否
- Standard: 需要 ArcGIS Bathymetry
- Advanced: 需要 ArcGIS Bathymetry