85733 Commits

Author SHA1 Message Date
Harrissou Sant-anna
b5cbcbd9d4 Transfer security matters of the authentication system
from the user manual (refs https://github.com/qgis/QGIS-Documentation/pull/8985#issuecomment-2017822488)
2024-03-26 09:29:24 +10:00
Nyall Dawson
94bef546b2 Ensure temporal and elevation filters work correctly in conjunction
Fixes #56938
2024-03-26 08:54:31 +10:00
Nyall Dawson
5bc06fe30a Readability 2024-03-25 19:16:56 +10:00
Nyall Dawson
4d442441f8 [sensorthings] Add support for Multidatastreams
This adds support for the Multidatastream entity type, as
implemented in the SensorThings version 1.1 "MultiDatastream extension"

While the specification mandates that MultiDatastreams have an
optional polygon geometry, I've encountered numerous servers
which expose different geometry types for this entity or which
return errors when attempting to read the geometries from
MultiDatastreams. Accordingly we always expose an option to
load MultiDatastreams as geometryless layers alongside the
default option to load them as polygon layers, to handle a
wider range of connections.
2024-03-25 19:16:56 +10:00
Matthias Kuhn
fdefdf9c27
Merge pull request #56953 from t0b3/fix--build-without-qtserialport
Fix:  build with `QTSERIALPORT=false`
2024-03-24 21:36:18 +01:00
t0b3
27e8f96d16 fix: push docker image only if GH actor == qgis
Signed-off-by: t0b3 <thomas.bettler@gmail.com>
2024-03-24 14:26:27 +01:00
t0b3
57517b7292
fix: build without qtserialport
closes: https://github.com/qgis/QGIS/issues/56944
Signed-off-by: t0b3 <thomas.bettler@gmail.com>
2024-03-24 14:24:12 +01:00
Nyall Dawson
6276f5cc17 Fix test 2024-03-22 12:40:54 +10:00
Nyall Dawson
0b5890b983 Show expression previews 2024-03-22 12:40:54 +10:00
Nyall Dawson
0dd3e1e908 Try 25 2024-03-22 12:40:54 +10:00
Nyall Dawson
68f12a14fd Try 30 parts 2024-03-22 12:40:54 +10:00
Nyall Dawson
cea5fe32ca Silence false positive cppcheck warning 2024-03-22 12:40:54 +10:00
Nyall Dawson
3f44760a82 Add "Fixed Time Range Per Band" mode for raster temporal control
This mode can be used when each band in the raster layer is associated
with a fixed time range, eg. NetCDF files.

The user can either manually populate a table with begin/end dates for
each band in the raster, or build the table using QGIS expressions
which return datetime values.
2024-03-22 12:40:54 +10:00
dependabot[bot]
e9ac49d227 build(deps): bump webpack-dev-middleware
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-22 07:14:51 +10:00
Harrissou Sant-anna
1537202d15 Fix needs-documentation action
Reinstate addition of the message in the initial pull request referring to the issue created in the docs repo
Also remove a warning message
2024-03-22 05:23:24 +10:00
bdm-oslandia
565b0b9002 chore(code_layout): use env var and pipe to bypass the "Argument list too long" error 2024-03-22 05:22:51 +10:00
Nyall Dawson
cd741cf67d Fix warning 2024-03-21 12:33:33 +01:00
Nyall Dawson
d51d2a8841 Show a read only table of band ranges in dialog when in dynamic range
per band mode
2024-03-21 12:33:33 +01:00
Nyall Dawson
69c87d1478 Allow picking band to preview expression result for
Populates the expression builders with the raster bands, so that
the preview control allows users to scroll through bands and
see the expression results for each.
2024-03-21 12:33:33 +01:00
Nyall Dawson
d9a49f58fd Add API for custom preview generators in QgsExpressionBuilderWidget
In this mode, the widget will call a callback function to generate
a new QgsExpressionContext as the previewed object changes. This
can be used to provide custom preview values for different objects
(i.e. for objects which aren't vector layer features), such as raster
bands or other custom objects.
2024-03-21 12:33:33 +01:00
Nyall Dawson
aee2805234 Fix filtering raster identify results by elevation filter 2024-03-21 12:33:33 +01:00
Nyall Dawson
4383a3a225 Add "dynamic elevation range per band" mode for rasters
In this mode, the user can specify a QGIS expression for the
lower and upper value corresponding to raster bands, using
variables like @band, @band_name and @band_description.

E.g

    @band * 100

Can be used when each band represents a 100 m vertical slice
of data.

The expression will be evaluated when required to determine
the actual elevation range corresponding to each band.

This differs from the existing "Fixed Elevation Range Per Band"
mode in that "Fixed Elevation Range Per Band" requires users
to manually enter an elevation for each band separately,
and these values are then treated as constants. That mode works
best for rasters with non-regular steps in the band
elevation values, while this new mode is better for regular
band elevation steps
2024-03-21 12:33:33 +01:00
Nyall Dawson
ec30cabf40 Add test mask to fix flaky test 2024-03-20 17:27:38 +10:00
Mathieu Pellerin
4d2497be8a [layouts] Defer legend item feature count until layout is drawn 2024-03-20 12:36:35 +07:00
Nyall Dawson
84f37095bc
Fix typo 2024-03-20 14:17:00 +10:00
Nyall Dawson
0f1649266b Use more descriptive default layer names when adding SensorThings
layers from browser panel

Fixes #56838
2024-03-20 14:02:20 +10:00
Nyall Dawson
89731a78ef Don't store numeric limits as z range for layout maps in project 2024-03-20 11:18:16 +10:00
Andrea Giudiceandrea
c9c62c2da1 Fix QgsSymbol::drawPreviewIcon
Transform the "Opacity" value calculated by Data Defined Override expression from [0-100] range to [0-1] range.
2024-03-20 10:44:06 +10:00
Andrea Giudiceandrea
988012c999 [layouts] Avoid a potential speed regression
Followup #56891
2024-03-20 10:31:54 +10:00
Harrissou Sant-anna
1ecd122845 Add tooltips 2024-03-20 10:31:39 +10:00
Harrissou Sant-anna
18bba4b593 Use proper labels for buttons in the Organize columns dialog
These buttons actually check or uncheck visibility of the fields, they do not (de)select them in the dialog
2024-03-20 10:31:39 +10:00
DelazJ
1815858d93 Relation reference: Simplify widget for limiting number of entries to display 2024-03-20 10:31:30 +10:00
Nyall Dawson
c997d5a8d9 Fix test 2024-03-19 13:44:02 +10:00
Nyall Dawson
d2e3534dbd [processing] Use correct ellipsoid for network analysis tools
Use the processing context's ellipsoid instead of a hardcoded
WGS84 ellipsoid for distance calculations during network
analysis, so that the lengths used will exactly match other
measurement tools used on the same features in the same
project.
2024-03-19 13:44:02 +10:00
Nyall Dawson
163c513496 Fix warning 2024-03-19 13:29:40 +10:00
Nyall Dawson
40847d0596 Avoid some unnecessary redraws 2024-03-19 13:29:40 +10:00
Nyall Dawson
16b637e6e7 Don't identify mesh layers which aren't in visible elevation range 2024-03-19 13:29:40 +10:00
Nyall Dawson
0bb3a26b20 Implement fixed elevation range for mesh layers
Just like the equivalent mode for raster layers, this mode indicates
that a fixed constant z range should be applied to the entire mesh
layer.
2024-03-19 13:29:40 +10:00
Andrea Giudiceandrea
a72c4bb0b3 [layout] Fix hidden coverage layer 2024-03-19 08:46:33 +10:00
Nyall Dawson
3eb14c28af Don't allow using per-band elevation range mode when layer
has a multi-band renderer set
2024-03-18 21:26:20 +01:00
Nyall Dawson
e9730b1bb3 Add capabilities for raster renderers
And selectively expose some of QgsRasterRendererRegistry to python
2024-03-18 21:26:20 +01:00
Nyall Dawson
b3d3a61d75 Handle fixed range per band mode in raster renderer 2024-03-18 21:26:20 +01:00
Nyall Dawson
a3f1f910cf Add GUI to configure fixed range per band mode
This is exposed as a user editable table of raster bands with
lower and upper values. Users can either populate the lower
and upper values manually, or use an expression to auto fill
all band values based on a qgis expression.

The expression based fill allows for users to design expressions
which extract useful information from band names, eg extracting
the depth value from a "Band 001: depth=-5500 (meters)" style
band name.
2024-03-18 21:26:20 +01:00
Nyall Dawson
1796318afe Add a "fixed range per band" elevation mode for rasters
In this mode, each band in the raster can have a fixed elevation
range associated with it. This is designed for data sources which
expose elevation related data in bands, eg netcdf files, such
as a raster with temperate data at different ocean depths.
2024-03-18 21:26:20 +01:00
Denis Rouzaud
71583dbc0c
use new settings API in DXF export (#56852) 2024-03-18 08:57:48 +01:00
Nyall Dawson
9a2d8ad8bd Update test 2024-03-18 12:37:42 +10:00
Nyall Dawson
c486cf9a43 Fix truncated labels 2024-03-18 12:37:42 +10:00
Nyall Dawson
1673bc25f6 Update test 2024-03-18 12:37:42 +10:00
Nyall Dawson
465d8bd0ba Use inline settings widget in menu instead of separate dialog 2024-03-18 12:37:42 +10:00
Nyall Dawson
a9d2d43a0e Also rename QgsRangeSlider fixed range size methods 2024-03-18 12:37:42 +10:00