QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
Setting options for loading point cloud layers. More...
#include <qgspointcloudlayer.h>
Public Member Functions | |
LayerOptions (const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext()) | |
Constructor for LayerOptions with optional transformContext. More... | |
Public Attributes | |
bool | loadDefaultStyle = true |
Set to true if the default layer style should be loaded. More... | |
bool | skipCrsValidation = false |
Controls whether the layer is allowed to have an invalid/unknown CRS. More... | |
bool | skipIndexGeneration = false |
Set to true if point cloud index generation should be skipped. More... | |
QgsCoordinateTransformContext | transformContext |
Coordinate transform context. More... | |
Setting options for loading point cloud layers.
Definition at line 50 of file qgspointcloudlayer.h.
|
inlineexplicit |
Constructor for LayerOptions with optional transformContext.
Definition at line 56 of file qgspointcloudlayer.h.
bool QgsPointCloudLayer::LayerOptions::loadDefaultStyle = true |
Set to true
if the default layer style should be loaded.
Definition at line 66 of file qgspointcloudlayer.h.
bool QgsPointCloudLayer::LayerOptions::skipCrsValidation = false |
Controls whether the layer is allowed to have an invalid/unknown CRS.
If true
, then no validation will be performed on the layer's CRS and the layer layer's crs() may be invalid() (i.e. the layer will have no georeferencing available and will be treated as having purely numerical coordinates).
If false
(the default), the layer's CRS will be validated using QgsCoordinateReferenceSystem::validate(), which may cause a blocking, user-facing dialog asking users to manually select the correct CRS for the layer.
Definition at line 79 of file qgspointcloudlayer.h.
bool QgsPointCloudLayer::LayerOptions::skipIndexGeneration = false |
Set to true
if point cloud index generation should be skipped.
Definition at line 84 of file qgspointcloudlayer.h.
QgsCoordinateTransformContext QgsPointCloudLayer::LayerOptions::transformContext |
Coordinate transform context.
Definition at line 63 of file qgspointcloudlayer.h.