Yoann Quenach de Quivillic
5040a3b263
Fix flake8
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
8db1026ed2
Use pushWarning instead of pushMessage
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
53c7b8011b
Fallback to difflib if levenshtein unavailable
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
04a8436187
Conditional import
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
311c1b14d2
Fix infinite loop
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
00d279e999
Fix merge error
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
364bb96850
Change wording format->reformat
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
6523f0c58c
Keep cursor position after formatting
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
0f84e095b7
Add isort (sort imports)
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
63a48983d9
Add black formatter
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
3c97906bbf
Add formatting options
2023-03-17 10:52:08 +10:00
Yoann Quenach de Quivillic
ef6de1ff2c
Add format code action in Python Console Editor
2023-03-17 10:52:08 +10:00
Nyall Dawson
80cc064354
[processing] Ensure distance/area units are respected in export
...
geometry info algorithm
2023-03-17 05:59:15 +10:00
Nyall Dawson
7cd6b616b1
Allow processing dialog to override default processing context settings
2023-03-17 05:59:15 +10:00
Yoann Quenach de Quivillic
2ab74cb22f
Fix #52098 Capture tool technique button disabled
2023-03-16 14:40:07 +01:00
Mathieu Pellerin
e5bdea39d9
Merge pull request #52220 from nirvn/vector_tile_bg_imp
...
[vector tile] Fix tile background edge artifacts by using a buffered polygon
2023-03-16 08:48:32 +07:00
signedav
5bd1785e3d
Merge pull request #52249 from signedav/removeorderbyvalue
...
Relation Reference: Remove broken (unused) setting for "Order by value"
2023-03-15 17:21:39 +01:00
signedav
99430cda7e
Remove broken (unused) setting for order by value. Resolves #26468
2023-03-15 13:34:23 +01:00
Nyall Dawson
b1419e6009
Spelling
2023-03-15 14:55:44 +10:00
Nyall Dawson
aba620a311
Add a "contextMenuAboutToShow" signal to QgsLayerTreeView
...
Allows plugins to hook into this menu and add custom entries
and customise the standard entries
2023-03-15 14:55:44 +10:00
Mathieu Pellerin
75bf0f31a3
Better fix (faster rendering, works for PDF, better during progressive rendering)
2023-03-14 19:07:39 +07:00
Mathieu Pellerin
45f54b64c3
Merge pull request #52198 from nirvn/qgsziputils_imp
...
[api] Add a new QgsZipUtils's files() function and a unzip() parameter to skip consistency check
2023-03-14 14:07:10 +07:00
Tom Kralidis
c2b60acb09
fix geometry ref
2023-03-14 08:27:10 +10:00
Tom Kralidis
2bbbe19d13
MetaSearch: update paging parameters for OGC API - Records
2023-03-14 08:27:10 +10:00
Nyall Dawson
b39c389cd9
Fix version numbers
2023-03-14 04:24:19 +10:00
Nyall Dawson
2f0060c5dc
[layouts] Use a background thread to filter legend content by map
...
Avoids potentially massive UI hangs while working with layouts
with filtered legends.
Fixes #51233
Fixes #48326
Fixes #51455
Fixes #51452
2023-03-14 04:24:19 +10:00
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
Mathieu Pellerin
4caeb63a4c
[api] Add useful ZIP files listing function to QgsZipUtils
2023-03-13 16:36:06 +07:00
Mathieu Pellerin
6234731f10
[api] Add a new QgsZipUtils::unzip() parameter to skip consistency check
2023-03-13 15:15:49 +07:00
Yoann Quenach de Quivillic
1f25b41d79
Fix duplicated newline on save (windows)
2023-03-13 14:49:32 +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
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
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
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
06b3678a57
Don't allow users to set maximum thread count for rendering to 1
...
(This setting can sometimes unwantedly occur when using the same
profile across sessions of newer to very old QGIS versions)
The option is a misleading, as it's actually setting the global
thread limit for the entire QGIS application. If we allow this
to be set to a limit of 1 thread, then deadlocks
occur from the QImage internals in unpredictable ways.
2023-03-03 16:48:34 +10:00
Yoann Quenach de Quivillic
43c415d109
Fix focus switch on close tab
2023-03-03 12:17:01 +10:00
Yoann Quenach de Quivillic
fc3847def7
Fix bug introduced by #51913 - Proxy EditorTab attributes to Editor
2023-03-03 12:17:01 +10:00
Nyall Dawson
edfb9764cb
Add API to set field split policy for vector layers
2023-03-01 19:30:39 +10:00
Nyall Dawson
34ed6caaac
Add split policy to QgsField
2023-03-01 19:30:39 +10:00
Nyall Dawson
141b9efe44
Expand available values for Qgis::FieldDomainSplitPolicy
2023-03-01 19:30:39 +10:00
Nyall Dawson
723ad914d3
Fix some warnings
2023-02-28 09:01:54 +10:00
Julien Cabieces
8f32f07433
Treat review comments
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-02-27 09:24:40 +01:00
Julien Cabieces
7a2a252d0d
fix doc and typos
2023-02-27 09:24:40 +01:00