10119 Commits

Author SHA1 Message Date
Nyall Dawson
fc1746e770 Port Hub Distance (points) to new API
Improvements:
- handle different CRS between points and hubs
- add unit test
2017-08-05 17:51:38 +10:00
Nyall Dawson
0930e18bf9 Add tests for gridify 2017-08-05 17:51:38 +10:00
Nyall Dawson
591de92b07 Port gridify to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
54be720485 Port grid lines to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
7ab82444f1 Port random selection algorithms to new API
And heavily optimise random selection within subsets alg
2017-08-05 17:51:38 +10:00
Nyall Dawson
a64d199e6f [processing] If an error occurs while running an algorith, always
keep the algorithm dialog open after execution

Otherwise it's hard to see the error - you have to know to check
the python log. Keeping the dialog open at the log makes the
error immediately visible to the user
2017-08-05 17:51:38 +10:00
Alessandro Pasotti
04059ebccf Merge pull request #4962 from boundlessgeo/unified-layer-dialog-mods
Unified layer dialog mods
2017-08-04 23:03:51 +02:00
Nyall Dawson
bf7abdea76 Followup 69a25d 2017-08-05 06:53:19 +10:00
Nyall Dawson
79a095cb69 Revert "translation string fix"
Causes 'AlgorithmDialog' object has no attribute 'trUtf8' error when
trying to launch processing algorithms
2017-08-05 06:50:52 +10:00
Nyall Dawson
69a25d0f43 Add initial test suite for processing algorithm dialog 2017-08-05 06:48:23 +10:00
Alessandro Pasotti
fef3bc099d Renamed button slots and make ogr dialog inherit from the abstract base 2017-08-04 22:06:07 +02:00
Juergen E. Fischer
cfaa8f0c8c translation string fix 2017-08-04 18:11:52 +02:00
Alessandro Pasotti
dc6017dc1d Move the buttons and connections into the base class
This was a small refactoring to homogenize the
dialogs buttons and add an Ok/Add button bar.
2017-08-04 17:43:23 +02:00
Alexander Bruy
f96442884b Merge pull request #4954 from alexbruy/processing-band
[FEATURE][needs-docs][processing] add parameter representing raster band
2017-08-04 15:17:49 +03:00
Matthias Kuhn
b20f4c6729 Merge pull request #4845 from pblottiere/zip
[FEATURE] New zip format
2017-08-04 13:46:24 +02:00
Alexander Bruy
9fe326dee2 [processing] more consistent naming for class members, setters and
getters
2017-08-04 13:21:26 +03:00
Alexander Bruy
7c706d23ce [processing] adapt algorithms to use new band parameter 2017-08-04 11:36:41 +03:00
Alexander Bruy
49bfe69823 [processing] add parameter representing raster band 2017-08-04 11:27:35 +03:00
Nyall Dawson
820e3422c8 Remove invalid return from API doc, remove some redundant inclusions 2017-08-03 06:46:41 +10:00
Nyall Dawson
082dafe22d Fix infinitely growing widgets
Fixes #16849
2017-08-03 00:46:33 +10:00
Alexander Bruy
27f4d42b23 [processing] remove unused code 2017-08-01 14:52:25 +03:00
Alexander Bruy
14435907f6 [processing] adopt algs to use new API call to retrieve GDAL driver 2017-08-01 14:52:25 +03:00
Alexander Bruy
0476d4e2da [API] method to retrieve corresponding GDAL driver from a file
extension
2017-08-01 14:52:25 +03:00
Alexander Bruy
fef93fc751 [processing] limit pixel size values 2017-08-01 14:52:25 +03:00
Alexander Bruy
1f276a12bf [processing] port raster layer statistics 2017-08-01 14:52:25 +03:00
Alexander Bruy
fa0bb2e6dc [processing] improve Create constant raster algorithm 2017-08-01 14:52:25 +03:00
Nyall Dawson
0328b7af48 Merge pull request #4943 from nyalldawson/exp_layer_rel
Add items for project map layers and relations to expression builder
2017-08-01 19:30:58 +10:00
Blottiere Paul
86c63a15b6 Set an attribute as private instead of protected 2017-07-31 11:09:15 +01:00
Blottiere Paul
74b3823278 Update sip binding 2017-07-31 11:09:15 +01:00
Blottiere Paul
d551f9b90d Update documentation for QgsProjectArchive 2017-07-31 11:09:15 +01:00
Blottiere Paul
a7959b777a Update sip binding 2017-07-31 11:09:14 +01:00
Blottiere Paul
1d8574e436 Temporary .qgs files are deleted 2017-07-31 11:09:14 +01:00
Blottiere Paul
576afe5aa3 Add a QgsProjectArchive class to keep QgsArchive generic 2017-07-31 11:09:14 +01:00
Blottiere Paul
75811ef76b Update documentation and sip binding 2017-07-31 11:09:14 +01:00
Blottiere Paul
f155030e63 [FEATURE] Add the possibility to save/open a project in .qgz 2017-07-31 11:09:14 +01:00
Blottiere Paul
86389d185c [FEATURE] Project may be zipped/unzipped 2017-07-31 11:09:14 +01:00
Blottiere Paul
7c85b200e6 Add utilities functions for zip support 2017-07-31 11:09:14 +01:00
Matthias Kuhn
1da9c607c9
[MetaSearch] Make dialog element size dynamic 2017-07-31 10:09:03 +02:00
Matthias Kuhn
3dc6daaffa
Fix typo 2017-07-31 09:35:28 +02:00
Nyall Dawson
917263a9a3 Allow setting project for QgsExpressionBuilderWidget
(still defaults to QgsProject::instance())
2017-07-31 08:18:09 +10:00
Nyall Dawson
e79bf3fb94 Add some unit tests for QgsExpressionBuilderWidget 2017-07-31 08:08:18 +10:00
Matthias Kuhn
b262604f7a
Add missing import 2017-07-30 22:42:57 +02:00
Matthias Kuhn
3ce6fcd31d
Even more endless hourglass avoidance 2017-07-30 22:36:51 +02:00
Matthias Kuhn
8473df562f
More endless hourglass protection 2017-07-30 22:18:25 +02:00
Matthias Kuhn
4b6b8434f4
Avoid endless wait cursors in console 2017-07-30 21:53:41 +02:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors 2017-07-30 21:51:22 +02:00
Nyall Dawson
e8290928dd Port Variable distance buffer to new API
Improvements:
- add cap style/join style/ miter limit setting from fixed distance buffer
2017-07-28 14:10:48 +10:00
Nyall Dawson
5763381cbd Port fixed distance buffer to new API 2017-07-28 13:58:52 +10:00
Nyall Dawson
e53a14a23e Port Convex Hull alg to new API
Improvements:
- slight optimisation to feature requests - don't request attributes
which are not used
- Remove "method" param. Now the decision to group by field or
not is made only on whether a class field was selected or not
2017-07-28 13:27:52 +10:00
Nyall Dawson
c5cb3df15b Port singlepart to multipart to new API, fix disabled test 2017-07-28 12:42:40 +10:00