5889 Commits

Author SHA1 Message Date
Nyall Dawson
a665b7d72e Don't crash when using raster calculator with huge raster (refs #13336)
Now we abort and advise the user if insufficient memory is available
to perform the calculation.

At some future stage it would be nice to perform the calculations
in blocks to allow this scenario, but for now it's better not to
crash.
2016-01-27 10:48:12 +11:00
Sebastian Dietrich
560007846a [DbManager] allow to delete materialized views
(refs #13829)
2016-01-27 00:28:22 +01:00
Sebastian Dietrich
990261331d [DbManager] give materialized views their own icon 2016-01-27 00:28:22 +01:00
Sebastian Dietrich
50878114a7 [DbManager] fetch type of view (materialized or not) and show in info
(refs #13829)
2016-01-27 00:28:22 +01:00
Nyall Dawson
3744ac2fc4 Fix categorised renderer does not store changes to the source symbol
Avoids the frustrating situation where changes to a symbol in the
categorised renderer are lost when the layer properties window
is reopened

Also improve docs and fix a leak in the Python bindings
2016-01-27 09:58:47 +11:00
volaya
99b9a495b8 [processing] fixed autodetection of grass folder
Fix provided by Stefan Blumentrath
2016-01-26 19:43:06 +01:00
Alexander Bruy
beaa45e557 Merge pull request #2705 from SebDieBln/FixVectorGridLock
[fTools] restore 1:1 ratio when checking 'Lock 1:1 ratio' checkbox
2016-01-26 13:10:58 +02:00
Nyall Dawson
24d9c65494 Fix more classes which violate the rule-of-three
Also remove some empty destructors
2016-01-26 14:24:45 +11:00
Martin Dobias
492c1a9ff0 Improve documentation for renderer registry metadata (refs #13973) 2016-01-25 18:16:32 +01:00
Martin Dobias
83eed1109c Improve renderer class documentation (refs #14025) 2016-01-25 18:16:32 +01:00
Matthias Kuhn
b5ee06dc28 Merge pull request #2702 from alexbruy/styles-bindings
fix SIP bindings for listStylesInDatabase() method (fix #11210)
2016-01-25 17:39:20 +01:00
volaya
73bef58470 [processing] correctly initialize lastools settings before loading algs 2016-01-25 10:12:04 +01:00
Nyall Dawson
39e1f68ccc Fix filtering legend content by map when renderer contains
duplicate symbols (fix #14131)

Now, we don't test for map content using the symbols but instead
use the legend key during the hit test
2016-01-25 14:43:54 +11:00
Juergen E. Fischer
ae52aabd70 more spelling fixes 2016-01-24 20:16:28 +01:00
Nyall Dawson
8ad6ca08fe Fix some memory leaks identified by Coverity
Also improve the API for QgsExpressionContextUtils::updateSymbolScope
Previously it was hard to predict if the method would create storage,
which caused issues for the python bindings (eg, they had a choice of
either leaking or being crashy).
2016-01-24 15:17:17 +11:00
Salvatore Larosa
8346601174 [processing] remove unused code: followup e7e8451 2016-01-23 15:03:34 +01:00
Alexander Bruy
9193d8f5a0 [processing] drop GdalScriptAlgorithm as it is not used
Also remove OgrAlgorithm base class at it almost completely duplicates
GdalAlgorithm class. All affected algorithms updated accordingly.
2016-01-22 15:47:20 +02:00
Nyall Dawson
69ce55998e Fix some oddities in server access control and bindings (refs #13919) 2016-01-22 18:48:57 +11:00
Nyall Dawson
752f6bd150 Fix classes which violate rule of three, by implementing required
copy/= operators or making them private

This revealed (and fixes) some issues, including a potential crash
using server access control (refs #13919), and a potential crash with
diagrams
2016-01-22 18:45:45 +11:00
Matthias Kuhn
8d72f13a57 [25d] Improve convertability to other layers
* Move height and angle expressions for 2.5D renderer to layer
 * Apply color based on main symbol color

This makes the transition to other renderers easy.

Fixes #14132
2016-01-21 22:37:51 +01:00
Juergen E. Fischer
4d2c10800d typo fixes 2016-01-21 22:22:39 +01:00
Nyall Dawson
4fb6b67bf9 astyle fix 2016-01-22 06:57:35 +11:00
Alexander Bruy
c7231c3703 remove unused code 2016-01-21 20:02:45 +02:00
Alexander Bruy
cf02a71bb0 get rid of multiple inheritance, fix missed import 2016-01-21 17:56:48 +02:00
Alexander Bruy
fe2bb2f09f [processing] take in account vector subsets when clipping raster (fix #11972) 2016-01-21 16:24:33 +02:00
Alexander Bruy
085c12e924 [fTools] use QErrorMessage for long errors (fix #11810) 2016-01-21 16:24:33 +02:00
Jürgen Fischer
72a1e7eeb5 Merge pull request #2708 from boundlessgeo/postgis-pki-fix
[auth][db_manager] fix uri expansion on importing layer
2016-01-21 11:59:40 +01:00
Nyall Dawson
c38ee41f5b Fix rendering of CurvePolygons without curved segments (fix #14028) 2016-01-21 21:44:40 +11:00
Luigi Pirelli
0012761ab3 [auth][db_manager] fix connection info expansio on importing layer in pki postgis 2016-01-21 11:03:21 +01:00
Juergen E. Fischer
00633811c9 spelling fixes 2016-01-21 10:42:25 +01:00
volaya
eeb5daea3c [processing] updated lidar provider
forgot to add this change in a previous commit
2016-01-21 09:03:52 +01:00
volaya
8ade74cadd [processing] show wait cursor while updating alg list 2016-01-21 09:01:27 +01:00
volaya
858dbd2d1f [processing]do not show option for wine folder if running windows 2016-01-21 09:01:26 +01:00
Nyall Dawson
ddf3db04b6 Fix indentation 2016-01-21 18:11:38 +11:00
Sebastian Dietrich
e4ee3156b2 restore 1:1 ratio when checking 'Lock 1:1 ratio' checkbox 2016-01-21 00:19:33 +01:00
Alexander Bruy
f0cb706a5d [processing] exclude commented R libraries when generating dependencies list (fix #14143) 2016-01-20 18:36:22 +02:00
Matthias Kuhn
47549ebcba Merge pull request #2691 from m-kuhn/fixrulebased
Also render all parent features on refined rules
2016-01-20 17:21:05 +01:00
Alexander Bruy
908a380241 [processing] fix deprecation warnings 2016-01-20 16:39:13 +02:00
Alexander Bruy
3b70b84465 [fTools] warn if layer and project CRS are different (fix #10059) 2016-01-20 15:38:00 +02:00
Alexander Bruy
51ec2bfba6 [processing] make Modeller non-blocking window 2016-01-20 14:51:04 +02:00
Alexander Bruy
f7e6fa67b0 [processing] register Processing menu items in the Shortcuts Manager (addresses #13715) 2016-01-20 14:51:04 +02:00
Alexander Bruy
fe2503dab3 fix SIP bindings for listStylesInDatabase() method (fix #11210) 2016-01-20 14:36:20 +02:00
Martin Dobias
9fda6aaf53 [tracing] fix the case when OTF reprojection is disabled 2016-01-20 09:44:24 +01:00
Nyall Dawson
60816af372 Correctly mark some raster classes copy/assignment as private
As they haven't been properly implemented yet and the classes
violate the rule of three
2016-01-20 17:06:04 +11:00
Martin Dobias
7a5df7ada6 Move tracing action creation to qgis app 2016-01-19 18:03:15 +01:00
mhugent
f4bdaad59f Merge pull request #2666 from mhugent/symbology_brush_transform
Symbology brush transform
2016-01-19 16:19:09 +01:00
Marco Hugentobler
aa3e550a2f Revert "Revert sipfile changes"
This reverts commit f7284651218c7ebb0eb043e98f648ee04be42f83.
2016-01-19 14:43:45 +01:00
volaya
014b69647a [processing] removed redundant code 2016-01-19 12:35:00 +01:00
volaya
f762380835 [processing] more checks before running model 2016-01-19 12:34:59 +01:00
Giuseppe Sucameli
472fa9bb08 Merge pull request #2696 from mdouchin/debug_dbmanager_sqlite_layer_info
[bugfix][DbManager] Fix indexes fetch with sqlite >= v3.8.9 (fix #14110)
2016-01-19 11:33:38 +01:00