* Set additional HTTP headers for WCS provider
Same way as done for WMS
Fixes partially #17823 (WFS still missing)
* Move qgsauthorizationsettings.h to core/auth
* qgsauthorizationsettings.h SIP_NO_FILE
* Add class documentation
* Add CORE_EXPORT
* switcht to class
* Move implementation to cpp file
* fix indentation
---------
Co-authored-by: Denis Rouzaud <denis.rouzaud@gmail.com>
* add removeDatasetGroup() function for mesh data provider and mesh layer
* make dataset group names unique
* fix typo
* add mesh removing to the widget
* fix icon
* add check that added dataset group path is unique to avoid duplicate data and emit message if it is not
* sipify
* fix mistake
* check if uri is correct - just for case
* add tests
* add tests
* fix docstring
* add docstring
* add missing override
* explicitly convert number to string
* update tests to reflect that you cannot add same file as dataset group twice
* fix docstring
* pass by value
* fix docstrings
* const variables
* rename signal
* drop include
* simplify regex
* make test better
* sipify
* add docstring
* fix styling and typo
* fix tests
* fix precommit issues
* fix issue
* Update src/core/mesh/qgsmeshlayer.h
fix docstring
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* const stuff
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* sipify
---------
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* select separate mesh point after adding it
* applyZValueFromProjectTerrainOnSelectedVertices function
* add stuff to widget and connect with the tool
* if the transform fails use original coordinates
* rename function
* review suggestions
* styling fixes
* fix clang-tidy issues
* add tests
* if terrain provider value is NaN, default value should be set, using currentZValue() would set up last added Z value (from previous point for example)
* more test cases
* one more test
* add message bar warning if default value is used
* move from z widget to separate settings and offer more flexibility
* move from z value widget to QgsMeshTransformCoordinatesDockWidget
* update tests to reflect changes
* fix tests
* revert QgsZValueWidget back to its original state
* avoid issue
* move currentZValue() up in the logic to avoid clang error
* release terrain providers to avoid SEGFAULT
* fix precommit issues
* fix precommit issue
* drop empty line
* Update src/app/mesh/qgsmaptooleditmeshframe.cpp
add tooltips, change names
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* rename enum
* rename setting
* drop leftover
* use default timing
* rename function
* change setting value, to work with changed order
* update tests
---------
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
If an elevation profile widget is already open, when a new raster
layer is added, it is not added to the elevation widget
treeview. Indeed, when a new raster is added,
`QgsRasterLayer::elevationProperties::hasElevation()` returns `False`
by default and the proxy model of the elevation filters out the layers
which do not have an elevation.
Later on, `QgsAppLayerHandling::postProcessAddedLayer` is called on
this raster and it sets the elevation to `True` if it looks like a
DEM (See
`QgsRasterLayerElevationProperties::layerLooksLikeDem()`). However,
the layer tree of the elevation widget has already been populated and
it is not updated.
This issue is fixed by emitting the the `dataChanged` signal every
time the elevation properties of a layer changes. Indeed, this forces
a full refresh of the model and displays the raster in that case.
* Add label rendering into VPC tiles
* Move tile labels rendering into QgsPointCloudExtentRenderer
* Rework showLabels flag once more & connect it to widget
* Add widget for label TextFormat WIP
* Rework and fix text format widget issues
* Improve default text format used in VPC labels
* Fix banned keywords issue
* Fix QgsTextFormat review issue
* Fix labels drawing efficiency issue
* Fix formating issues
* Fix review issues
Fixes#59777
Just like the equivalent fixed-elevation-range per band mode for
elevation, this temporal setting ONLY makes sense when the renderer
is a single-band renderer.