ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Tile Size (Environment setting)

  • Usage notes
  • Dialog syntax
  • Scripting syntax

Tools that honor the Tile Size environment set the tile size for rasters that are stored in blocks of data.

See the Raster Storage Matrix to find out which raster storage formats can be controlled when using this and other settings.

Usage notes

  • The environment will only affect rasters that are stored in TIFFs, file geodatabases, or an enterprise geodatabase.
  • When rasters are stored as blocks of data, they store raster datasets in a data type known as a binary large object, or BLOB. The tile size option allows you to control the number of pixels that are stored in each BLOB and, therefore, allows you to control the size of each BLOB. It is specified as the number of pixels in X (tile width) and Y (tile height).
  • The default tile size is 128 by 128 pixels.

Dialog syntax

  • Width—Type an integer value for the number of pixels in the x direction of the pixel block. The default is 128.
  • Height—Type an integer value for the number of pixels in the y direction of the pixel block. The default is 128.

Scripting syntax

arcpy.env.tileSize = "width height"

ParameterExplanation

width

The width of the desired tile size. The default value is 128.

height

The height of the desired tile size. The default value is 128.

tileSize syntax

Script example

import arcpy

#Set the tileSize environment to 128 by 128
arcpy.env.tileSize = "128 128"

Related topics

  • An overview of raster storage settings
  • What is a geoprocessing environment setting?
  • Setting geoprocessing environments

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal