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