Matthias Kuhn
0073ab76e8
Add safety check for field name in StatisticsByCategories
...
So far we would only get a KeyError for -1
2021-04-20 15:13:24 +02:00
Nyall Dawson
e11801d34e
Require Proj version 6 or later, drop old proj 4 compatibility code
2021-02-23 12:47:04 +10:00
Evan Derickson
a366d5b26c
Refactor climb.py
2021-02-20 12:26:00 +10:00
Evan Derickson
ef6799fad4
More append thinning
...
Along with some other loop optimizations
2021-02-20 12:26:00 +10:00
Evan Derickson
0e63799012
Reduce appends
2021-02-20 12:26:00 +10:00
Evan Derickson
dcde81fb1b
Thin out unneeded function calls
2021-02-20 12:26:00 +10:00
Nyall Dawson
f545d13aa6
Bit less noise in Find Projection algorithm
2021-02-08 13:23:39 +10:00
uclaros
43e673a143
Complete points to paths port
2021-01-19 05:09:48 +10:00
nirvn
8a85cae92c
[processing] Add 'thiessen' tag to QGIS' voronoi polygons algorithm
2021-01-13 15:42:06 +10:00
Alex
b686336513
[bugfix] PTP check for output folder. ( #40488 )
...
Fixes #40486
2020-12-22 13:47:03 +10:00
Nyall Dawson
b07a58c028
[processing] Port delete fields algorithm to c++
...
1:1 port for speed/compile time safety, no user-facing changes
Also add tests
2020-11-23 19:20:40 +10:00
Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10:00
Matthias Kuhn
ae565f180a
Fix field type
2020-10-25 07:30:02 +10:00
Matthias Kuhn
be8a69fd9c
Ad hoc check for ORDER_EXPRESSION parameter
2020-10-25 07:30:02 +10:00
Matthias Kuhn
84e2d78d7d
[processing] Clean migration path to new order_expression parameter
2020-10-25 07:30:02 +10:00
Matthias Kuhn
e95b62d9fa
[processing] PointsToPath allow expression for order fields
...
Allows using `$id` as expression for a csv with ordered values
2020-10-25 07:30:02 +10:00
Nyall Dawson
ee7bea2305
[processing] Fix execution of "Eliminate selection" through Python
...
Fixes #38808
2020-10-09 05:17:21 +10:00
Henry Walshaw
1312cfe599
Add square brackets around the saved expression
...
When saving a raster expression the generated expression didn't contain square brackets around the letters used for band identifiers. Sticking with the NDVI example:
```
("NIR@1" - "Red@1") / ("NIR@1" + "Red@1")
```
becomes
```
(a - b) / (a + b)
```
Due to the way the expression is parsed these would not be interactie parameters for the user to set as the parameters requre square brackets around the layer tags. This change simply updates the string replacement to include the square brackets so you would get instead:
```
([a] - [b]) / ([a] + [b])
```
2020-09-14 15:58:38 +10:00
Ivan Ivanov
d32369f5ce
Translate qgis::fieldcalculator to C++ (simplistic UI)
2020-09-11 10:55:12 +03:00
DiGro
4aefe0d65b
Typo corrected. Added one space
...
Line 120 : "FieldPyculator code execute error.Global code block can't be executed!\n{0}\n{1}" " should probably be
"FieldPyculator code execute error. Global code block can't be executed!\n{0}\n{1}" "
Added one space bewteen "error." and "Gobal"
2020-08-20 06:59:48 +10:00
nirvn
d827faa2c8
[processing] Upgrade the sample raster value algorithm to native C++
2020-08-17 12:59:34 +07:00
Matthias Kuhn
6124b5c01f
Apply suggestions from code review
2020-08-15 18:59:50 +02:00
Matthias Kuhn
1c6a0a8f6f
Apply suggestions from code review
2020-08-15 18:59:28 +02:00
MrChebur
92914c5339
Apply suggestions from code review
...
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-08-15 21:56:43 +05:00
Matthias Kuhn
a3c8d6dc29
Update python/plugins/processing/algs/qgis/PointsToPaths.py
2020-08-15 18:55:54 +02:00
MrChebur
e5246da109
Update PointsToPaths.py
...
spaces deleted
2020-08-15 21:50:47 +05:00
MrChebur
660703d696
Apply suggestions from code review
...
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-08-15 21:31:53 +05:00
MrChebur
be613409b4
Update PointsToPaths.py
...
"line" is replaced by "path"
2020-08-15 21:27:30 +05:00
MrChebur
a30635d71e
Update PointsToPaths.py
...
Returned missing spaces
2020-08-15 21:20:51 +05:00
MrChebur
dcc7ff921a
New option added: "Close line"
...
Now this algorithm can check and close the line if necessary.
2020-08-14 18:08:25 +05:00
Nyall Dawson
fd19167c0a
[processing] Show some more warnings when spatial indexes are missing but desirable
2020-07-31 03:07:07 +10:00
Nyall Dawson
68c7cfb65f
Use correct coordinate transform context in Raster Calculator algorithm
2020-07-30 08:26:40 +10:00
Nyall Dawson
0a556a8161
Gracefully handle no project available in context in algorithms
...
where a project is only required in some circumstances
2020-07-30 08:26:40 +10:00
Nyall Dawson
d57a638ec4
Add a processing algorithm flag to indicate that an algorithm requires
...
a valid project to be set in the context in order to execute
And flag a bunch of algorithms which require this
2020-07-30 08:26:40 +10:00
Nyall Dawson
687398415b
[processing] Flag a bunch of algorithms to hide them from qgis_process
2020-07-30 08:26:40 +10:00
Nyall Dawson
b40bfbbf4c
Use direct getters for ellipsoid/units in processing algs
...
Refs #37988
2020-07-30 08:26:40 +10:00
Nyall Dawson
19504adf55
Allow running "Add x/y fields" in place
2020-07-28 14:18:20 +10:00
Peter Petrik
d9f18ccb9c
Fix spelling ( #37849 )
...
fix the spelling errors
2020-07-21 12:51:48 +02:00
Nyall Dawson
48c465e9b5
[processing] Port "Aggregate" algorithm to c++
...
No more silly breakages!
Refs #36843
2020-06-03 15:17:56 +10:00
Nyall Dawson
d5a340f886
[processing] Port aggregates widget wrapper to c++
...
And add a TON of tests
Fixes #36843
2020-06-03 15:17:56 +10:00
Nyall Dawson
4fdfa949cf
[processing] Start porting Aggregates parameters to C++
...
Port parameter type to c++
2020-06-03 15:17:56 +10:00
Nyall Dawson
b4c3acd447
Remove unused file
2020-06-02 08:43:54 +10:00
Nyall Dawson
f0bb647c61
[processing] Add a stable way to get processing widgets to stretch vertically
2020-06-02 08:43:54 +10:00
Nyall Dawson
146094f6b2
[processing] Port field mapper wrapper and widget to c++
...
Fixes #36706
2020-06-02 08:43:54 +10:00
Nyall Dawson
dbe9aa0902
[processing] Port Refactor Fields to c++
...
Having this core algorithm in Python has proved just too unreliable
Refs #36706 , refs #36843
2020-06-02 08:43:54 +10:00
Nyall Dawson
191e362ed4
Move FieldMapper parameter type to c++
...
Fixes sip "forgeting" about Python overrides for the type definition
Refs #36706
2020-06-02 08:43:54 +10:00
Alexander Bruy
072c76747c
fix calculating raster size in the TIN and IDW algorithms to maintain
...
accurate pixel size (fix #31970 )
2020-05-29 11:26:22 +03:00
Alexander Bruy
5d03f2bb99
check return value from the QgsRelief and notify user ( fix #17452 )
2020-05-26 08:37:13 +03:00
Nyall Dawson
5cc0f0964b
Fix resetting fields in Refactor Fields algorithm dialog
2020-05-22 07:14:14 +10:00
Nyall Dawson
169ca650fe
[processing] Fix exception when changing layer in Refactor Fields algorithm
...
Fixes #36582
2020-05-22 07:14:14 +10:00