Nyall Dawson
885c0b6136
Add a "refreshing" icon overlay for layout items which are
...
being redrawn/updated in the background
Gives immediate visual feedback to users that the current appearance
of those items are outdated and to wait while they update.
2023-03-14 04:24:19 +10:00
Nyall Dawson
bf11dc1777
Add layer tree signals for hit test started/completed, and methods
...
to determine whether a background hit test is in progress and
block while it completes
2023-03-14 04:24:19 +10:00
Jean Felder
c28a4d9b49
tests: reorganize 3d cmakelists by alphabetical order
2023-03-14 03:53:22 +10:00
Jean Felder
fa8b8ed5af
tests: add a test for QgsTilingScheme
2023-03-14 03:53:22 +10:00
Matthias Kuhn
0ed927b29a
Merge pull request #52183 from domi4484/dontHandleDuplicateWidgetsValueChanged
2023-03-13 17:00:59 +01:00
Alessandro Pasotti
913d8cc527
Merge pull request #52010 from pathmapper/prev_next_links
...
[server/OAPIF] Fix prev/next links
2023-03-13 12:56:51 +01:00
Yoann Quenach de Quivillic
1f25b41d79
Fix duplicated newline on save (windows)
2023-03-13 14:49:32 +10:00
Even Rouault
d1edbc8fdf
Use gdal::dataset_unique_ptr to store return of GDALOpenEx() ( fixes #52052 )
...
This avoids an implicit case from OGRDataSourceH to GDALDatasetH, that
doesn't work with all compilers
2023-03-13 14:35:12 +10:00
Damiano Lombardi
c267084629
Don't handle valueChanged for each duplicate widget
2023-03-10 21:20:14 +01:00
Even Rouault
bbe6cfbeef
Merge pull request #52156 from rouault/fix_use_of_uninitialized_var
...
QgsMapToolFillRing::fillRingUnderPoint(): fix -Wmaybe-uninitialized warning
2023-03-09 20:46:09 +01:00
Even Rouault
7961372204
fillRingUnderPoint(): update test to detect if FID is set
2023-03-09 09:59:04 +01:00
Alessandro Pasotti
baea1e8927
Merge pull request #52150 from elpaso/bugfix-gh51934-filtered-gpkg-transaction-group
...
OGR: fix transaction issue with filtered GPKGs
2023-03-09 09:31:01 +01:00
Nyall Dawson
db3a08b692
Update src/app/qgsmaptoolfillring.cpp
2023-03-09 14:33:08 +10:00
Even Rouault
79400162b0
QgsMapToolFillRing::fillRingUnderPoint(): fix -Wmaybe-uninitialized warning
2023-03-09 00:10:47 +01:00
Alessandro Pasotti
8a5f2c5c86
OGR: reset the data source subset string
...
Fix #51934 by resetting the data source subset string filter,
in case it was changed by a previous request.
2023-03-08 15:40:37 +01:00
Nyall Dawson
96f5d6a937
Add some test for QgsMapHitTest
2023-03-08 19:28:18 +10:00
Nyall Dawson
ea7d4b9e01
Rename method for clarity
2023-03-08 19:28:18 +10:00
Nyall Dawson
b1518d2057
Fix clang warning
2023-03-08 19:28:18 +10:00
Nyall Dawson
793915fb2d
Fix clang tidy warnings
2023-03-08 19:28:18 +10:00
Nyall Dawson
bcea91385d
Documentation
2023-03-08 19:28:18 +10:00
Nyall Dawson
3f6a476420
Fix documentation warning
2023-03-08 19:28:18 +10:00
Nyall Dawson
b9ffb10f38
Start legend update immediately when render starts instead of when
...
it finishes
Since the operation is now executed in a background thread, we
may as well get it processing at the same time as the render
occurs
2023-03-08 19:28:18 +10:00
Nyall Dawson
7e554b1ac6
Use task based legend filter by map for main canvas
...
Otherwise QGIS frequently hangs for extended periods whenever
the filter by map option is enabled!
2023-03-08 19:28:18 +10:00
Nyall Dawson
4adc1c8278
Fix python build
2023-03-08 19:28:18 +10:00
Nyall Dawson
1938f6e255
Add flag to QgsLayerTreeModel to execute legend hit tests in
...
a background task
2023-03-08 19:28:18 +10:00
Nyall Dawson
f261855490
Create QgsMapHitTestTask, a QgsTask which executes a legend hit
...
test in a background thread in a thread-safe way
These legend hit tests can be very expensive to calculate, so
background execution is desirable...
2023-03-08 19:28:18 +10:00
Nyall Dawson
11f5a6947a
Refactor QgsMapHitTest to permit thread-safe execution
2023-03-08 19:28:18 +10:00
Alessandro Pasotti
7cd936eafe
Unfinished attempt to fix #51934
2023-03-08 10:22:43 +01:00
Nyall Dawson
4647cfccef
[processing] Add "Keep disjoint results separate" option to buffer
...
algorithm
If checked, then any disjoint parts in the buffer results will be
output as separate single-part features. This setting is designed
to expose a similar functionality as is available for the 'dissolve'
algorithm.
Sponsored by City of Canning
2023-03-08 18:08:43 +10:00
Nyall Dawson
3c1e4fe723
[processing] Allow filter expressions to be set for vector sources
...
This change adds a new "feature filter" option alongside the
existing feature limit and invalid geometry handling options
available for all vector inputs to processing layers.
It allows users to enter an expression to subset the layer dynamically
when running the tool, avoiding the need for separate steps to
set layer filters or create layer subsets.
Sponsored by City of Canning
2023-03-08 16:58:34 +10:00
Nyall Dawson
75b3383fb5
Call correct parent function
2023-03-08 14:53:12 +10:00
Nyall Dawson
bb57ef8d1a
Doc fixes
2023-03-08 14:53:12 +10:00
Nyall Dawson
781b869a7e
[feature][layouts] Support filtering layout legends by multiple linked map items
...
Instead of limiting layout legend filtering to a single linked map,
this change permits legends to be filtered instead by multiple
linked maps. It is designed to accomodate the use case where
a layout has multiple maps, potentially at different scales
and showing different extents, and a single legend is required
which includes all symbols visible across all the maps.
Sponsored by City of Canning
2023-03-08 14:53:12 +10:00
Nyall Dawson
e3ffb8d829
Add another early exit shortcut to legend hit test
2023-03-08 14:27:51 +10:00
Nyall Dawson
d1247bc4b6
Add another early exit path for map hit test
2023-03-08 14:27:51 +10:00
Nyall Dawson
668391184a
Optimise legend filter by map test by finishing early when we have
...
determined that all available legend symbols for a layer are
visible in the map
Avoids a LOT of wasted time calculating visible symbols, especially
for layers with a single symbol renderer.
2023-03-08 14:27:51 +10:00
Nyall Dawson
efbfaf8046
Add QgsFeatureRenderer::legendKeys method to retrieve all legend
...
keys for the renderer
2023-03-08 14:27:51 +10:00
Nyall Dawson
b170c0f97e
Nicer documentation
2023-03-08 14:27:51 +10:00
Nyall Dawson
e0e0502f00
Fix some incorrect super class methods called
2023-03-08 14:27:34 +10:00
Nyall Dawson
9d6e8e2244
Fix some issues preventing use of clang-tidy on files
2023-03-08 14:27:34 +10:00
Nyall Dawson
ef90e3d624
Silence some unwanted clang-tidy warnings
2023-03-08 14:27:34 +10:00
signedav
771c85ac2a
Merge pull request #52046 from signedav/preserve_index
...
Fix index lost on reload in Attribute Table
2023-03-07 17:15:10 +01:00
Juergen E. Fischer
c5536d9503
fix build (followup 433d962c55 and 9910af69575)
2023-03-07 08:37:22 +01:00
Nyall Dawson
33d1d2e3c8
Move backport bot to 22.04
2023-03-07 09:48:32 +10:00
Yoann Quenach de Quivillic
2b96ebf67c
Fix #50202 Pressing Enter does not upgrade all plugins anymore
2023-03-07 09:45:40 +10:00
Harrissou Sant-anna
d979743ef0
Add more details to the modulo operator
2023-03-07 09:45:01 +10:00
Julien Cabieces
35fc6b239a
add generated file dir in clang-tidy call
2023-03-07 09:28:40 +10:00
signedav
632edab95c
Merge pull request #52015 from signedav/legend_fix
...
Fix inconcequent use of DPI at generating the WMS legend
2023-03-06 17:41:15 +01:00
Alexander Bruy
4d78e34b28
fix build
2023-03-06 16:19:47 +10:00
Alexander Bruy
433d962c55
bump nlohmann/json version to 3.9.1 to satisfy pdal_wrench dependency
...
requirement
2023-03-06 16:19:47 +10:00