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 | 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 | - | - |
| 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 |
| Authority Code | integer number | CRS_CODE | - | Minimum: -1
Default: -1 |
| Authority | text | CRS_AUTHORITY | - | Default: EPSG |
Command Line
Usage: saga_cmd db_pgsql 31 [-PG_HOST ] [-PG_PORT ] [-PG_DB ] [-PG_USER ] [-PG_PWD ] [-GRIDS ] [-TABLE ] [-NAME ] [-GRID_NAME ] [-CRS_CODE ] [-CRS_AUTHORITY ]
-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
-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_CODE: Authority Code
integer number
Minimum: -1
Default: -1
-CRS_AUTHORITY: Authority
text
Default: EPSG