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, CMD | PG_HOST | - | Default: 127.0.0.1 |
Port | integer number, CMD | PG_PORT | - | Minimum: 0
Default: 5432 |
Database | text, CMD | PG_DB | - | - |
User | text, CMD | PG_USER | - | - |
Password | text, CMD | PG_PWD | - | - |
Table | text | DB_TABLE | - | - |
Bands | choice, GUI | BANDS | - | Available Choices:
Default: 0 |
Band Identifier | text, CMD | 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, CMD
Default: 127.0.0.1
-PG_PORT: Port
integer number, CMD
Minimum: 0
Default: 5432
-PG_DB: Database
text, CMD
-PG_USER: User
text, CMD
-PG_PWD: Password
text, CMD
-GRID: Grid
data object Grid, output, optional
-DB_TABLE: Table
text
-RID: Band Identifier
text, CMD