Batch Build Pyramids (Data Management) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Allows you to build pyramids for multiple raster datasets.
Usage tips
Building pyramids for a raster dataset will improve the display performance of large raster datasets.
Pyramids can only be built for raster datasets that do not have internal pyramids.
Pyramids cannot be built for raster catalogs, but they can be built for each raster catalog item.
The input raster datasets can be any valid raster dataset that ArcGIS recognizes and that does not have an internal pyramid structure.
Batch building of pyramids is useful when you have a large directory of raster datasets that do not have pyramids or to build pyramids on the items of a raster catalog (drag and drop them into the dialog box).
The following environment settings affect this tool: current workspace and pyramid (except for GRID, IMG, and TIFF formats).
Command line syntax
An overview of the Command Line window
BatchBuildPyramids_management <Input_Raster_Datasets;Input_Raster_Datasets...>
Parameter | Explanation | Data Type |
<Input_Raster_Datasets;Input_Raster_Datasets...> |
The input raster datasets that you want to build a raster pyramids for. |
Raster Dataset |
BatchBuildPyramids_management d:\rasters\raster.tif;c:\data\raster2;d:\rasters\newraster.tif
Scripting syntax
About getting started with writing geoprocessing scripts
BatchBuildPyramids_management (Input_Raster_Datasets)
Parameter | Explanation | Data Type |
Input_Raster_Datasets (Required) |
The input raster datasets that you want to build a raster pyramids for. |
Raster Dataset |
# Create the geoprocessing object import arcgisscripting, sys, string, os gp = arcgisscripting.create() gp.Workspace = 'c:/rasters' gp.BatchBuildPyramids_management('raster1.tif;raster3.img;newraster')