Build Boundary (Data Management)
Summary
Generates the boundary polygon for a mosaic dataset. By default, the boundary merges all the footprint polygons to create a single boundary representing the extent of the valid pixels.
Illustration
Usage
-
Boundaries can only be generated for mosaic datasets stored within a geodatabase.
-
If you remove or add rasters, or modify the extent of the footprints, you should use this tool to rebuild the boundary.
-
If you modify the shape of the boundary polygon (using editing tools), you can use this tool to rebuild the boundary to its unmodified shape.
-
Use the Append To Existing Boundary option to only update the boundary where newly added footprints exist. Since the entire boundary is not recalculated, it will save time.
Syntax
Parameter | Explanation | Data Type |
in_mosaic_dataset |
The mosaic dataset for which the boundary will be calculated. | Mosaic Layer |
where_clause (Optional) |
Enter an SQL query if you would like to create a subset of the data, based on attributes. | SQL Expression |
append_to_existing (Optional) |
When footprints have been selected, this option determines how the boundary will be modified.
| Boolean |
simplification_method (Optional) |
The simplification method reduces the number of vertices, since a dense boundary can affect performance. Choose which simplification method to use in order to simplify the boundary.
| String |
Code Sample
This is a Python sample for the BuildBoundary tool.
import arcpy
arcpy.BuildBoundary_management("c:/workspace/Boundary.gdb/md", "#",
"APPEND", "CONVEX_HULL")
This is a Python script for the BuildBoundary tool.
# Build boundary only for the Quickbird data
import arcpy
arcpy.env.workspace = "C:/Workspace"
mdname = "boundary.gdb/md"
query = "SensorName = 'QuickBird'"
mode = "OVERWRITE"
simplify = "#"
arcpy.BuildBoundary_management(mdname, query, mode, simplify)