SAGA-GIS Tool Library Documentation (v7.8.2)

Tool Import Single Raster Band from PostGIS

Imports grids from a PostGIS database.

Parameters

 NameTypeIdentifierDescriptionConstraints
OutputGrid (*)Data Object Grid, output, optionalGRID--
OptionsHostText, CMDPG_HOSTPassword-
PortInteger, CMDPG_PORT-Minimum: 0
Default: 5432
DatabaseText, CMDPG_NAMEDatabase Name-
UserText, CMDPG_USERUser Name-
PasswordText, CMDPG_PWDPassword-
Available ConnectionsChoice, GUICONNECTION-Available Choices:
Default: 0
TablesChoiceTABLES-Available Choices:
Default: 0
BandsChoice, GUIBANDS-Available Choices:
Default: 0
Raster Band IdentifierText, CMDRID--
(*) optional

Command-line

Usage: saga_cmd db_pgsql 33 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>] [-GRID <str>] [-TABLES <str>] [-RID <str>]
  -PG_HOST:<str>	Host
	Text, CMD
  -PG_PORT:<num>	Port
	Integer, CMD
	Minimum: 0
	Default: 5432
  -PG_NAME:<str>	Database
	Text, CMD
  -PG_USER:<str>	User
	Text, CMD
  -PG_PWD:<str> 	Password
	Text, CMD
  -GRID:<str>   	Grid
	Data Object Grid, output, optional
  -TABLES:<str> 	Tables
	Choice
	Available Choices:
	Default: 0
  -RID:<str>    	Raster Band Identifier
	Text, CMD