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.

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.

addWfsConnectionSettings(self, uri: QgsDataSourceUri)QgsDataSourceUri

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

Parameters

uri (QgsDataSourceUri) –

Return type

QgsDataSourceUri

addWmsConnectionSettings(self, uri: QgsDataSourceUri)QgsDataSourceUri

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

Parameters

uri (QgsDataSourceUri) –

Return type

QgsDataSourceUri

connectionName(self)str

Returns the name of the connection.

Return type

str

setConnectionName(self, connectionName: str)

Sets the name of the connection.

See also

connectionName()

Parameters

connectionName (str) –

setUri(self, uri: QgsDataSourceUri)

Sets the uri for the GeoNode connection.

See also

uri()

Parameters

uri (QgsDataSourceUri) –

uri(self)QgsDataSourceUri

Returns the URI for the GeoNode connection.

See also

setUri()

Return type

QgsDataSourceUri