SAGA 9.6.1 | Tool Library Documentation

Export Raster


Description

Exports grids to a PostGIS database.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputBandsgrid list, inputGRIDS--
OptionsHosttextPG_HOST-Default: 127.0.0.1
Portinteger numberPG_PORT-Minimum: 0 Default: 5432
DatabasetextPG_DB--
UsertextPG_USER--
PasswordtextPG_PWD--
Grid Systemgrid systemGRID_SYSTEM--
Add to TablechoiceTABLE-Available Choices: Default: 0
Table NametextNAME--
Band Name FieldbooleanGRID_NAME-Default: 1
Authority Codeinteger numberCRS_CODE-Minimum: -1 Default: -1
AuthoritytextCRS_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