Import Single Raster Band
- Author: O.Conrad (c) 2015
- Menu: Database | PostgreSQL | Raster
Description
Imports grids from a PostGIS database.
Parameters
|  | Name | Type | Identifier | Description | Constraints | 
|---|
| Output | Grid | data object Grid, output, optional | GRID | - | - | 
| Options | Host | text | PG_HOST | - | Default: 127.0.0.1 | 
| Port | integer number | PG_PORT | - | Minimum: 0
Default: 5432 | 
| Database | text | PG_DB | - | - | 
| User | text | PG_USER | - | - | 
| Password | text | PG_PWD | - | - | 
| Table | text | DB_TABLE | - | - | 
| Bands | choice
[GUI] | BANDS | - | Available Choices:
Default: 0 | 
| Band Identifier | text | RID | - | - | 
Command Line
Usage: saga_cmd db_pgsql 33 [-PG_HOST ] [-PG_PORT ] [-PG_DB ] [-PG_USER ] [-PG_PWD ] [-GRID ] [-DB_TABLE ] [-RID ]
  -PG_HOST: 	Host
	text
	Default: 127.0.0.1
  -PG_PORT: 	Port
	integer number
	Minimum: 0
	Default: 5432
  -PG_DB:   	Database
	text
  -PG_USER: 	User
	text
  -PG_PWD:  	Password
	text
  -GRID:    	Grid
	data object Grid, output, optional
  -DB_TABLE:	Table
	text
  -RID:     	Band Identifier
	text