Subgroup: Geo

Class: QgsGeoNodeConnection

class qgis.core.QgsGeoNodeConnection(name: str)

Bases: sip.wrapper

Constructor for a QgsGeoNodeConnection with the specified name.

QgsGeoNodeConnection(QgsGeoNodeConnection)

Encapsulates settings related to a single GeoNode connection.

New in version 3.0: Methods

addWfsConnectionSettings Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri uri.
addWmsConnectionSettings Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri uri.
connectionName Returns the name of the connection.
setConnectionName Sets the name of the connection.
setUri Sets the uri for the GeoNode connection.
uri Returns the URI for the GeoNode connection.

Signals

Attributes

addWfsConnectionSettings(self, uri: QgsDataSourceUri) → QgsDataSourceUri

Adds uri parameters relating to the settings for a WFS layer on the connection to a QgsDataSourceUri uri.

addWmsConnectionSettings(self, uri: QgsDataSourceUri) → QgsDataSourceUri

Adds uri parameters relating to the settings for a WMS layer on the connection to a QgsDataSourceUri uri.

connectionName(self) → str

Returns the name of the connection.

setConnectionName(self, connectionName: str)

Sets the name of the connection.

See also

connectionName()

setUri(self, uri: QgsDataSourceUri)

Sets the uri for the GeoNode connection.

See also

uri()

uri(self) → QgsDataSourceUri

Returns the URI for the GeoNode connection.

See also

setUri()