5520 Commits

Author SHA1 Message Date
Giovanni Manghi
75a1ad1e7b implement few suggested changes 2019-11-05 12:44:43 +10:00
Giovanni Manghi
b31c4124f4 revive the GDAL 'rasterize over' tool that was available in the old ltr and for some reason not activated/added in QGIS 3 2019-11-05 12:44:43 +10:00
Juergen E. Fischer
002d3986d5 translation string fix 2019-11-03 19:00:08 +01:00
Alexander Bruy
3701d360a1 remove unused variable
fix tests
2019-11-03 21:25:52 +10:00
Giovanni Manghi
74d6e099e6 fix gdal calc compression options 2019-11-03 21:25:52 +10:00
Alexander Bruy
094359f7b2 [processing] allow to select files without suffix in the Processing
options dialog
2019-10-28 11:07:57 +02:00
Giovanni Manghi
414807a74f fix typo 2019-10-26 21:14:37 +10:00
Giovanni Manghi
76bc160612 change v.voronoi description 2019-10-26 21:14:37 +10:00
Giovanni Manghi
0fee816414 fixes again GRASS7 v.voronoi 2019-10-26 21:14:37 +10:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
Giovanni Manghi
150d6ce33f add missing file 2019-10-26 08:31:28 +10:00
Giovanni Manghi
890ec4abbe re add original tool to avoid brekaing models 2019-10-26 08:31:28 +10:00
Giovanni Manghi
f03b4f72dd update decorator names for SAGA reclass tools 2019-10-26 08:31:28 +10:00
Giovanni Manghi
c1df3a07dc change default for some parameters 2019-10-26 08:31:28 +10:00
Giovanni Manghi
4a83cb9008 split SAGA reclass raster values in order to improve UX 2019-10-26 08:31:28 +10:00
Giovanni Manghi
c3c750a749 fix wronng paste 2019-10-26 08:13:09 +10:00
Giovanni Manghi
b57229b944 fix SAGA Slope, Aspect, Curvature 2019-10-26 08:13:09 +10:00
root676
2221bcad6a remove old python algorithm and helpstrings 2019-10-26 06:43:32 +10:00
root676
ccc7566bf1 Port of Densify Geometries by Count algorithm to C++ 2019-10-26 06:43:32 +10:00
Sandro Santilli
76b39de1b8
Add ENABLE_SAGA_TESTS cmake config, default to off, enable in ci (#32199)
* Add ENABLE_SAGA_TESTS cmake config, default to off, enable in ci

Closes #32143

* Update python/plugins/processing/tests/CMakeLists.txt

Co-Authored-By: Harrissou Sant-anna <delazj@gmail.com>
2019-10-11 11:26:33 +02:00
Clemens Raffler
9e9ade3903 [processing] Port of Create Grid algorithm to C++
MUCH faster grid creation vs the Python implementation
2019-10-10 09:33:59 +10:00
Nyall Dawson
023ba1968e [processing] Drop precision of attribute check for create grid test results 2019-10-10 08:55:20 +10:00
ThiesVanLoon
93a52b47f7 Bug fix resolving issue 32172
The 'upload' parameter value 'to_attr' should not involve a closing bracket

https://github.com/qgis/QGIS/issues/32172
2019-10-09 13:39:34 +02:00
Nyall Dawson
3112332227 Rename variable for clarity 2019-10-09 15:01:51 +10:00
Nyall Dawson
cb06519d16 [api] Add API to indicate that individual layers may be loaded without any
CRS validation, regardless of the user's settings

This avoids hacks put in place in other parts of QGIS code or in plugins
to temporarily deactivate the CRS validation prompt, providing a supported,
stable method to indicate that when loading a particular layer no CRS
validation is required.
2019-10-09 15:01:51 +10:00
Alexandre Neto
54d3c64c19 Update tests 2019-10-07 09:07:45 +10:00
Alexandre Neto
28b24bda51 Better approach for preferredFormat 2019-10-07 09:07:45 +10:00
Alexandre Neto
6918f230b8 Checks is gpkg is available for writing 2019-10-07 09:07:45 +10:00
Alexandre Neto
9f3ed88145 Makes GPKG prefered input format for OGR algs #Fixes 29097 2019-10-07 09:07:45 +10:00
Giovanni Manghi
c7e4130140 make the A_SRS parameter optional 2019-10-02 08:11:15 +10:00
Nyall Dawson
196e15a0ff [processing] Avoid confusing use of expression parameter type in
Random Points in Polygon algorithm

Instead, use a standard numeric parameter which accepts data-defined
expression values

Fixes #27640
2019-09-30 16:58:15 +10:00
Nyall Dawson
a49edf1f25 [processing] Make minimum distance between points in "Random Points in polygon"
algorithm optional

And don't do any unnecessary index work when it's not set. Shaves roughly 1/3rd
off the time of algorithm execution.
2019-09-30 16:58:15 +10:00
Andrea Giudiceandrea
7903889f54 Modeler: Set default action to Export as Script Algorithm
otherwise the button tooltip is not shown
2019-09-30 09:48:30 +10:00
Nyall Dawson
f32d6fdcf2 [processing] Highlight row_number variable in batch expression editor 2019-09-26 20:46:38 +10:00
Alexander Bruy
4df50691bc
Merge pull request #31901 from alexbruy/fix-29336
[processing] correctly handle case when layer source is not a plain path (fix #29336)
2019-09-24 15:03:43 +03:00
Nyall Dawson
90bac82f12 [needs-docs][processing] Respect user set default vector output format
in vector split algorithm

The created outputs will now be created using the format specified from
the Processing setting default vector format setting.
2019-09-24 16:50:22 +10:00
Nyall Dawson
cfcf580b61 [processing][needs-docs] Resurrect setting for default raster/vector
output format

This setting is still used and required in some circumstances, e.g.
it is used as the default selection in outputs file pickers when
the previously used format is not valid.
2019-09-24 16:50:22 +10:00
Nyall Dawson
08c55780b3 Followup cbc86ffc1ac
Fix exceptions, breakage of raster output format handling
2019-09-24 16:49:57 +10:00
Alexander Bruy
78a289348a use html.escape to escape strings 2019-09-24 09:27:29 +03:00
Alexander Bruy
20583a8004 use GDAL connection string to support not only file-based layer but also
database and WFS
2019-09-23 11:53:19 +03:00
Alexander Bruy
dceabb0e29 use another approach for test 2019-09-23 11:53:19 +03:00
Alexander Bruy
3c13fbfeb5 [processing] correctly handle case when layer source is not a plain path
in the virtual vector algorithm (fix #29336)
2019-09-23 11:53:19 +03:00
Matthias Kuhn
54dda46e85
Merge pull request #31899 from paulwittle/master
Update general.py
2019-09-20 18:48:10 +02:00
Alexander Bruy
0c4f826039 [processing] add missed import 2019-09-20 12:59:33 +03:00
Paul Wittle
be25b2e392 Update general.py
Correction of error return type from bool to None (as per comments). This is to resolve unexpected exception messages when algorithm is not found.
2019-09-20 09:27:30 +01:00
Alexander Bruy
27b576c794
Merge pull request #31735 from alexbruy/fix-29663
[processing] add support for WFS as input (fix #29663)
2019-09-17 15:54:48 +03:00
Alexander Bruy
c7c91de52e fix tests 2019-09-17 08:32:01 +03:00
Even Rouault
cbc86ffc1a
Processing: disable 'open output layer' for write-only formats such as PGDUMP (relates to #31421) 2019-09-16 18:25:16 +02:00
Alessandro Pasotti
04f0879ed5 Processing editing in place: handle constraints
Fixes #31634
2019-09-16 10:41:58 +10:00
Alexander Bruy
af77d68716 return only base URL as connection string
adopt ogrinfo and ogrtabletopostgis algorithms so they can work with WFS
2019-09-13 11:11:53 +03:00