CARIS Batch Utility : BASE Editor Processes : Tile Raster
 

Tile Raster

Description

The TileRaster process exports a single raster to one or more raster files based on the defined tiling scheme.

Inputs

A raster dataset.

Outputs

One or more CSAR raster files. The raster files are named based on the provided output name, with the row and column of the tile encoded into the name, such as outputfile2x3 for the tile in the second row and third column.

Command Line Syntax

carisbatch --run TileRaster --size <value> [options] <input> <output>

User Interface Command

Tile Raster

Options

The following table describes the parameter available for this process.

Parameter

 

Long

Short

Description

Can Repeat

Notes

 

--size

S

The size of the exported tiles.

<Width> - A number and unit specifying the width of the exported tiles.

<Height> - A number and unit specifying the height of the exported tiles.

Supported units: cable, ch, cm, fm, ft, in, inm, km, m, mi, mm, nm, usfm, usft, usmi, usnm, usyd, yd, deg and rad.

FALSE

This must be specified explicitly.

--buffer

B

The size of a buffer around exported tiles.

<XBuffer> - A number and unit specifying the size of the buffer on the left and right of each tile.

<YBuffer> - A number and unit specifying the size of the buffer on the top and bottom of each tile.

Supported units: cable, ch, cm, fm, ft, in, inm, km, m, mi, mm, nm, usfm, usft, usmi, usnm, usyd, yd, deg and rad.

The default values are 0m.

FALSE

Example

To use this command refer to the following example.

Example

Objective

You want to tile a raster.

Description

Command Line Syntax

The size of the exported tiles will be 50 x 50 metre.

--size 50m 50m

The source surface, Surface1.csar, is located at D:\BatchSample.

D:\BatchSample\Surface1.csar

The output surfaces will be named based on Tiled.csar and will be saved to the same location as the source surface.

D:\BatchSample\Tiled.csar

Command Line

carisbatch --run TileRaster --size 50m 50m D:\BatchSample\Surface1.csar D:\BatchSample\Tiled.csar

Outcome

New rasters are created in the specified location, with names like Tiled1x1.csar, where the first number is the row and the second is the column of the tile in the source surface.

Extra Notes

N/A