SAGA 9.4.2 | Tool Library Documentation

Export Grid Collection


Description

Exports a grid collection to a PostGIS database.


Parameters

 NameTypeIdentifierDescriptionConstraints
InputGrid Collectiongrid collection, inputGRIDS--
OptionsHosttext, CMDPG_HOST-Default: 127.0.0.1
Portinteger number, CMDPG_PORT-Minimum: 0 Default: 5432
Databasetext, CMDPG_DB--
Usertext, CMDPG_USER--
Passwordtext, CMDPG_PWD--
Grid Systemgrid systemGRID_SYSTEM--
NametextNAME--
If table exists...choiceEXISTS-Available Choices: [0] abort [1] replace Default: 0
EPSG Codeinteger numberCRS_EPSG-Minimum: -1 Default: -1

Command Line


Usage: saga_cmd db_pgsql 34 [-PG_HOST ] [-PG_PORT ] [-PG_DB ] [-PG_USER ] [-PG_PWD ] [-GRIDS ] [-NAME ] [-EXISTS ] [-CRS_EPSG ]
  -PG_HOST: 	Host
	text, CMD
	Default: 127.0.0.1
  -PG_PORT: 	Port
	integer number, CMD
	Minimum: 0
	Default: 5432
  -PG_DB:   	Database
	text, CMD
  -PG_USER: 	User
	text, CMD
  -PG_PWD:  	Password
	text, CMD
  -GRIDS:   	Grid Collection
	grid collection, input
  -NAME:    	Name
	text
  -EXISTS:  	If table exists...
	choice
	Available Choices:
	[0] abort
	[1] replace
	Default: 0
  -CRS_EPSG:	EPSG Code
	integer number
	Minimum: -1
	Default: -1