Summary
Creates or updates a mosaic dataset from a surface model in the Bathymetric Information System (BIS) workspace.
Usage
- 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.
Syntax
CreateMosaicDatasetFromModel(bis_workspace, bis_model, out_mosaic, {coordinate_system})
Parameter | Explanation | Data Type |
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 (Optional) | The coordinate system of the output mosaic dataset. If one is not specified, the coordinate system of the active BIS is used. | Spatial Reference |
Code sample
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 for Maritime 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')
Environments
Licensing information
- Basic: No
- Standard: Requires Maritime Bathymetry
- Advanced: Requires Maritime Bathymetry