` `
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).
Laag om te importeren
[vector: elke]Database (connection name)
[selection]Name of the database connection (not the database name).
Options:
Default: 0
Naam schema
[string]An existing schema of the selected database can be chosen. By default this is the ‘public’ schema.
Standaard: public
Tabel om naar te importeren (laat leeg om laagnaam te gebruiken)
[string]Defines a table name for the imported vector file. By default the name of the vector file is chosen.
Standaard: (niet ingesteld)
Veld Primaire sleutel
[tabelveld: elk]Optional.
Stelt het veld voor de Primaire sleutel in vanuit een bestaand veld in de vectorlaag.
Geometriekolom
[string]Definieert de naam van de geometriekolom in de nieuwe tabel van PostGIS. Informatie over de geometrie voor de objecten is in deze kolom opgeslagen.
Standaard: geom
Overschrijven
[boolean]Overschrijft bestaande tabellen die dezelfde naam hebben.
Standaard: True
Ruimtelijke index maken?
[boolean]Specify whether to create a spatial index or not. By default a spatial index is created.
Standaard: True
Veldnamen naar kleine letters converteren
[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.
Standaard: True
Beperkingen voor lengte op velden voor tekens verwijderen
[boolean]Specify whether the length constraints on character fields should be dropped or not. By default the length constraints are applied.
Standaard: 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.
Database
[string]Naam van de database, niet de naam van de verbinding. Standaard hoeft u de naam niet in te vullen, de verbinding met de huidige database zal worden gekozen.
Standaard: (niet ingesteld)
SQL-query
[string]Defines the SQL query, for example ‘create schema test;’.
Standaard: (niet ingesteld)
processing.runalg('qgis:postgisexecutesql', database, sql)