3547 Commits

Author SHA1 Message Date
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
nicogodet
8a5fb3a25e Add -overwrite to gdalwarp permanently 2023-03-29 06:05:11 +10:00
Luke Pinner
aba9dfbcd3
[feature][processing] Add skip/src/dstnodata params to gdal2xyz 2023-03-24 12:17:46 +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
Nyall Dawson
84c3613cf7 [processing] Don't raise uncaught exceptions when trying to generate
GDAL commands for invalid layers

This is a partial fix, which at least removes the uncaught exception.
Ideally we'd gracefully fall back to using the layer's source
(even if it doesn't exist!) in the generated GDAL commands. But that's
far from trivial to do.

Fixes #51958
2023-02-23 20:48:04 +10:00
Etienne Trimaille
fb5ca4c010 Flake8 - Check duplicated definitions for python imports and functions 2023-02-03 08:48:03 +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
Loïc Bartoletti
5e569170c4
Merge pull request #50889 from AlisterH/patch-3
Use more universally recognised extensions for world files
2023-01-16 11:13:21 +01: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
Nyall Dawson
59332bb40d [processing] Fix incorrect GDAL raster calc sources for layers when
the extent handling option is set
2022-12-08 12:06:02 +10:00
Nyall Dawson
f045fa2420 Followup aa590b7, more tolerant progress matching 2022-11-30 08:14:02 +10:00
Nicolas Godet
aa590b7302 Better handling of GDAL progess report 2022-11-29 09:44:42 +10:00
Nicolas Godet
7b80b30c2a Fixes #50963 : Index already passed don't call findText 2022-11-24 08:01:47 +10:00
AlisterH
a53a8fea20
accept code formatting suggestion
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
2022-11-22 13:38:30 +13:00
Loïc Bartoletti
60e2c9874c
Merge pull request #50586 from nicogodet/gdalcalcextent
Add user interface for `--extent` gdalcalc option
2022-11-17 09:54:46 +01:00
AlisterH
3ea934a687
Use .wld if original file extension is too short 2022-11-15 21:12:11 +13:00
AlisterH
41d38250be
Use more universally recognised extensions for world files 2022-11-15 19:14:24 +13: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
nicogodet
94c0998d0f Move all --projwin and --extent checks to getConsoleCommands 2022-10-17 17:53:06 +02:00
nicogodet
126f3b0300 Add --extent option to gdal_calc 2022-10-17 13:55:01 +02:00
Even Rouault
ab7feb6e15 [Processing] Fix typo in smoothing parameter name of gdal_grid algorithms
The correct spelling is 'smoothing' (two o's): https://github.com/OSGeo/gdal/search?q=smoothing
No match with single o: https://github.com/OSGeo/gdal/search?q=smothing
2022-09-26 12:47:31 +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
Andrea Giudiceandrea
78d764e42a GDAL Rasterize: check earlier for parameter validity 2022-02-06 10:01:00 +01:00
Andrea Giudiceandrea
8e4a6d6e8b [processing] GDAL Rasterize: add extent CRS conversion 2022-02-05 12:49:31 +01:00
Andrea Giudiceandrea
98d5eb686e
[processing] GDAL Rasterize: make extent parameter optional
The corresponding -te parameter in gdal_rasterize is optional (if not specified, it defaults to the extent of the input vector layer)
2022-02-05 11:39:59 +01:00
Alexander Bruy
9ba642fa49 don't re-add layer to the temporary store 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
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
Alexander Bruy
1c096ceb52 allow negative values for buffer distance in GDAL buffer algorithm (fix #46667) 2022-01-06 17:53:54 +10:00