Class: QgsGeoNodeConnection¶
- class qgis.core.QgsGeoNodeConnection¶
Bases:
sip.wrapper
Encapsulates settings related to a single GeoNode connection.
New in version 3.0.
QgsGeoNodeConnection(name: str) Constructor for a
QgsGeoNodeConnection
with the specifiedname
.QgsGeoNodeConnection(
QgsGeoNodeConnection
)Methods
Adds uri parameters relating to the settings for a WCS layer on the connection to a
QgsDataSourceUri
uri
.Adds uri parameters relating to the settings for a WFS layer on the connection to a
QgsDataSourceUri
uri
.Adds uri parameters relating to the settings for a WMS layer on the connection to a
QgsDataSourceUri
uri
.Returns the name of the connection.
Sets the
name
of the connection.Sets the
uri
for the GeoNode connection.Returns the URI for the GeoNode connection.
- addWcsConnectionSettings(self, uri: QgsDataSourceUri) QgsDataSourceUri ¶
Adds uri parameters relating to the settings for a WCS layer on the connection to a
QgsDataSourceUri
uri
.See also
New in version 3.20.
- Parameters
uri (QgsDataSourceUri) –
- Return type
- addWfsConnectionSettings(self, uri: QgsDataSourceUri) QgsDataSourceUri ¶
Adds uri parameters relating to the settings for a WFS layer on the connection to a
QgsDataSourceUri
uri
.See also
- Parameters
uri (QgsDataSourceUri) –
- Return type
- addWmsConnectionSettings(self, uri: QgsDataSourceUri) QgsDataSourceUri ¶
Adds uri parameters relating to the settings for a WMS layer on the connection to a
QgsDataSourceUri
uri
.See also
- Parameters
uri (QgsDataSourceUri) –
- Return type
- connectionName(self) str ¶
Returns the name of the connection.
See also
- Return type
str
- setConnectionName(self, connectionName: str)¶
Sets the
name
of the connection.See also
- Parameters
connectionName (str) –
- setUri(self, uri: QgsDataSourceUri)¶
Sets the
uri
for the GeoNode connection.See also
- Parameters
uri (QgsDataSourceUri) –
- uri(self) QgsDataSourceUri ¶
Returns the URI for the GeoNode connection.
See also
- Return type