SAGA 9.4.2 | Tool Library Documentation

Import from Virtual Raster (VRT)


Description

The tool allows one to clip / extract a raster subset from a virtual raster dataset (VRT). Such a VRT is actually an XML based description of a mosaic of raster datasets and can be created with the "Create Virtual Raster (VRT)" tool.


References


Parameters

 NameTypeIdentifierDescriptionConstraints
InputShapes Extentshapes, inputSHAPESThe shapefile defining the clipping extent.-
OutputGridsgrid list, outputGRIDS--
OptionsVRT Filenamefile pathVRT_NAMEThe full path and name of the .vrt file.-
ExtentchoiceEXTENTChoose how to define the clipping extent.Available Choices: [0] user defined [1] grid system [2] shapes extent Default: 0
Grid Systemgrid systemGRIDSYSTEMThe target grid system.-
Leftfloating point numberXMINThe minimum x-coordinate of the clipping extent.Default: 0.000000
Rightfloating point numberXMAXThe maximum x-coordinate of the clipping extent.Default: 0.000000
Bottomfloating point numberYMINThe minimum y-coordinate of the clipping extent.Default: 0.000000
Topfloating point numberYMAXThe maximum y-coordinate of the clipping extent.Default: 0.000000
Bufferfloating point numberBUFFERThe optional buffer added to the clipping extent [map units].Minimum: 0.000000 Default: 0.000000
Multiple Bands OutputchoiceMULTIPLEChoose how to handle output datasets with multiple bands.Available Choices: [0] single grids [1] grid collection [2] automatic Default: 2
TransformationbooleanTRANSFORMAlign grid to coordinate system.Default: 1
ResamplingchoiceRESAMPLINGResampling type to be used, if grid needs to be aligned to coordinate system.Available Choices: [0] Nearest Neighbour [1] Bilinear Interpolation [2] Bicubic Spline Interpolation [3] B-Spline Interpolation Default: 0

Command Line


Usage: saga_cmd io_gdal 13 [-VRT_NAME ] [-GRIDS ] [-EXTENT ] [-GRIDSYSTEM_D ] [-GRIDSYSTEM_X ] [-GRIDSYSTEM_Y ] [-GRIDSYSTEM_NX ] [-GRIDSYSTEM_NY ] [-GRIDSYSTEM_FILE ] [-SHAPES ] [-XMIN ] [-XMAX ] [-YMIN ] [-YMAX ] [-BUFFER ] [-MULTIPLE ] [-TRANSFORM ] [-RESAMPLING ]
  -VRT_NAME:       	VRT Filename
	file path
  -GRIDS:          	Grids
	grid list, output
  -EXTENT:         	Extent
	choice
	Available Choices:
	[0] user defined
	[1] grid system
	[2] shapes extent
	Default: 0
  -GRIDSYSTEM_D:	Cell Size
  -GRIDSYSTEM_X:	Lower Left Center Cell X-Coordinate
  -GRIDSYSTEM_Y:	Lower Left Center Cell Y-Coordinate
  -GRIDSYSTEM_NX:  	Number of Columns
  -GRIDSYSTEM_NY:  	Number of Rows
  -GRIDSYSTEM_FILE:	Grid File
  -SHAPES:         	Shapes Extent
	shapes, input
  -XMIN:        	Left
	floating point number
	Default: 0.000000
  -XMAX:        	Right
	floating point number
	Default: 0.000000
  -YMIN:        	Bottom
	floating point number
	Default: 0.000000
  -YMAX:        	Top
	floating point number
	Default: 0.000000
  -BUFFER:      	Buffer
	floating point number
	Minimum: 0.000000
	Default: 0.000000
  -MULTIPLE:       	Multiple Bands Output
	choice
	Available Choices:
	[0] single grids
	[1] grid collection
	[2] automatic
	Default: 2
  -TRANSFORM:      	Transformation
	boolean
	Default: 1
  -RESAMPLING:     	Resampling
	choice
	Available Choices:
	[0] Nearest Neighbour
	[1] Bilinear Interpolation
	[2] Bicubic Spline Interpolation
	[3] B-Spline Interpolation
	Default: 0