Tool Import Single Raster Band from PostGIS
Imports grids from a PostGIS database.
- Author: O.Conrad (c) 2015
 
- Menu: Database|PostgreSQL|Raster
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Output | Grid (*) | data object Grid, output, optional | GRID | - | - | 
| 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 | - | - | 
 | Bands | choice, GUI | BANDS | - | Available Choices: Default: 0 | 
 | Band Identifier | text, CMD | RID | - | - | 
| (*) 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 number, 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