Alexander Bruy
81dbdd8bae
Merge pull request #53874 from alexbruy/processing-port-align-raster-tool
...
Port Align rasters tool to Processing
2023-09-14 16:29:49 +03:00
Alexander Bruy
4401ac792b
Merge pull request #54321 from alexbruy/processing-port-tile-xyz
...
[processing] port XYZ tiles algorithms
2023-09-13 10:58:21 +03:00
nicogodet
8fb3352348
Raise error if PostgreSQL version can't be parsed
2023-08-30 09:45:40 +02:00
Nicolas Godet
138e6dad65
Use raw string
2023-08-29 10:46:53 +02:00
Nicolas Godet
8ebf323381
More robust retrieval for PostgreSQL version
2023-08-29 09:44:20 +02:00
Nicolas Godet
814041b57a
Update python/plugins/processing/gui/BatchInputSelectionPanel.py
2023-08-29 09:22:28 +10:00
nicogodet
aadf6dcae9
Add PointCloud layers to "Select from Open Layers…"
2023-08-29 09:22:28 +10:00
Nyall Dawson
440cac298f
Promote QgsProcessingModelChildParameterSource source to enum class and move to Qgis
...
This wasn't marked as stable API, so we don't need any of the usual monkey patching code
2023-08-25 15:44:05 +10:00
Nyall Dawson
8df81beff0
Add a new processing log level for debugging models
...
At model debug log level we'll show all the generic
logs for step preparation, inputs and outputs for every
child algorithm, including those which we normally skip
(eg raise warnings/outputs, string concatenation, etc).
This gives model designers more useful information to
debug their models.
Use this new log level when running models through the
model designer window.
2023-08-25 15:02:52 +10:00
Alexander Bruy
b36b4d3e1b
port XYZ tiles algorithms
2023-08-23 16:08:17 +03:00
Alexander Bruy
051143ff6c
drop old align raster tool and add processing algorithm to the Raster
...
menu
2023-08-23 08:35:14 +03:00
Jean Felder
1778cbbb0e
processing: Fix some gdal raster tests for gdal 3.6 and above
...
This has been tested with GDAL 3.4, 3.5, 3.6 and 3.7.
2023-08-19 06:18:53 +10:00
Jean Felder
2af3c42b87
processing: Fix some gdal vector tests for GEOS 3.11 and above
...
This has been tested with GEOS 3.10, 3.11 and 3.12.
2023-08-19 06:18:36 +10:00
Jean Felder
cd3bcd6746
gdal_algorithm_vector_tests: Remove empty line at the end of file
2023-08-19 06:18:36 +10:00
Denis Rouzaud
59399cd186
Update MetaSearch with new settings API ( #54238 )
...
* Update MetaSearch with new settings API
fixes #54144
* remove Arcgis Map Server
* fix test
2023-08-16 13:38:03 +02:00
Jean Felder
6565b0d3f9
processing: Fix some tests for GEOS 3.11 and above
...
This has been tested with GEOS 3.10, 3.11 and 3.12.
2023-08-10 04:56:29 +10:00
Juergen E. Fischer
3e774edcb6
grass on windows:
...
* avoid running grassMm.bat found in the current directory
* avoid finding and running GRASS pager found in the current directory
2023-08-05 10:49:09 +10:00
Alexandre Neto
1c30d618aa
Try to clean all traces of the Graphical modeler and replace by Model Designer
2023-08-05 10:48:51 +10:00
Nyall Dawson
6cdc01b888
Fix exception when running an algorithm which has no parameters
...
through the toolbox
We were passing a float to a PyQt method requiring int in newer
Python versions, which raises an exception instead of silently
truncating.
2023-07-28 13:35:24 +10:00
Nyall Dawson
d7ba6b5ca6
Port Processing "Keep N Biggest Parts" algorithm to c++
...
Also:
- Ensure that z/m coordinates in parts are not stripped away
- Handle curved geometries
- Allow dynamic data defined num of parts
2023-07-25 13:27:33 +10:00
Nyall Dawson
83bc6be01c
Fix broken processing script editor actions
...
SIP is totally messed up here -- the dialog wrapper or something
is always prematurely cleaned which results in broken QObject
connections throughout.
Hack around this by storing dialog instances in a global list to
prevent too early wrapper garbage collection
2023-07-24 19:44:04 +10:00
AkosSeres
14e2be69ae
Fix formatting
2023-07-18 15:50:45 +10:00
AkosSeres
b800c90aa7
Fix high ram usage of XYZ tile generation
2023-07-18 15:50:45 +10:00
Nyall Dawson
e567b35cab
Fix crash when trying to re-load a layer from processing results
...
into the project when that layer already exists in the project
Fixes #53576
Fixes #53729
2023-07-13 15:03:29 +10:00
Nyall Dawson
c547f56776
[feature] Add 'DTM Filter (slope-based)' algorithm for filtering a
...
digital elevation model in order to classify pixels into ground
and non-ground cells
This is a port of the SAGA "DTM Filter (slope-based)" tool to a native
QGIS algorithm.
It also serves as a nice reference algorithm for raster based tools
which operate on a neighbourhood of pixels.
2023-07-13 14:10:00 +10:00
Matthias Kuhn
1626b7e928
Move tests to QgisUnitTests
2023-07-07 14:29:28 +10:00
AlisterH
75420dee18
remove unnecessary casts from last commit
2023-07-06 13:45:15 +10:00
AlisterH
158b0e2bae
Use more pathlib instead of os module
2023-07-06 13:45:15 +10:00
AlisterH
0420b158ef
More informative message if ext module fails to load
2023-07-06 13:45:15 +10:00
AlisterH
5e29c75d2f
Update python/plugins/grassprovider/Grass7Utils.py
...
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
47fa0c8197
Update python/plugins/grassprovider/Grass7AlgorithmProvider.py
...
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
75d204d766
Update python/plugins/grassprovider/Grass7AlgorithmProvider.py
...
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
6cc773d758
Add comments
2023-07-06 13:45:15 +10:00
AlisterH
c0ca40aebb
add userDescriptionFolder() method
2023-07-06 13:45:15 +10:00
AlisterH
2c006b185d
fix lint errors
2023-07-06 13:45:15 +10:00
AlisterH
f08e5e9469
support grass algorithms in profile folder
2023-07-06 13:45:15 +10:00
Loïc Bartoletti
c298bda614
Update python/plugins/processing/tools/dataobjects.py
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-07-05 06:06:10 +10:00
Loïc Bartoletti
09ac50fd36
move logic to QgsProcessingUtils and create a convenient method resolveDefaultEncoding()
2023-07-05 06:06:10 +10:00
Loïc Bartoletti
9bd8c1298c
Processing: determine and set default encoding from locale
...
A shapefile can have a .cpg file to determine its encoding.
However, in processing, this file is not created when the
encoding is set to the magic "System" value.
This PR aims to propose to automatically determine the system
encoding using QT's codecForLocale.
So, even when using the magic "System" value, the cpg file
will be created with the true system encoding name.
Fixes #50603
2023-07-05 06:06:10 +10:00
ASAI Hitoshi
04952b447e
Add antialias setting to raster tile processing plugin
2023-07-03 10:46:09 +10:00
Andrea Giudiceandrea
5377930242
GRASS: add ext module for v.reclass
...
In order to check that either 'rules' or 'column' parameter is set
2023-07-03 07:36:30 +10:00
Andrea Giudiceandrea
534d9f329d
Fix v.reclass description file
...
Make the 'column' parameter optional
2023-06-30 06:44:56 +10:00
Julien Cabieces
b4613b9839
Fixes #53204 : use setting from registry in processing config ( #53458 )
2023-06-14 10:25:36 +02:00
Nyall Dawson
30acad6819
Cleanup iface signal connections when unloading processing
...
plugin
Fixes #53455
2023-06-14 17:33:47 +10:00
Andrea Giudiceandrea
e450b2d9c5
[grass] r.series: add missing tvalue option
2023-06-13 07:30:04 +10:00
Alexander Bruy
7543fabc91
add "resample" to the list of tags for GDAL's warp algorithm ( fix #49208 )
2023-06-08 08:39:25 +10:00
Alexander Bruy
a84011ecd7
do not raise error in processing algoirthm if map tool previously used
...
by the canvas was destroyed (fix #53294 )
2023-06-08 08:37:17 +10:00
Alexander Bruy
8923c43311
set default value for CRS parameter in Define Shapefile projection
...
algorithm (fix #53309 )
If default value is not set and prameter is not optional its widget end
up in conflicting state: invalid CRS is set but widget requires a valid
one. As a result even if user selects a valid crs, widget fails to
validate selection.
2023-06-08 08:31:30 +10:00
Loïc Bartoletti
9938c594d0
[GRASS] Use -stable link to manuals
2023-06-07 10:00:23 +10:00
Nyall Dawson
b141f2f7b4
Fix grass provider points to out of date help documents
...
Instead of storing the calculated default URL for the help
documentation within the user's profile, make the help
PATH setting an optional override. This avoids the setting persisting
an older help URL when the user's grass installation is
updated to a newer version.
Change the existing setting key to a new one so that the
setting is reset for all users, so that old profile
settings don't apply and override the default.
Fixes #53105
2023-06-06 08:48:05 +10:00