Nyall Dawson
cbd25c1fdd
Promote QgsColorRampShader enums to enum class, move to Qgis
2024-05-22 12:37:44 +10:00
Nyall Dawson
04665953ed
Also add variant which takes a list of layers
2024-05-20 11:52:10 +02:00
Nyall Dawson
c79168a6bc
Add elevation utils method to collect significant elevation values for a project
2024-05-20 11:52:10 +02:00
Nyall Dawson
c8d66e1e8d
Add method to retrieve significant elevation values from a layer
2024-05-20 11:52:10 +02:00
Nyall Dawson
91c17de4d5
Correct handle many-to-one and one-to-one relationships in expansions
2024-05-16 15:14:49 +10:00
Nyall Dawson
08451d7dc6
Fix build on older sip
2024-05-16 15:14:49 +10:00
Nyall Dawson
ecfcf6ced1
Use a more flexible API for handling SensorThings expansions
...
This allows us to control the sort order and limit for each expansion,
and gives us more flexibility in future to eg handle per expansion
filter strings
2024-05-16 15:14:49 +10:00
Nyall Dawson
742fa6b486
[sensorthings] Support feature expansion
...
This change allows SensorThings entities to be expanded to contain
their related child feature attributes, exposing the relational
SensorThings model as a traditional "flat" GIS-friendly table
structure.
Eg when selecting Location entities, you can now opt to expand
to "Things > Datastreams > Observations". This would result in
multiple "stacked" point location features, one corresponding
to each observation, with the attributes for each point feature
containing the location, thing, datastream and observation
attributes.
(Best used combined with some extent, feature limit, or custom
filter option, as this can otherwise result in very heavy
requests to the backend service!)
Fixes #56805
2024-05-16 15:14:49 +10:00
Nyall Dawson
f62e945578
Improve documentation
2024-05-14 12:00:10 +10:00
Nyall Dawson
701af9462b
Rename to parentQuantityName
2024-05-14 12:00:10 +10:00
Nyall Dawson
0ff90a5698
When matching render elevation range to layer ranges, only consider
...
datasets from the same parent group
2024-05-14 12:00:10 +10:00
Nyall Dawson
4eb7661d85
Add fixed elevation range per dataset group mode for mesh layers
...
This mimics the "fixed range per band" mode we have for raster layers,
but allows a per-dataset group elevation range to be set for
mesh layers
2024-05-14 12:00:10 +10:00
Alexander Bruy
d6b2e840ff
Merge pull request #57396 from alexbruy/copy-composer-grid
...
Copy composer grid
2024-05-13 12:46:42 +01:00
Nyall Dawson
2860f23fa3
Add QgsLineString method to interpolate nan m values along line
...
Fills in any nan m values by interpolating from non-nan values
in neighbouring vertices
2024-05-11 08:33:21 +10:00
Alexander Bruy
8882fd9aa1
duplicate composer map grid ( fix #47511 )
2024-05-10 13:17:39 +01:00
Nyall Dawson
aa39eabde1
Add framework for feature renderer level data defined properties
2024-05-10 12:06:18 +10:00
Nyall Dawson
61b72b7d96
Fix see also
2024-05-10 06:09:56 +10:00
Nyall Dawson
59bc838172
Show a color ramp legend for vector heatmap layers
...
Instead of showing no legend for these layers, show the color
ramp as a gradient bar
Fixes #54772
2024-05-10 06:09:56 +10:00
Nyall Dawson
04f96fcf4b
Move responsibility for creating vector legend nodes to renderer
...
This will allow renderer subclasses to create legend nodes which
aren't QgsSymbolLegendNodes.
2024-05-10 06:09:56 +10:00
Nyall Dawson
d87644c7db
Add GPS navigation status to QgsGpsInformation
2024-05-10 06:09:15 +10:00
Nyall Dawson
997648baa9
Add 'over point' placement option for cartographic label mode
...
This adds a new option for placement when labels are set to the
"cartographic" mode, for "O" = "over point". When a feature's
data defined placement priorities include this new 'O' option,
a label can be placed directly over the corresponding point.
Sponsored by Rubicon Concierge Real Estate Services
2024-05-10 06:08:50 +10:00
signedav
d0d2023978
Merge pull request #57217 from signedav/duplicatepolicy
...
Duplicate policy on QgsFields when duplicate features
2024-05-08 19:53:31 +02:00
signedav
cfe71973c2
rename FieldDomainDuplicatePolicy to FieldDuplicatePolicy because - not like the Merge or Split Policy it does not affect the FieldDomains but only the Fields instead
2024-05-07 14:28:15 +02:00
uclaros
eee787f825
return magnitude multiplier based on units set
2024-05-07 10:22:36 +02:00
uclaros
3d4c19d3b3
Add support for Wind Barb rendering for mesh vector datasets
2024-05-07 10:22:36 +02:00
Nyall Dawson
20d9657f19
Add mechanism to merge results across different model execution runs
...
So that if a part model was run from a previous state, we can
generate the complete state of model results across both runs
2024-05-04 06:30:43 +10:00
Nyall Dawson
8cd3c547ee
Add API framework for setting initial state of a model algorithm
...
And allow execution of just a subset of child algorithms from
a model, using the initial state as a starting point
This will allow "resuming" a model, running part of a model using
the state from a previous execution.
2024-05-04 06:30:43 +10:00
Nyall Dawson
86cf8f8815
Store more model execution details for later retrieval
2024-05-04 06:30:43 +10:00
Nyall Dawson
6ee262f401
Add option to invert the elevation filter widget
...
If checked, this option reverse the slider in the elevation filter
so that the widget goes from high values at the bottom to low values at the top.
See justification in https://github.com/qgis/QGIS/issues/56995
Fixes #56995
2024-05-01 13:48:19 +10:00
Nyall Dawson
1698bd3391
Store elevation filter fixed range size in project
...
Remember this setting between sessions for a project
2024-05-01 13:48:19 +10:00
Nyall Dawson
43fb3b57e3
Remove deprecation marking breaking qt 6.7 build
2024-05-01 13:45:55 +10:00
Nyall Dawson
f02841dd5d
Remove Q_DECL_DEPRECATED from constructor
...
Even though this class is deprecated, this breaks the qt 6 on qt 6.7+
2024-05-01 13:45:55 +10:00
Marco Hugentobler
37efb0b7af
[FEATURE]: add option to export all lines with minimal width in dxf export
2024-05-01 12:22:07 +10:00
Nyall Dawson
a41f6f4333
Copy project vertical/3d crs logic to QgsMapLayer
...
This adds a new verticalCrs property for map layers, and a corresponding
crs3D() property. Logic is the same as that for QgsProject.
2024-04-30 06:06:10 +10:00
Nyall Dawson
cc6a840b52
Add QgsProjUtils and QgsCoordinateReferenceSystem ::hasVerticalAxis
...
Can be used to test if a crs contains a vertical axis
2024-04-26 20:26:41 +10:00
Nyall Dawson
1d52a7a8de
Report proj error when creating compound crs fails
2024-04-26 20:26:41 +10:00
Nyall Dawson
264f426ba9
Expand documentation
2024-04-26 20:26:41 +10:00
Nyall Dawson
9f2b519d7e
[api] Add QgsProject::crs3D
...
Returns the CRS to use for the project when transforming 3D data,
or when z/elevation value handling is important.
The returned CRS will take into account verticalCrs(), e.g. by
returning a compound CRS consisting of crs() + verticalCrs().
This method may still return a 2D CRS, e.g in the case that crs()
is a 2D CRS and no verticalCrs() has been set for the project.
I.E. It is NOT guaranteed that the returned CRS will actually
be a 3D CRS, but rather it is guaranteed that the returned CRS
is **ALWAYS** the most appropriate CRS to use when handling 3D data.
2024-04-26 20:26:41 +10:00
Matthias Kuhn
8f6fcdc423
Merge pull request #57200 from gacarrillor/dxf_harmonize_app_and_alg
...
[processing] Harmonize DXF Export app dialog and corresponding algorithm
2024-04-23 18:17:34 +02:00
signedav
39e6dbd0c1
fix datastream and comments
2024-04-22 19:43:58 +02:00
signedav
ac830ff16f
Merge branch 'master' into duplicatepolicy
2024-04-22 13:17:49 +02:00
Marco Hugentobler
17c83a9deb
Constant for setting dxf data defined blocks by default
2024-04-22 04:27:56 -05:00
signedav
ea4d9ce64b
DuplicatePolicy like default value / dupicate / remove value to define what has to be done on duplicating a feature.
2024-04-22 10:32:19 +02:00
Mathieu Pellerin
b9898d0fa1
Merge pull request #57166 from nirvn/fields_gadget
...
[qml] Make QgsFields a QGadet and make some functions Q_INVOKABLE
2024-04-21 05:53:41 +07:00
Nyall Dawson
0a877ea4af
Documentation improvements
2024-04-21 06:46:35 +10:00
Nyall Dawson
de0f5cf87c
Make API more future proof
2024-04-21 06:46:35 +10:00
Nyall Dawson
75455dffad
Move class to own file
2024-04-21 06:46:35 +10:00
Nyall Dawson
d4369f714d
Make log of each separate child algorithm available for retrieval after
...
running model
2024-04-21 06:46:35 +10:00
Nyall Dawson
172a1c2b03
Make execution status available for child algorithms
2024-04-21 06:46:35 +10:00
Nyall Dawson
8302259463
Make child results handling API more flexible
2024-04-21 06:46:35 +10:00