TILE

Creates tiles from an input dataset


EnvironmentsPYTHON :: EASI :: MODELER
Quick linksDescription :: Parameters :: Parameter descriptions :: Details :: Example :: Related

Back to top

Description


TILE creates multiple subset files, or tiles, from an input file, or from selected layers within a file.
Back to top

Parameters


Name Type Caption Length Value range
FILI * String Input file name 1 - 192  
DBIC Integer Input raster channels 0 -    
DBSL Integer Input segment list 0 -    
SLTYPE String Input segment type identifier list 0 - 192  
FILO * String Prefix for output tile file 1 - 192  
FTYPE String Format of output file 0 - 4 Default: PIX
FOPTIONS String Output file options 0 - 64  
TILEMETH String Tiling method 0 - 7 SZOVLP | NUMOVLP
Default: SZOVLP
TILEUNIT String Tile dimension units 0 - 8 Geocoded, Pixel
Default: Geocoded
TILESIZE Integer Size of output tile 0 -    
TILEOVLP Float Tile overlap 0 - 48 Default: 0,0
NUMTILES * Integer Number of tiles: "[x-dimension number], [y-dimension number]" 1 - 2  
OVRTILES String Overhanging tiles 0 - 4  
INITVALU Float Initial value applied to all rasters 0 - 1  
SETNODAT String Set initialization value as NoData 0 - 1 Y | N
Default: N

* Required parameter
Back to top

Parameter descriptions

FILI

The name of the file that contains the input data to partition into tiles.

DBIC

The channel or channels in the input file to partition into tiles.

You cannot specify duplicate channels.

Ranges of channels or segments can be specified with negative values. For example, {1,-4,10} is internally expanded to {1,2,3,4,10}. When you are not specifying a range in this way, only 48 numbers can be specified explicitly.

DBSL

The list of segments to tile.

You cannot specify duplicate channels.

Note: With some file types, segments of different types can share a given segment number; for example, a file can contain a vector segment and a bitmap segment, both of which are numbered 1. In such cases, identify the segments by using the SLTYPE parameter.

Ranges of channels or segments can be specified with negative values. For example, {1,-4,10} is internally expanded to {1,2,3,4,10}. When you are not specifying a range in this way, only 48 numbers can be specified explicitly.

SLTYPE

The layer types to partition into tiles. Each layer type has a corresponding three-letter GDB code. Each segment that has one of the listed types and one of the segment numbers specified for the DBSL parameter will be tiled. If no value is specified for DBSL, the ALL option is used.

For example:

The range of types is specified with a comma-delimited string list. This list, together with the list of segment numbers (see DBSL) identifies the input segments that contain data to clip and write to the output dataset.

For example:

EASI > DBSL = 1, 3, 5
EASI > SLTYPE = VEC, LUT

The proceeding example uses segments 1, 3, and 5 for each vector and lookup table segment type. If a vector data type (VEC) exists in segments 1 and 3 only, and a LUT type in segment 5, the result is VEC 1, 3 and LUT 5. A standard PIX file does not support more than one segment type per segment; however, other file types may support multiple segment types per segment. In such cases, if vector data exists in segments 1, 3, and 5 and LUT data exists in segment 3, the result is VEC 1, 3, 5 and LUT 3.

If no value is specified for this parameter, or if ALL is specified, the contents of segments of any type and having one of the numbers specified in DBSL are clipped and written to the output dataset.

FILO

The prefix to use for the file name of each output tile. The tile number will be appended to the prefix you specify.

For example, if the value of this parameter is "/data/tiles/demo", the output GeoTIFF file holding the tile at row 2, column 3 would be named "/data/tiles/demo2_3.tif".

FTYPE

The format, or file name extension, of the output file.

Some examples of supported formats include:

The default value is PIX.

For a complete list of GDB-recognized file types, see GDB-supported file formats.

FOPTIONS

The options to apply on creating the output file, specific to the file format. In each case, the default of no options is allowed. You can use the FOPTIONS parameter to specify compression schemes, file-format subtypes, and other information.

For more information about the options for a format, see the topic for the relevant type in GDB-supported file formats.

TILEMETH

The tiling method to determine the number and size of tiles to create.

Valid values include:

TILEUNIT

The units to use with the Tile Size (TILESIZE) and Overlap (TILEOVLP) parameters. Geocoded units are defined by the projection; for example, meters or feet.

TILESIZE

The size of the tile in x and y dimensions, in the units of the Units (TILEUNIT) parameter. This parameter is mandatory when you specify Use tile size and overlap (SZOVLP) for the Tile Method (TILEMETH) parameter.

TILEOVLP

The amount of overlap, in x and y dimensions, to apply to each adjacent tile, in the units of the Units (TILEUNIT) parameter. The default is no overlap.

NUMTILES

The number of tiles to create, in x and y direction.

For example, a value of 4,4 indicates four tiles across and four tiles down

This parameter is mandatory when you specify Use Number of Tiles and Overlap (NUMOVLP) for the Tile Method (TILEMETH) parameter.

OVRTILES

An overhanging tile refers to the portion of a tile that lies outside the tile size you specify. If an image has tiles outside the specified tile size, the overhang is displayed so that none of the image is lost. You need only specify a value for this parameter when you specify Use tile size and overlap (SZOVLP) for the Tile Method (TILEMETH) parameter.

Values include:

INITVALU

The initialization value for the raster output. The full extent of the output rasters will be initialized to this value before the clipped data is written to them.

Acceptable values include any coordinate value in the projection system of the data. The default value is 0.0.

You need only specify a value for this parameter when you specify FULL for the Overhanging Tiles (OVRTILES) parameter.

SETNODAT

Specify whether to use the value of the INITVALU parameter as the NoData pixel value in the image metadata. You can specify either Y (yes) or N (no). You need only specify a value for this parameter when FULL is specified for the OVRTILES parameter.

Back to top

Details

From the input file, TILE can create a subset of many tiles by using one of two tiling methods: tile size and overlap, or number of tiles and overlap. Raster, vector, and bitmap layers are clipped to the tile boundary, whereas other segment data types, such as, PCTs, LUTs, ORBs, and so on are transferred to the resultant tiles only.

The generated file name is used as a seed file, and a tile reference is automatically appended to this file name. For example, if a value of output.pix specified for the FILO parameter, and the NUMTILES parameter is specified as 3 (columns) by 2 (rows), the output is:
If you specify the:
Back to top

Example

Separate the data in irvine.pix into 3 tiles in the X-dimension and 2 tiles in the Y-dimension, with no overlap. Tile the images in channels 1, 2, and 3 and the data in all segments. Name the tile files tirvine1_1.pix, tirvine2_1.pix, tirvine3_1.pix, tirvine2_1.pix, ..., tirvine3_2.pix.

EASI> FILI="irvine.pix"
EASI> DBIC=1,2,3
EASI> DBSL=""
EASI> SLTYPE="ALL"
EASI> FILO="tirvine"
EASI> FTYPE=""
EASI> FOPTIONS=""
EASI> TILEMETH="NUMOVLP"
EASI> TILEUNIT="PIXEL"
EASI> TILESIZE=
EASI> TILEOVLP=
EASI> NUMTILES=3,2

EASI> r TILE            

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.