SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Import Raster from PostGIS

Imports grids from a PostGIS database.

Parameters

 NameTypeIdentifierDescriptionConstraints
OutputGridsGrid list, outputGRIDS--
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--
WhereTextWHERE--
Multiple BandsChoiceMULTIPLE-Available Choices:
[0] single grids
[1] grid collection
[2] automatic
Default: 2

Command-line

Usage: saga_cmd db_pgsql 30 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>] [-GRIDS <str>] [-DB_TABLE <str>] [-WHERE <str>] [-MULTIPLE <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
  -GRIDS:<str>   	Grids
	Grid list, output
  -DB_TABLE:<str>	Table
	Text
  -WHERE:<str>   	Where
	Text
  -MULTIPLE:<str>	Multiple Bands
	Choice
	Available Choices:
	[0] single grids
	[1] grid collection
	[2] automatic
	Default: 2