Clip Grid with Rectangle
- Author: V. Wichmann (c) 2013
- Menu: Shapes | Shapes-Grid Tools | Spatial Extent
Description
Clips the input grid with the (rectangular) extent of a shapefile. The clipped grid will have the extent of the shapefile.
Select shapes from the shapefile prior to tool execution in case you like to use only a subset from the shapefile for clipping.
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Input | grid, input | INPUT | The grid to clip. | - |
Extent | shapes, input | SHAPES | The shapefile to use for clipping. | - |
Output | Output | data object Grid, output, optional | OUTPUT | The clipped grid. | - |
Options | Grid system | grid system | INPUT_GRIDSYSTEM | - | - |
Border | choice | BORDER | Set grid extent to grid cells (pixel as area), to grid nodes (pixel as point) or align to grid system. | Available Choices:
[0] grid cells
[1] grid nodes
[2] align to grid system
Default: 0 |
Command Line
Usage: saga_cmd shapes_grid 11 [-INPUT ] [-SHAPES ] [-BORDER ] [-OUTPUT ]
-INPUT: Input
grid, input
-SHAPES: Extent
shapes, input
-BORDER: Border
choice
Available Choices:
[0] grid cells
[1] grid nodes
[2] align to grid system
Default: 0
-OUTPUT: Output
data object Grid, output, optional