SAGA-GIS Tool Library Documentation (v9.1.2)

Tool Import Shapes from PostGIS

Imports shapes from a PostGIS database.

Parameters

 NameTypeIdentifierDescriptionConstraints
OutputShapesShapes, outputSHAPES--
ShapesShapes list, outputCOLLECTION--
OptionsHostText, CMDPG_HOST-Default: 127.0.0.1
PortInteger, CMDPG_PORT-Minimum: 0
Default: 5432
DatabaseText, CMDPG_NAME--
UserText, CMDPG_USER--
PasswordText, CMDPG_PWD--
ConnectionsChoice, GUICONNECTION-Available Choices:
Default: 0
TableTextDB_TABLE--

Command-line

Usage: saga_cmd db_pgsql 20 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>] [-SHAPES <str>] [-COLLECTION <str>] [-DB_TABLE <str>]
  -PG_HOST:<str>   	Host
	Text, CMD
	Default: 127.0.0.1
  -PG_PORT:<num>   	Port
	Integer, CMD
	Minimum: 0
	Default: 5432
  -PG_NAME:<str>   	Database
	Text, CMD
  -PG_USER:<str>   	User
	Text, CMD
  -PG_PWD:<str>    	Password
	Text, CMD
  -SHAPES:<str>    	Shapes
	Shapes, output
  -COLLECTION:<str>	Shapes
	Shapes list, output
  -DB_TABLE:<str>  	Table
	Text