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 | - | Default: 127.0.0.1 | 
 | Port | integer number, 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 | 
 | 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 <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
	Default: 127.0.0.1
  -PG_PORT:<num>  	Port
	integer number, 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 number
	Minimum: -1
	Default: -1