SAGA-GIS Tool Library Documentation (v8.5.1)

Tool Clip Grid with Rectangle

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

 NameTypeIdentifierDescriptionConstraints
InputInputGrid, inputINPUTThe grid to clip.-
ExtentShapes, inputSHAPESThe shapefile to use for clipping.-
OutputOutput (*)Data Object Grid, output, optionalOUTPUTThe clipped grid.-
OptionsGrid systemGrid systemINPUT_GRIDSYSTEM--
BorderChoiceBORDERSet 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
(*) optional

Command-line

Usage: saga_cmd shapes_grid 11 [-INPUT <str>] [-SHAPES <str>] [-BORDER <str>] [-OUTPUT <str>]
  -INPUT:<str> 	Input
	Grid, input
  -SHAPES:<str>	Extent
	Shapes, input
  -BORDER:<str>	Border
	Choice
	Available Choices:
	[0] grid cells
	[1] grid nodes
	[2] align to grid system
	Default: 0
  -OUTPUT:<str>	Output
	Data Object Grid, output, optional