Class: QgsPointCloudDataProvider

class qgis.core.QgsPointCloudDataProvider(uri: str, providerOptions: QgsDataProvider.ProviderOptions, flags: Union[QgsDataProvider.ReadFlags, QgsDataProvider.ReadFlag] = QgsDataProvider.ReadFlags())

Bases: QgsDataProvider

Ctor

Base class for providing data for QgsPointCloudLayer

Responsible for reading native point cloud data and returning the indexed data.

Note

The API is considered EXPERIMENTAL and can be changed without a notice

New in version 3.18.

Parameters
class Capabilities

Bases: sip.wrapper

QgsPointCloudDataProvider.Capabilities(Union[QgsPointCloudDataProvider.Capabilities, QgsPointCloudDataProvider.Capability]) QgsPointCloudDataProvider.Capabilities(QgsPointCloudDataProvider.Capabilities)

class Capability

Bases: int

CreateRenderer = 4
NoCapabilities = 0
ReadLayerMetadata = 1
WriteLayerMetadata = 2
appendError(self, message: QgsErrorMessage)

Add error message

attributes(self)QgsPointCloudAttributeCollection

Returns the attributes available from this data provider.

Return type

QgsPointCloudAttributeCollection

capabilities(self)QgsPointCloudDataProvider.Capabilities

Returns flags containing the supported capabilities for the data provider.

Return type

QgsPointCloudDataProvider.Capabilities

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
createRenderer(self, configuration: Dict[str, Any] = {})QgsPointCloudRenderer

Creates a new 2D point cloud renderer, using provider backend specific information.

The configuration map can be used to pass provider-specific configuration maps to the provider to allow customization of the returned renderer. Support and format of configuration varies by provider.

When called with an empty configuration map the provider’s default renderer will be returned.

This method returns a new renderer and the caller takes ownership of the returned object.

Only providers which report the CreateRenderer capability will return a 2D renderer. Other providers will return None.

Parameters

configuration (Dict[str) –

Return type

QgsPointCloudRenderer

customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
isSignalConnected(self, QMetaMethod) → bool
receivers(self, PYQT_SIGNAL) → int
sender(self) → QObject
senderSignalIndex(self) → int
setError(self, error: QgsError)

Sets error message

timerEvent(self, QTimerEvent)