概要
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