1599 Commits

Author SHA1 Message Date
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
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
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
Alexander Bruy
3c1f510115 add modeler support and deprecate Python implementation 2023-09-25 14:14:42 +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
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
Alexander Bruy
b36b4d3e1b port XYZ tiles algorithms 2023-08-23 16:08:17 +03: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
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
ASAI Hitoshi
04952b447e Add antialias setting to raster tile processing plugin 2023-07-03 10:46:09 +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
Etienne Trimaille
9e8364a271
Python - Use some format function for translations 2023-04-25 09:43:54 +02:00
Alexander Bruy
1c1e46029a address review 2023-04-25 05:41:04 +10:00
Alexander Bruy
a44bfaceef use threads number setting in algorithms which support multiple CPUs 2023-04-25 05:41:04 +10:00
Matthias Kuhn
283a8f5697
Merge pull request #52873 from Gustry/processing-update 2023-04-24 16:38:49 +02:00
Etienne Trimaille
3cab3c43a2
Python - Run pyupgrade on the processing plugin 2023-04-24 10:03:57 +02:00
Nyall Dawson
618c525691 Update python/plugins/processing/algs/qgis/TilesXYZ.py 2023-04-24 17:31:34 +10:00
Sebastian Gutwein
3d6e1e513d Set extent CRS to Project CRS
Tiles creation assumed extent crs was the same as project crs this pr adds a transform to get it to work if that is not the case.
2023-04-24 17:31:34 +10:00
Nyall Dawson
30598b9ad9 Pass QgsProcessingContext on to all processing functions which
generate temporary file names
2023-03-21 03:50: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
pathmapper
64e001e406 Improve parameter names
Adress code review comment:
https://github.com/qgis/QGIS/pull/51522#discussion_r1083693553
2023-01-24 10:08:08 +10:00
pathmapper
f15ef4547b Add some options for Leaflet html output 2023-01-24 10:08:08 +10:00
Clemens Korner
e1032d541a
Fix: #49145 Distance to nearest hub exception when No destination hubs 2023-01-11 10:25:48 +10:00
pathmapper
111b5a7c6d Small adjustments 2023-01-09 12:03:50 +10:00
pathmapper
0e533cda96 Make attribution more informative and translatable 2023-01-09 12:03:50 +10:00
pathmapper
9bcce8d9c7 Remove optional Leaflet attribution prefix 2023-01-09 12:03:50 +10:00
pathmapper
361faa9224 Update Leaflet to latest release 2023-01-09 12:03:50 +10:00
Nicolas Godet
7b80b30c2a Fixes #50963 : Index already passed don't call findText 2022-11-24 08:01:47 +10:00
Ondřej Holešovský
854598d3b9 TilesXYZ.py - setTransformContext before rendering
Set transform context in QgsMapSettings before rendering tiles in order to respect all the desired CRS transformations configured in QGIS project settings.
2022-10-23 10:41:38 +10:00
Germán Carrillo
e9fd5f1fe5 [processing] Harmonize tags in processing algorithms related to error finding and fixing 2022-08-22 11:16:07 +10:00
Zayne Tomlins
3f20c88a62 Fixed lint issue with unit tests 2022-08-01 12:35:58 +10:00
Thomas Stocker
a3a34e0de0
Enable Journal Wal, increase Timeout use only sqlite transaction (#49090)
Fixes Multithreading issues with Mbtile Creation on slow disks and or Machines with a lot of threads.

Fixes #47738
2022-06-22 09:50:56 +10:00
Jan Caha
061a96a9e7 fix missing bracket 2022-05-07 06:53:08 +10:00
Jan Caha
ab16477158 fix line break 2022-05-07 06:53:08 +10:00
Jan Caha
46dd681fd5 fix widget data reading - i.e. from History 2022-05-07 06:53:08 +10:00
Germán Carrillo
20dfa3c038 UI: Make sure users cannot enter values that are lower than the minimum value allowed in 'points displacement' algorithm 2022-03-29 06:22:14 +10:00
Nyall Dawson
ef85926a5d Correctly raise exceptions from XYZ tiles algorithm threads, and fix Python 3.10 compatibility 2022-02-14 16:20:55 +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
Clemens Raffler
4c2e96aad4
[feature] Port Export to PostgreSQL algorithm to C++ 2021-11-11 08:10:36 +10:00
Harrissou Sant-anna
ab42fbbda6 Relabel the geometric predicate option
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-11-05 09:51:27 +11:00
Harrissou Sant-anna
7a2ae423ed Relabel "join by location..." algorithms inputs 2021-11-05 09:51:27 +11:00