Module Export Raster to PostGIS
Exports grids to a PostGIS database.
- Author: O.Conrad (c) 2013
- Specification: grid
- Menu: Database|PostgreSQL|Raster
Parameters
| Name | Type | Identifier | Description | Constraints |
Input | Bands | Grid list (input) | GRIDS | - | - |
Options | Host | Text | PG_HOST | Password | - |
Port | Integer | PG_PORT | - | Minimum: 0 Default: 5432 |
Database | Text | PG_NAME | Database Name | - |
User | Text | PG_USER | User Name | - |
Password | Text | PG_PWD | Password | - |
Table Name | Text | NAME | - | - |
Add Grid 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> [-NAME <str>] [-GRID_NAME <str>] [-CRS_EPSG <num>]
-PG_HOST:<str> Host
Text
-PG_PORT:<num> Port
Integer
Minimum: 0
Default: 5432
-PG_NAME:<str> Database
Text
-PG_USER:<str> User
Text
-PG_PWD:<str> Password
Text
-GRIDS:<str> Bands
Grid list (input)
-NAME:<str> Table Name
Text
-GRID_NAME:<str> Add Grid Name Field
Boolean
Default: 1
-CRS_EPSG:<num> EPSG Code
Integer
Minimum: -1
Default: -1