SAGA-GIS Tool Library Documentation (v7.6.1)

Tool Export Grid Collection to PostGIS

Exports a grid collection to a PostGIS database.

Parameters

 NameTypeIdentifierDescriptionConstraints
InputGrid CollectionGrids (input)GRIDS--
OptionsHostTextPG_HOSTPassword-
PortIntegerPG_PORT-Minimum: 0
Default: 5432
DatabaseTextPG_NAMEDatabase Name-
UserTextPG_USERUser Name-
PasswordTextPG_PWDPassword-
Available ConnectionsChoiceCONNECTION-Available Choices:
Default: 0
Grid SystemGrid systemGRID_SYSTEM--
NameTextNAME--
If table exists...ChoiceEXISTS-Available Choices:
[0] abort
[1] replace
Default: 0
EPSG CodeIntegerCRS_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
  -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>   	Grid Collection
	Grids (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
	Minimum: -1
	Default: -1