Nyall Dawson
572dadab01
Remember window geometry in multi input dialogs
2017-08-05 17:51:38 +10:00
Nyall Dawson
a1f487d679
Add alternate reference layer for points to path algorithm
2017-08-05 17:51:38 +10:00
Nyall Dawson
c2559d8273
Add second reference layer for topocolor algorithm
2017-08-05 17:51:38 +10:00
Nyall Dawson
9968962ab9
Allow specifying multiple possible vector layer results for processing
...
tests
Some algorithms are non-deterministic and the results may vary from
run to run. In this case we allow specifying multiple possible valid
results, and the test will pass if the result layer matches any of these.
2017-08-05 17:51:38 +10:00
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
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