QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
Setting options for loading mesh layers. More...
#include <qgsmeshlayer.h>
Public Member Functions | |
LayerOptions (const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext()) | |
Constructor for LayerOptions with optional transformContext. More... | |
Public Attributes | |
bool | skipCrsValidation = false |
Controls whether the layer is allowed to have an invalid/unknown CRS. More... | |
QgsCoordinateTransformContext | transformContext |
Setting options for loading mesh layers.
Definition at line 98 of file qgsmeshlayer.h.
|
inlineexplicit |
Constructor for LayerOptions with optional transformContext.
Definition at line 105 of file qgsmeshlayer.h.
bool QgsMeshLayer::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 124 of file qgsmeshlayer.h.
QgsCoordinateTransformContext QgsMeshLayer::LayerOptions::transformContext |
Definition at line 109 of file qgsmeshlayer.h.