43564 Commits

Author SHA1 Message Date
Alexander Bruy
057ab170da [processing] fix input rasters check 2017-11-09 18:56:44 +02:00
Alexander Bruy
13610f6440 [processing] adopt to changes in extensions handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
dc9f868e08 [processing] fix not initialized variable 2017-11-09 18:56:44 +02:00
Alexander Bruy
1b6b6cdb45 [processing] fix integer numbers handling 2017-11-09 18:56:44 +02:00
Alexander Bruy
2b218cc2b0 [processing] more raster handling fixes in SAGA provider 2017-11-09 18:56:44 +02:00
Alexander Bruy
3822efa7a5 [processing] fix rasters handling in checkParameterValues() 2017-11-09 18:56:44 +02:00
Alexander Bruy
b4214798e9 [processing] infrastructure for SAGA tests 2017-11-09 18:56:44 +02:00
Nyall Dawson
8d91f1f1eb Restore more saga functionality 2017-11-09 18:56:44 +02:00
Nyall Dawson
9ba414394d Convert SAGA ParameterTableField parameters 2017-11-09 18:56:44 +02:00
Nyall Dawson
7953936c90 Update SAGA ParameterMultipleInput parameters 2017-11-09 18:56:19 +02:00
Nyall Dawson
d9ac3772fd Update SAGA ParameterTable parameters 2017-11-09 18:56:01 +02:00
Nyall Dawson
4ac6847bc7 Update SAGA ParameterVector params 2017-11-09 18:55:41 +02:00
Nyall Dawson
6ef4557b2b Update SAGA ParameterSelection parameters 2017-11-09 18:55:12 +02:00
Nyall Dawson
ca0b7a2639 Fix SAGA boolean parameters 2017-11-09 18:54:44 +02:00
Nyall Dawson
178708590d More followups to SAGA raster parameter handling 2017-11-09 18:54:13 +02:00
Nyall Dawson
1fc395b4fa GeoAlgorithmExecutionException -> QgsProcessingException 2017-11-09 18:54:13 +02:00
Nyall Dawson
65faf542e0 Fix excepthook handling in standalone scripts 2017-11-09 18:54:13 +02:00
Nyall Dawson
85b8502444 Fix parsing of saga params 2017-11-09 18:54:13 +02:00
Nyall Dawson
b928cc61fb Update SAGA RasterOuput params 2017-11-09 18:53:02 +02:00
Nyall Dawson
640891ee58 Update SAGA ParameterNumber params 2017-11-09 18:53:02 +02:00
Nyall Dawson
a1300f3d5b Update SAGA ParameterRaster params 2017-11-09 18:53:02 +02:00
Nyall Dawson
eca9bdc3d5 Start porting saga algorithm base to new API 2017-11-09 18:53:02 +02:00
Nyall Dawson
7ad764d625 Fix bad strings in saga description file 2017-11-09 18:53:02 +02:00
Nyall Dawson
571a5ca5f8 Start bringing back saga algs - split RGB bands 2017-11-09 18:53:02 +02:00
Even Rouault
d00efde2f0
Merge pull request #5580 from rouault/fix_QgsRasterFileWriter_geopackage
[GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
2017-11-09 16:24:23 +01:00
Blottiere Paul
022f6cfd21
Merge pull request #5515 from pblottiere/server_bugfix_plusspace
[server][bugfix]  Fixes #17401 by replacing '+' symbol by space
2017-11-09 15:01:40 +00:00
Even Rouault
b9bde10759
Merge pull request #5576 from rouault/wfst10_test_qt5
Re-enable testWFST10
2017-11-09 15:48:19 +01:00
Even Rouault
c3e15f5228 [GDAL provider] in create(), use newly create dataset handle to instanciate the provider (fix #17103)
Previously we created an empty file, close it and re-opened it immediately in open mode.
However for GeoPackage, if you create for example a 1 band or 3 band dataset, upon reopening
you get a 4 band RGBA dataset, due to the fact that GeoPackage doesn't explicitly store the
number of bands. Thus the 4th band (alpha) was never written by the QgsRasterFileWriter logic.
2017-11-09 15:22:41 +01:00
Harrissou Sant-anna
d8a3c67fa5 Constrain the Help button placement
by avoiding the buttonbox expand
2017-11-09 15:09:48 +01:00
Matthias Kuhn
9f65fcd0d9
Merge pull request #5577 from m-kuhn/valuerelref
Fix value() method of relation reference widget
2017-11-09 14:56:57 +01:00
Matthias Kuhn
b1ac56b5bc Fix value() method of relation reference widget 2017-11-09 14:36:12 +01:00
Matthias Kuhn
8abc892ea2 Typo 2017-11-09 14:35:20 +01:00
Even Rouault
426b8dbc46 Re-enable testWFST10 2017-11-09 13:10:42 +01:00
Even Rouault
75c41f5e18 [WFS provider] Fix deadlock when adding WFS layer to project from Python console (fixes #17087) 2017-11-09 12:42:13 +01:00
Matthias Kuhn
032ca68ba3
Merge pull request #5572 from signedav/valuerelationwidget
Value relation widget takes key again instead of value (in Attribute Form)

Fix #17261
2017-11-09 11:11:38 +01:00
Blottiere Paul
7f37e70762 Add test 2017-11-09 09:31:43 +00:00
Blottiere Paul
ac24c4a37e Fixes #17401 by replacing '+' symbol by space 2017-11-09 09:30:14 +00:00
Juergen E. Fischer
1ff50fd59e fix TestQgsFileDownloader::testLacksWritePermissionsError (followup f06ea878) 2017-11-09 09:16:55 +01:00
David
2daae54d16 Attribute Form - value relation widget takes key again instead of value
Corrected: Value relation widget update incorrectly tries to use value instead of key

The mapped key has to be set in the return value (not the input value).
In the release-2_18 the key was returned correctly but in another structure. So this is corrected now.
2017-11-09 08:46:26 +01:00
Mathieu Pellerin
0ccf6fa171
Fix Z and M support for add point feature (fixes #17427) 2017-11-09 12:36:22 +07:00
Nyall Dawson
ba62ffce2c Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Matthias Kuhn
61b2f74aae Do not assume edit widget value changes on every signal
Widgets may on initialisation send out a notification that the value changed (from invalid to something sensible).

The attribute form should however only tell the rest of the world, that a value changed if the new value doesn't
correspond to the one in the cached QgsFeature.

Fix #17425
2017-11-09 02:18:11 +01:00
Matthias Kuhn
dca0dc1dd5 Fix crash when removing layers from running transactions
qobject_cast no longer works when the QObject::destryed signal is being emitted
2017-11-09 02:17:39 +01:00
Matthias Kuhn
78622b4816
Merge pull request #5568 from m-kuhn/postgresDefaultValues
[postgres] Fix default value check if evaluated server side
2017-11-09 01:46:30 +01:00
Matthias Kuhn
b18c891dfc [postgres] Fix default value check if evaluated server side 2017-11-09 01:19:35 +01:00
Nyall Dawson
cab807dc30
Merge pull request #5426 from medspx/ProcessingPortGrass72
[Processing] Port GRASS 7.2 algorithm provider
2017-11-09 06:42:38 +10:00
Matthias Kuhn
e1ffb2826b QgsHighlight improvements
* Doxygen improvements
* Fix unrequired casting
* Remove unrequired contructor
2017-11-08 21:17:00 +01:00
Matthias Kuhn
d79ac26fda
Fix build warning 2017-11-08 17:50:59 +01:00
Matthias Kuhn
140b9568b9
Merge pull request #5467 from signedav/propertieslayout
Propertieslayout Fields And Forms Redesign
2017-11-08 17:46:11 +01:00
David
0ba8f97979 no +/- buttons when not needed and some graphical finetuning
scroll area for attribute type config, but no scroll area for whole tab
set attribute type config to invisible when a container box is selected
2017-11-08 16:53:04 +01:00