41162 Commits

Author SHA1 Message Date
Etienne Trimaille
c606abc702 enable custom help in python expressions 2017-08-23 12:00:57 +02:00
Nyall Dawson
8a2cf3f709 Merge pull request #5058 from nyalldawson/processing_fixes
Processing polish
2017-08-23 18:14:32 +10:00
Nyall Dawson
0669167af2 Rename processing 'recently used algorithms' to 'recently used'
Since we show much more than just 'algorithms' here
2017-08-23 17:35:09 +10:00
Nyall Dawson
54e38bcf9e Fix model execution missing from processing history 2017-08-23 17:34:08 +10:00
Nyall Dawson
cb70aad7a3 Fix restricting model algorithm input types to valid types for alg (refs #17030) 2017-08-23 17:34:08 +10:00
Nyall Dawson
4511ea1c12 Add a file selector for file parameters in model algorithms
Makes it more obvious to users that a fixed filename can be
used here
2017-08-23 02:14:30 +10:00
Nyall Dawson
451a3fab26 Reformat code 2017-08-23 02:14:29 +10:00
Nyall Dawson
cdbb57d65f Don't throw python exception when modeler algorithm is missing inputs
Instead use nicer messagebar for feedback. Also fix untranslatable
strings.

Refs #17028
2017-08-23 02:14:24 +10:00
Alessandro Pasotti
83b11d5484 Minor update in the comment 2017-08-22 17:28:38 +02:00
Alessandro Pasotti
35e49ed90a Bump required GDAL version from 2.0 to 2.1
Because we need GDALTranslate()
2017-08-22 17:25:50 +02:00
Nyall Dawson
367aba7059 Rename some processing widget wrappers to better match corresponding c++ classes 2017-08-23 00:16:42 +10:00
Nyall Dawson
c119c286eb Add basic unit tests for constructing processing widget wrappers 2017-08-23 00:13:15 +10:00
Nyall Dawson
9882e4f7bb Fix some inconsistent capitalization in algorithm naming 2017-08-22 23:40:11 +10:00
Nyall Dawson
2a442c7886 Rationalise algorithm groups a bit 2017-08-22 23:36:42 +10:00
Nyall Dawson
8218f35383 Fix use of incorrect icon for algorithm 2017-08-22 23:20:52 +10:00
Nyall Dawson
b62fd51cc2 Don't allow dragging groups in model algorithm tree 2017-08-22 23:16:33 +10:00
Alessandro Pasotti
73fdb25449 Safer handling of GDAL handles and feedback on success 2017-08-22 13:10:20 +02:00
Alessandro Pasotti
ed426204ca I'm eating too much Python (fix a Qt warning for missing arg) 2017-08-22 13:09:20 +02:00
Alessandro Pasotti
384cabd7a5 Geopackage: handle raster drop in the browser 2017-08-22 12:18:12 +02:00
Alessandro Pasotti
13c9e1de01 OGR provider: moved QgsCPLErrorHandler to its own header file
This is being reused in gpkg data items
2017-08-22 12:07:01 +02:00
Alessandro Pasotti
ab2589bc03 Added rasterLayer method 2017-08-22 12:07:01 +02:00
Juergen E. Fischer
ef89a624a1 creatensis.pl: don't require admin rights to create the uninstaller 2017-08-22 09:35:22 +02:00
Matthias Kuhn
f38c032046
[docker] Install bindings to system python path 2017-08-22 08:43:27 +02:00
Matthias Kuhn
23102e3c8e
[docker] Install to /usr prefix 2017-08-22 08:38:25 +02:00
Harrissou Sant-anna
6fd3c1090a Fix wording
Fully write the label because there's enough space + alignment
2017-08-22 07:53:44 +02:00
Harrissou Sant-anna
6e3aba342c Fix Python console web link 2017-08-22 07:51:23 +02:00
Harrissou Sant-anna
3d201e7c65 Delete obsolete context help
already ported to user manual and linked to help button
2017-08-22 07:51:23 +02:00
Alessandro Pasotti
1a42c4fa1f Merge pull request #5055 from boundlessgeo/gpkg-fix-delete-layers
Geopackage: fix crash when deleting raster layers
2017-08-21 23:51:17 +02:00
Matthias Kuhn
b8d2a17476 Port symbols test from ebf20a5 2017-08-21 23:27:34 +02:00
Alessandro Pasotti
4d3c7e558b Geopackage: fix crash when deleting raster layers 2017-08-21 22:43:16 +02:00
Nyall Dawson
a2c9710a2d Followup canvas focus commit 2017-08-22 05:31:37 +10:00
Sandro Mani
a6b0c44ec4 Ensure canvas has focus if nothing else has
Forward port from Sourcepole's fork
2017-08-22 05:31:37 +10:00
Nyall Dawson
4c52607719 Merge pull request #5050 from nyalldawson/algs
Port more QGIS algs to new API
2017-08-22 05:07:41 +10:00
Alessandro Pasotti
2530d9eefe Merge pull request #5051 from boundlessgeo/gpkg-prevent-auto-import
Geopackage: prevent import layer over itself
2017-08-20 19:10:32 +02:00
Alessandro Pasotti
aa69737807 Prevent import layer over itself 2017-08-20 16:33:36 +02:00
Nyall Dawson
bcc662722b Upgrade Convert Geometries algorithm to maintain Z/M, curves were possible 2017-08-20 18:21:03 +10:00
Nyall Dawson
8da29c06b4 Fix test reference file 2017-08-20 18:21:03 +10:00
Nyall Dawson
51f8b1a2bb Port Convert Geometry Type to new API
Includes partial support for Z/M types (values are lost during
conversion, but at least 2d geometries are exported)

TODO: full support for Z/M/curves
2017-08-20 18:21:03 +10:00
Nyall Dawson
4d242c5673 Partial port of raster calculator to new API
TODO: modeler handling
2017-08-20 18:21:03 +10:00
Nyall Dawson
338ee36b1d Port Execute SQL to new API, add test 2017-08-20 18:21:03 +10:00
Nyall Dawson
99fd727bab Fix some issues when creating processing tests 2017-08-20 18:21:03 +10:00
Nyall Dawson
2a6847e030 Port define projection to new API 2017-08-20 18:21:03 +10:00
Nyall Dawson
cfb926a70d Port Find Projection alg to new API
Also modify alg to export a vector table of candidates instead of
a HTML list, since a vector table is more useful inside of
models and can be used for further analysis steps.
2017-08-20 18:21:03 +10:00
Nyall Dawson
a56725f76e Resurrect Python Field Calculator algorithm, add test 2017-08-20 18:21:02 +10:00
Nyall Dawson
6144b1c5d9 Resurrect Field Calculator algorithm, add test 2017-08-20 18:21:02 +10:00
Nyall Dawson
d2a90f40e3 Fix conversion of direct vector layer parameters to python strings 2017-08-20 18:21:02 +10:00
Juergen E. Fischer
f867b65cd2 creatensis.pl: create signed installer 2017-08-20 05:51:05 +02:00
Juergen E. Fischer
bb8203b809 updat splash 2017-08-19 17:39:47 +02:00
Juergen E. Fischer
62d4c55513 add typo to spelling.dat 2017-08-19 14:07:34 +02:00
Juergen E. Fischer
dae6666aa5 translation string fixes 2017-08-19 13:51:43 +02:00