Tool Import Raster from PostGIS
Imports grids from a PostGIS database.
- Author: O.Conrad (c) 2013
 
- Menu: Database|PostgreSQL|Raster
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Output | Grids | grid list, output | GRIDS | - | - | 
| Options | Host | text, CMD | PG_HOST | - | Default: 127.0.0.1 | 
 | Port | integer number, CMD | PG_PORT | - | Minimum: 0 Default: 5432 | 
 | Database | text, CMD | PG_NAME | - | - | 
 | User | text, CMD | PG_USER | - | - | 
 | Password | text, CMD | PG_PWD | - | - | 
 | Connections | choice, GUI | CONNECTION | - | Available Choices: Default: 0 | 
 | Table | text | DB_TABLE | - | - | 
 | Where | text | WHERE | - | - | 
 | Multiple Bands | choice | MULTIPLE | - | 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