Tool Export Raster to PostGIS
Exports grids to a PostGIS database.
- Author: O.Conrad (c) 2013
- Menu: Database|PostgreSQL|Raster
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Bands | Grid list, input | GRIDS | - | - |
Options | Host | Text, CMD | PG_HOST | Password | - |
Port | Integer, CMD | PG_PORT | - | Minimum: 0 Default: 5432 |
Database | Text, CMD | PG_NAME | Database Name | - |
User | Text, CMD | PG_USER | User Name | - |
Password | Text, CMD | PG_PWD | Password | - |
Available Connections | Choice, GUI | CONNECTION | - | Available Choices: Default: 0 |
Grid System | Grid system | GRID_SYSTEM | - | - |
Add to Table | Choice | TABLE | - | Available Choices: Default: 0 |
Table Name | Text | NAME | - | - |
Band Name Field | Boolean | GRID_NAME | - | Default: 1 |
EPSG Code | Integer | CRS_EPSG | - | Minimum: -1 Default: -1 |
Command-line
Usage: saga_cmd db_pgsql 31 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>] [-GRIDS <str>] [-TABLE <str>] [-NAME <str>] [-GRID_NAME <str>] [-CRS_EPSG <num>]
-PG_HOST:<str> Host
Text, CMD
-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
-GRIDS:<str> Bands
Grid list, input
-TABLE:<str> Add to Table
Choice
Available Choices:
Default: 0
-NAME:<str> Table Name
Text
-GRID_NAME:<str> Band Name Field
Boolean
Default: 1
-CRS_EPSG:<num> EPSG Code
Integer
Minimum: -1
Default: -1