40517 Commits

Author SHA1 Message Date
Nyall Dawson
e8d667cac3 Allow testing of layer equality without throwing asserts
Sometimes in tests it's required to check for layer equality without
aborting in case of mismatches
2017-08-05 17:51:38 +10:00
Nyall Dawson
5d635d190d Allow list of acceptable raster hashes for processing algorithm tests
Differences in gdal libraries mean the hash value may differ between
platforms. Allow multiple acceptable hashes to be listed for
expected test results
2017-08-05 17:51:38 +10:00
Nyall Dawson
03bae593bb Port Eliminate Selection to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
7132faa974 Port Topocolor algorithm to new API 2017-08-05 17:51:38 +10:00
Nyall Dawson
ec4df6c019 Port points to path to new API
Improvements:
- Maintain Z/M values
- Keep original data type for group/order fields
- Group field is optional
- Added unit tests
- Don't export text files for features by default
2017-08-05 17:51:38 +10:00
Nyall Dawson
b4b39996d2 Port hub lines algorithm to new API
Improvements:
- transparent reprojection to match hub/spoke CRS
- keep all attributes from matched hub/spoke features
- don't break after matching one hub point to spoke - instead
join ALL hub/spoke points with matching id values
2017-08-05 17:51:38 +10:00
Nyall Dawson
e0354456e3 Port Hub Distance (lines) to new API
Improvements:
 - handle different CRS between points and hubs
 - add unit test
2017-08-05 17:51:38 +10:00
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
Nyall Dawson
16629b406b Register QgsFeatureIds metatype
Fixes warnings when using signals which use this type, like
QgsVectorLayer::selectionChanged
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
Denis Rouzaud
5e2b17af9f Update .agignore 2017-08-04 23:03:04 +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
Alessandro Pasotti
34ef954edc Merge pull request #4956 from jgrocha/profilemenu
Fix #16970 (related to PR#4184)
2017-08-04 21:32:44 +02:00
Juergen E. Fischer
21653c0df8 packaging update: include libzip 2017-08-04 20:55:01 +02:00
Andreas Neumann
c3ae3bfc74 Added new help files to the expression function groups of Arrays and Maps 2017-08-04 20:30:37 +02:00
Juergen E. Fischer
cfaa8f0c8c translation string fix 2017-08-04 18:11:52 +02:00
Andreas Neumann
aaac8bd446 Merge pull request #4957 from andreasneumann/master
Correct help of expression array_remove_all
2017-08-04 17:53:12 +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
Andreas Neumann
c2138ca4bd Correct help of expression array_remove_all 2017-08-04 16:25: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
Jorge Gustavo Rocha
511521ff2b Fix #16970 (related to PR#4184) 2017-08-04 14:10:53 +02: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
aad566eb31 [processing] tests for new band parameter 2017-08-04 12:12:22 +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
Matthias Kuhn
3c58599bd1 Remove what's this button 2017-08-03 13:59:52 +02:00
Nyall Dawson
97527466ab Fix tiny marker and ellipse symbol preview icons on HIDPI screens 2017-08-03 17:54:16 +10:00
Nyall Dawson
820e3422c8 Remove invalid return from API doc, remove some redundant inclusions 2017-08-03 06:46:41 +10:00
Nyall Dawson
fa1d2be25f Fix broken strings in expression function help 2017-08-03 04:47:50 +10:00
Nyall Dawson
dfac99626b Fix always disabled layout extent decoration widget 2017-08-03 01:05:09 +10:00
Nyall Dawson
082dafe22d Fix infinitely growing widgets
Fixes #16849
2017-08-03 00:46:33 +10:00
Nyall Dawson
a0010a1d9e Merge pull request #4949 from lbartoletti/inclination_help
add missing help for inclination
2017-08-02 18:04:02 +10:00
Nyall Dawson
1887cfffa8 Only grab tap-and-hold gestures on Android
We don't want to capture these on desktop environments - it
messes with dropdown menus and other click and drag type operations
2017-08-02 17:55:06 +10:00
lbartoletti
d88a7f4198 add missing help for inclination 2017-08-01 21:48:03 +02:00
Alexander Bruy
c373c8b32e Merge pull request #4948 from alexbruy/processing-raster
[processing] restore and improve some raster algorithms
2017-08-01 16:01:24 +03:00
Alexander Bruy
79adad7c8c indentation 2017-08-01 15:25:02 +03: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