Blottiere Paul
385fedd232
Add safeguard to all gdal algorithms
2023-10-19 13:31:42 +02:00
Blottiere Paul
9df62b90f3
Raise error in case if invalid parameter in batch mode
2023-10-17 15:32:54 +02:00
Blottiere Paul
9c8475e5b1
Add safeguard for -of option
2023-10-17 15:32:54 +02:00
Alexander Bruy
edaa3dda96
update vector menu links to processing algorithms ( fix #54937 )
2023-10-16 05:04:34 +10:00
Denis Rouzaud
c76b86e26b
move enum QgsMapLayerProxyModel::Filter to Qgis ( #54891 )
2023-10-11 13:57:01 +02:00
Alexander Bruy
a0fc443b5b
add test files
2023-10-09 12:14:20 +02:00
Alexander Bruy
e3023455ca
use run() to execute nested algorithms
...
move step calculation to prepareAlgorithm to avoid crash
disable tests for native implementation
2023-10-09 12:14:20 +02:00
Alexander Bruy
a4e473392c
concave hull tests based on geos version
2023-10-09 12:14:20 +02:00
Alexander Bruy
17426302ff
address review
2023-10-09 12:14:20 +02:00
Alexander Bruy
d18190ce4f
make cppcheck happy
2023-10-09 12:14:20 +02:00
Alexander Bruy
514e8b5b24
use geos to calculate concave hull on systems with geos >=3.11.0
2023-10-09 12:14:20 +02:00
Alexander Bruy
5ad4119b19
another attempt to fix test
2023-10-09 12:14:20 +02:00
Alexander Bruy
5097992445
try to fix tests
2023-10-09 12:14:20 +02:00
Alexander Bruy
61b69179af
[processing] port concave hull algorithm to C++
2023-10-09 12:14:20 +02:00
Alexander Bruy
451d1ba5ce
[processing] port delaunay triangulation algorithm to C++
2023-10-09 12:14:20 +02:00
Alexander Bruy
d8243141cc
[processing] port voronoi polygons algorithm to C++
2023-10-09 12:14:20 +02:00
Sandro Santilli
bcf83c17b6
Do not pass -projwin to gdal_translate when given rectangle is Null
...
Update testcase accordingly
2023-10-08 22:40:25 +02:00
Nyall Dawson
33bb769b91
Cleanup Execute SQL geometry type handling
...
And fix exception when "no geometry" type is selected
Fixes #54833
2023-10-05 14:54:41 +10:00
Nyall Dawson
7b93febd79
Geometry type should not be optional in Execute SQL algorithm
...
Instead it should just default to Autodetect
Given how the algorithm uses this parameter this change does not
result in any difference to scripts/etc running this tool, as
before/after this change the algorithm will use Autodetect mode
when the parameter isn't specified explicitly.
This just avoids the confusing situation where both "Not specified"
and "Autodetect" were exposed as options for the geometry type
parameter in the UI, with both having the same result.
2023-10-05 14:54:41 +10:00
Nyall Dawson
0a11e3da2c
Fix strings
2023-10-05 14:54:41 +10:00
Juergen E. Fischer
a0c3d67911
Don't install CMakeLists.txt
2023-10-02 11:44:34 +02:00
Alexander Bruy
373d5f8654
Merge pull request #54035 from alexbruy/processing-port-raster-calculator
...
Port Raster Calculator algorithm to C++
2023-09-30 10:12:55 +03:00
Nyall Dawson
25fc01542a
Port Join Attributes by Location (summary) to c++
...
Refs #53806
The crash here is coming from sip internals -- somewhere it is
triggering a Python SystemError. I can't solve this one, so just
port the algorithm to c++ and deal with the much improved performance
instead.
2023-09-29 19:11:46 +10:00
Nyall Dawson
8793e659a1
Apply suggestions from code review
2023-09-29 11:31:17 +10:00
Andrea Giudiceandrea
1a638ef265
[GRASS] Fix QgsProcessingParameterNumber in grass7.txt
2023-09-29 11:02:04 +10:00
Alexander Bruy
3c1f510115
add modeler support and deprecate Python implementation
2023-09-25 14:14:42 +03:00
Alexander Bruy
0e7ab1d29f
add tests for GDAL algorithms
2023-09-22 09:40:49 +10:00
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