Class: QgsStoreBadLayerInfo

class qgis.server.QgsStoreBadLayerInfo

Bases: QgsProjectBadLayerHandler

Default constructor

QgsStoreBadLayerInfo(QgsStoreBadLayerInfo)

Stores layer ids of bad layers

Methods

badLayerNames

Returns names of bad layers with ids.

badLayers

badLayers

dataSource

dataType

handleBadLayers

handleBadLayers

providerType

setDataSource

badLayerNames(self) → Dict[str, str]

Returns names of bad layers with ids.

New in version 3.12.

Return type

Dict[str, str]

badLayers(self) → List[str]

badLayers

Return type

List[str]

Returns

ids of bad layers

dataSource()
dataType()
handleBadLayers(self, layers: Iterable[QDomNode])

handleBadLayers

Parameters

layers (Iterable[QDomNode]) – layer nodes

providerType()
setDataSource()