Export Raster
- Author: O.Conrad (c) 2013
- Menu: Database | PostgreSQL | Raster
Description
Exports grids to a PostGIS database.
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Bands | grid list, input | GRIDS | - | - |
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 | - | - |
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 number | CRS_EPSG | - | Minimum: -1
Default: -1 |
Command Line
Usage: saga_cmd db_pgsql 31 [-PG_HOST ] [-PG_PORT ] [-PG_DB ] [-PG_USER ] [-PG_PWD ] [-GRIDS ] [-TABLE ] [-NAME ] [-GRID_NAME ] [-CRS_EPSG ]
-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
-GRIDS: Bands
grid list, input
-TABLE: Add to Table
choice
Available Choices:
Default: 0
-NAME: Table Name
text
-GRID_NAME: Band Name Field
boolean
Default: 1
-CRS_EPSG: EPSG Code
integer number
Minimum: -1
Default: -1