Tool Export Grid Collection to PostGIS
Exports a grid collection to a PostGIS database.
- Author: O.Conrad (c) 2017
 
- Menu: Database|PostgreSQL|Raster
 
Parameters
|   | Name | Type | Identifier | Description | Constraints | 
| Input | Grid Collection | grid collection, 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 | - | - | 
 | Name | text | NAME | - | - | 
 | If table exists... | choice | EXISTS | - | Available Choices: [0] abort [1] replace Default: 0 | 
 | EPSG Code | integer number | CRS_EPSG | - | Minimum: -1 Default: -1 | 
Command-line
Usage: saga_cmd db_pgsql 34 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>] [-GRIDS <str>] [-NAME <str>] [-EXISTS <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>   	Grid Collection
	grid collection, input
  -NAME:<str>    	Name
	text
  -EXISTS:<str>  	If table exists...
	choice
	Available Choices:
	[0] abort
	[1] replace
	Default: 0
  -CRS_EPSG:<num>	EPSG Code
	integer number
	Minimum: -1
	Default: -1