Class: QgsStoreBadLayerInfo

Stores layer ids of bad layers

Added in version 3.6.

Class Hierarchy

Inheritance diagram of qgis.server.QgsStoreBadLayerInfo

Base classes

QgsProjectBadLayerHandler

Interface for classes that handle missing layer files when reading project file.

class qgis.server.QgsStoreBadLayerInfo[source]

Bases: QgsProjectBadLayerHandler

__init__()

Default constructor

__init__(a0: QgsStoreBadLayerInfo)
Parameters:

a0 (QgsStoreBadLayerInfo)

badLayerNames(self) Dict[str, str]

Returns names of bad layers with ids.

Added in version 3.12.

Return type:

Dict[str, str]

badLayers(self) List[str][source]
badLayers()
Return type:

List[str]

Returns:

ids of bad layers

handleBadLayers(self, layers: Iterable[QDomNode])[source]
handleBadLayers()
Parameters:

layers (Iterable[QDomNode]) – layer nodes