SAGA-GIS Tool Library Documentation (v9.2.0)

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 number, 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 number, 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