` `
Imports a vector layer currently loaded in QGIS into a PostGIS database. Prior to this a connection between QGIS and the PostGIS database has to be created (for example with the DB Manager).
Stratul de importat
[vector: oricare]Database (connection name)
[selection]Name of the database connection (not the database name).
Options:
Default: 0
Schema (numele schemei)
[șir]An existing schema of the selected database can be chosen. By default this is the ‘public’ schema.
Implicit: public
Tabela de import (lăsați necompletat pentru a se utiliza numele stratului)
[șir]Defines a table name for the imported vector file. By default the name of the vector file is chosen.
Implicit: (nesetat)
Câmpul cheii primare
[tablefield: oricare]Optional.
Setează câmpul cheii primare dintr-un câmp existent al unui strat vectorial.
Coloana de geometrie
[șir]Definește numele coloanei geometriei din noul tabel PostGIS. Date de geometrie ale entităților sunt stocate în această coloană.
Implicit: geom
Suprascriere
[boolean]Suprascrie tabelele existente care au același nume.
Implicit: True
Creare index spațial
[boolean]Specify whether to create a spatial index or not. By default a spatial index is created.
Implicit: True
Conversie în minuscule a numelor de câmpuri
[boolean]If activated this prevents the field names of the input vector layer from being converted to lowercase. By default field names will be lowercase after the import.
Implicit: True
Anulare constrângeri de lungime pentru câmpurile de caractere
[boolean]Specify whether the length constraints on character fields should be dropped or not. By default the length constraints are applied.
Implicit: False
processing.runalg('qgis:importintopostgis', input, database, schema, tablename, primary_key, geometry_column, overwrite, createindex, lowercase_names, drop_string_length)
Allows a SQL database query to be performed on a PostGIS database connected to QGIS.
Baza de date
[șir]Numele bazei de date, nu cel al conexiunii. Nu trebuie să completați numele, conexiunea curentă a bazei de date fiind aleasă în mod implicit.
Implicit: (nesetat)
Interogare SQL
[șir]Defines the SQL query, for example ‘create schema test;’.
Implicit: (nesetat)
processing.runalg('qgis:postgisexecutesql', database, sql)