4781 Commits

Author SHA1 Message Date
Nyall Dawson
f42f640d30 [rastercalc] Switch all internal calculations to doubles
...for more accurate calculations (fix #9081)

Also:
- Add test suite for raster calculator
- Fix errors with log/log10 calculation and inputs <= 0
- Fix loss of nodata values in certain circumstances
2015-06-10 21:45:37 +10:00
Nyall Dawson
7fb4bea279 Fix map layer combo box sometimes showing a selected layer which
is not applied

This could also have been fixed by changing from the activated
signal to currentIndexChanged for the indexChanged connection,
but it looks like activated was intentionally used here.
2015-06-10 16:03:38 +10:00
Nyall Dawson
920f2ebe56 Fix bug causing raster blocks to be cleared when reprojecting
If a QgsRasterBlock had no nodata value set, then reprojecting
the raster using QgsRasterProjector would result in the entire
block being set to nodata.
2015-06-09 21:57:08 +10:00
Salvatore Larosa
941107dfa4 [processing] add algorithm name to messagebar while running 2015-06-08 18:27:51 +02:00
alexbruy
3ab1230bac Merge pull request #2110 from NaturalGIS/fix_grass7_v_voronoi
[processing] fix GRASS7 v.voronoi output as lines
2015-06-08 10:57:25 +03:00
Marco Hugentobler
624d142ec4 Fix bugs related to adding and removing geometry parts 2015-06-07 11:07:50 +02:00
pcav
faf3bcd0d6 Better output name for some SAGA Processing modules 2015-06-06 19:38:20 +02:00
pcav
b5bd178c8f Better default for Processing:grass:r.series 2015-06-06 19:33:34 +02:00
Matthias Kuhn
e66dd998d6 Use full height on attribute form with drag and drop layout
And fix some file permission issues
2015-06-05 02:46:16 +02:00
pcav
1969c716e6 Merge branch 'master' of https://github.com/qgis/QGIS 2015-06-04 19:37:13 +02:00
pcav
8cdd6173b0 Minor fixes to SAGA modules, for consistency 2015-06-04 19:36:30 +02:00
Giovanni Manghi
fab465aa16 fix GRASS7 v.voronoi output as lines 2015-06-04 16:55:27 +01:00
Matthias Kuhn
385529ef7b PalLabelling: Reproject geometries before evaluating mininum size
Followup 2b096e09
2015-06-03 23:59:42 +02:00
Matthias Kuhn
2b096e09e2 Fix suppress labelling of short lines
And deduplicate code
Followup cfe397e
2015-06-03 18:53:36 +02:00
Salvatore Larosa
6524080f14 [db manager] Fix #12844 - python error opening SQL Window 2015-06-02 18:48:28 +02:00
alexbruy
560f161446 Merge pull request #2099 from NaturalGIS/grass_v_voronoi_advanced
[processing] make option as advanced in GRASS v.voronoi
2015-06-02 12:01:24 +03:00
Denis Rouzaud
710e7f74e3 sort include by file name 2015-06-02 08:15:34 +02:00
Denis Rouzaud
adcf119afa sip bindings for user input tool bar 2015-06-02 08:15:34 +02:00
Matthias Kuhn
5d38bd158c Python ConvertToSubclass and Doxymentation for drag and drop designer API 2015-06-01 20:33:02 +02:00
Giovanni Manghi
c859127c4e make option as advanced in GRASS v.voronoi 2015-06-01 18:43:31 +01:00
Matthias Kuhn
55db2abc5c Fix sip bindings for QgsTransaction 2015-06-01 16:06:15 +02:00
Giovanni Manghi
4473c5f346 fixes several saga and grass modules 2015-06-01 14:46:01 +01:00
Juergen E. Fischer
df0b842fdb geometry sip sync 2015-06-01 15:17:56 +02:00
Nyall Dawson
41ad9abb40 Fix geometry errors:
- Add some missing docs
- Add some missing detach calls
- Hide unimplemented clip method to avoid confusion for 2.10 api
- Fix broken distance method
- Fix broken split method
2015-06-01 21:44:57 +10:00
alexbruy
f1817d0e68 Merge pull request #2097 from NaturalGIS/fix_grass_r_horizon
[processing] fix grass r.horizon
2015-06-01 09:36:24 +03:00
Nathan Woodrow
738838acd4 Fix #12340 - Reload site to pick up new expressions package 2015-06-01 14:44:54 +10:00
Nathan Woodrow
4b6ad0c237 Fix #12850 - Add missing args='auto' keyword' 2015-06-01 13:56:41 +10:00
Giovanni Manghi
327336517d fix grass r.horizon 2015-05-31 07:07:36 +01:00
Nyall Dawson
310419566b Switch to 16x16 pixel icons for python console for consistency with other dock toolbars 2015-05-31 09:43:31 +10:00
Juergen E. Fischer
2ab8a0bed9 include user.py in translations 2015-05-31 00:42:51 +02:00
Salvatore Larosa
f7401c9b27 [user expression] Fix crash and add a log message when the expression is not valid, fixes #12852 2015-05-31 00:07:33 +02:00
Nyall Dawson
51bd0b2bc5 Followup 2dc5d95, add unit tests 2015-05-31 07:58:05 +10:00
alexbruy
d5b2e7baf3 Merge pull request #2094 from NaturalGIS/fix_grass_r_stream
[processing] remove r.stream modules that are addons, fix r.stream.extract in grass7
2015-05-30 14:51:29 +03:00
Giovanni Manghi
f8ae76b7b5 remove r.stream module that are addons, fix r.stream.extract in grass7 2015-05-30 07:54:34 +01:00
Giovanni Manghi
2b1b9f53ac fix processing/grass7 in master 2015-05-30 07:24:41 +01:00
Nyall Dawson
39f4ed526d Fix build 2015-05-30 08:57:55 +10:00
Nyall Dawson
42da218626 Fix memory leaks 2015-05-30 08:53:19 +10:00
Juergen E. Fischer
aeb0e71e32 fix sip bindings 2015-05-29 20:35:42 +02:00
Marco Hugentobler
0e55b3bf0f Fix loading of curved multitypes 2015-05-29 18:00:24 +02:00
Marco Hugentobler
82d18e7e61 Update python binding for QgsGeometry 2015-05-29 11:40:20 +02:00
Juergen E. Fischer
dd53fda846 indentation update 2015-05-29 08:57:54 +02:00
Nyall Dawson
e7219050a1 Avoid unnecessary detach of QgsFeature when renderering non-curved
geometries
2015-05-29 06:46:42 +10:00
alexbruy
bd3b173817 Merge pull request #2065 from arnaud-morvan/processing-parameter-table
[processing] fix setting value in the ParameterTable
2015-05-28 18:31:21 +03:00
alexbruy
c61d5f2cfc Merge pull request #2063 from HenningJagd/master
[processing] behavior of scroll zoom in the modeler
2015-05-28 18:23:34 +03:00
Juergen E. Fischer
c7cb963ac7 also depend on spatialite_init_ex() in pyspatialite (followup 252aaab andd4b72a2) 2015-05-27 23:12:49 +02:00
Matthias Kuhn
8eca38ca5f Attribute table performance when deleting features
This fixes performance issues with the attribute table visible when deleting a
large number of features.

The attribute table tries to behave smart in the following way:

 * It tries to remove only the deleted rows as long as they are in one or a few
   single blocks
 * If there are more than 100 rows to delete and it starts to delete blocks
   of a size smaller than 10 it assumes that the selection to delete is widely
   distributed and that a reload of the whole model is less expensive than a
   differential update.

Fix #10167
2015-05-27 22:28:23 +02:00
Nyall Dawson
ec01d7698e More Coverity memory leak fixes 2015-05-27 23:03:00 +10:00
Radim Blazek
58f9372b3c also spatialite_cleanup_ex conditional for spatialite >= 4 2015-05-27 15:00:33 +02:00
Nathan Woodrow
f2144918d2 Less verbose template function message.
args='auto' and group='custom' as default
2015-05-27 22:39:12 +10:00
Nathan Woodrow
e6403da7b2 Remove adding $ to front of custom functions
Fixes calling no argument functions
2015-05-27 21:27:24 +10:00