20600 Commits

Author SHA1 Message Date
NEDJIMAbelgacem
e5f625f8c9 extend attribute datatypes to include the ones used for extrabytes 2022-02-01 06:04:12 -08:00
Nyall Dawson
65287ee4f7 In saga/grass/otb processing plugin tests, only load the provider
being tested instead of every provider
2022-02-01 18:14:48 +10:00
Nyall Dawson
dd368a4289 When processing is initialized in external scripts, ensure the GRASS,
SAGA and OTB providers are included by default

Fixes #45935
2022-02-01 18:14:48 +10:00
Alexander Bruy
9ba642fa49 don't re-add layer to the temporary store 2022-02-01 08:26:43 +10:00
Alexander Bruy
d03ea9cdbc add tests for reloading output of the GDAL rasterize algorithms 2022-02-01 08:26:43 +10:00
Alexander Bruy
efa4e885be [processing] reload output layer after GDAL rasterize (fix #45729) 2022-02-01 08:26:43 +10:00
Nyall Dawson
2f74a24eeb Fix typo 2022-02-01 08:23:29 +10:00
Alex
73e036ebdb Correctly handle sort field as field in atlas sorting
Fixes #40332
2022-02-01 08:23:29 +10:00
Mathieu Pellerin
663a70901f Apply suggestions from code review
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2022-02-01 05:37:24 +10:00
nirvn
f949adc760 Add spaces to make flake8 happy 2022-02-01 05:37:24 +10:00
nirvn
835fe144cc [processing] Add missing field types to the advanced (i.e. python) field calculator algorithm 2022-02-01 05:37:24 +10:00
Nyall Dawson
d5856ec400 Allow enum parameters to have icons specified for values for parameter metadata 2022-01-31 21:01:44 +10:00
Nyall Dawson
7747c30dec Add support for field subtype to QgsFields::iconForFieldType 2022-01-31 21:01:44 +10:00
Nyall Dawson
a20f7789d9 Partial work on centralizing all QVariant::Type to display string
logic in a new QgsVariantUtils class

(I've likely missed a few places here, but it's a start!)
2022-01-31 17:24:53 +10:00
Nyall Dawson
9d5f66b239 Add missing file 2022-01-31 15:36:28 +10:00
Nyall Dawson
3ae623137d Fix color widgets incorrectly change colors when mouse is hovered
over widget
2022-01-31 12:57:52 +10:00
Nyall Dawson
8e04498d6b Safer approach to handling reprojection with distance within requests
We can't safely handle a distance within query when transforming, as
we cannot transform the static within tolerance distance from one
CRS to a static distance in a different CRS
2022-01-31 12:37:52 +10:00
Sandro Santilli
3004fde9c6 Add QgsAbstractFeatureIterator::updateRequestToSourceCrs method
The method superceeds filterRectToSourceCrs, deprecating it for
shortage of functionality now that we support multiple spatial
filters.

This commit makes use of the new method from
QgsVectorLayerFeatureIterator::QgsVectorLayerFeatureIterator
so to not drop the WithinDistance spatial filter from the
user Request.

References #45352
2022-01-31 12:37:52 +10:00
Sandro Santilli
95be545b81 Add equality/inequality operators for QgsFeatureRequest::OrderBy
Equality useful for unit tests, inequality for completeness
2022-01-31 12:37:52 +10:00
Sandro Santilli
182732e044 Add equality/inequality operators for QgsFeatureRequest::QgsSimplifyMethod
Includes unit test

The equality operator is useful for unit tests, the inequality
operator was added for completeness as requested by Nyall
in https://github.com/qgis/QGIS/pull/45384#discussion_r734174883
2022-01-31 12:37:52 +10:00
Mathieu Pellerin
e1b8abd5cb
Merge pull request #47049 from nirvn/refactor_missing_array_fix
Add missing string,integer,double array field types in the refactor and aggregate algorithms
2022-01-30 18:17:03 +07:00
nirvn
f223ef2112 Address review and tests failure 2022-01-30 16:36:06 +07:00
nirvn
6d4c9e162b Add array_agg test 2022-01-30 14:39:54 +07:00
nirvn
a9d5ae2180 [processing] Add missing {string,integer,double} array types support in the aggregate algorithm 2022-01-30 14:27:51 +07:00
nirvn
2918c1a2c7 Skip gml_id to work around gdal >= 3.4 changing default GML format 2022-01-30 13:48:04 +07:00
nirvn
e722475a48 [processing] Add missing {string,integer,double} array types in the field mapping widget 2022-01-30 13:48:04 +07:00
nirvn
36f513d7eb [processing] Rework the field mapping model class to allow for subtypes 2022-01-30 13:48:04 +07:00
nirvn
069ceeb104 [processing] Add a bunch of missing field types to the add field to attributes table algorithm 2022-01-29 11:30:54 +07:00
Denis Rouzaud
b98c1df904 use default args for Z/M values in QgsGeometry::coerceToType 2022-01-28 06:21:18 +01:00
Alexander Bruy
fd00dd43c2
Merge pull request #47001 from AlisterH/patch-2
Update r.water.outlet.txt to tell the user what kind of input raster is needed
2022-01-26 10:54:15 +02:00
Alexander Bruy
91fb92f650 fix adding vector layers to QGIS from MetaSearch (fix #46135) 2022-01-26 07:06:37 +10:00
AlisterH
a56d9398c0
Update r.water.outlet.txt
to tell the user what kind of input raster is needed
2022-01-26 09:22:41 +13:00
Nyall Dawson
6bd1a7eb7d Document new behaviour 2022-01-24 17:26:05 +10:00
Nyall Dawson
1be383a301 [api] Add QgsProviderMetadata method to test whether a style with
a specified ID already exists
2022-01-24 17:26:05 +10:00
Denis Rouzaud
973b97af24 fix spell, layout and sip 2022-01-22 06:37:43 +10:00
Denis Rouzaud
0bccb17f9f fix re-implemented buttons being null 2022-01-22 06:37:43 +10:00
Harrissou Sant-anna
b8de4d389e
Add version mention 2022-01-20 21:37:13 +01:00
Harrissou Sant-anna
0ef51feccf
Dedicated method allowing to add plugins to the Mesh menu 2022-01-20 15:07:15 +01:00
nicogodet
0017f1ae94
fix see also of setClearValue (#46911) 2022-01-20 14:07:14 +01:00
uclaros
d1d148f0c6 Address more comments 2022-01-19 06:24:20 +10:00
uclaros
a28cd2ce11 Address review 2022-01-19 06:24:20 +10:00
Stefanos Natsis
be99a166d9 Added pointcloud ordered by Z rendering for 2d views 2022-01-19 06:24:20 +10:00
Nyall Dawson
d00356a0fa [console] Use a more modern approach to running script files, to
avoid 'unclosed file' warnings dumped whenever script files
are run through the Python console
2022-01-18 15:23:08 +10:00
Nyall Dawson
f4b7a93175 Fix scroll area child widgets wheel event lock lasts too long after
scrolling stops in some circumstances

Basically, if the user moves the mouse after scrolling the area
with the wheel, we should release the time based lock we use
to avoid unwanted widget changes mid-scroll immediately. Otherwise
it's impossible to scroll wheel->move mouse onto widget->wheel to change
widget value quickly.
2022-01-18 13:51:37 +10:00
Nyall Dawson
8ef270b2cc [processing] Remove unused 'preconfigured' provider 2022-01-17 16:12:40 +10:00
Matthias Kuhn
c5a56d6f83
Merge pull request #46802 from domi4484/relationEditorGetMultipleFeatures 2022-01-14 15:18:42 +01:00
Nyall Dawson
72116925ad Sip_skip some private api 2022-01-14 16:06:41 +10:00
Nyall Dawson
479d37def0 Add missing TransferThis annotation 2022-01-14 16:06:41 +10:00
Nyall Dawson
216b9d2a2a Fix getter name should not include 'get' prefix 2022-01-14 16:06:41 +10:00
Nyall Dawson
f288ab1223 Add api to allow validation of QgsOptionsPageWidget before applying
options dialog changes
2022-01-14 16:06:23 +10:00