SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Import Single Raster Band from PostGIS

Imports grids from a PostGIS database.

Parameters

 NameTypeIdentifierDescriptionConstraints
OutputGrid (*)Data Object Grid, output, optionalGRID--
OptionsHostText, CMDPG_HOST-Default: 127.0.0.1
PortInteger, CMDPG_PORT-Minimum: 0
Default: 5432
DatabaseText, CMDPG_NAME--
UserText, CMDPG_USER--
PasswordText, CMDPG_PWD--
ConnectionsChoice, GUICONNECTION-Available Choices:
Default: 0
TableTextDB_TABLE--
BandsChoice, GUIBANDS-Available Choices:
Default: 0
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>] [-DB_TABLE <str>] [-RID <str>]
  -PG_HOST:<str> 	Host
	Text, CMD
	Default: 127.0.0.1
  -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
  -DB_TABLE:<str>	Table
	Text
  -RID:<str>     	Band Identifier
	Text, CMD