5917 Commits

Author SHA1 Message Date
Matthias Kuhn
6a8b4075e0 Add method for file comparison to testing lib 2016-02-21 13:13:34 +01:00
Matthias Kuhn
4c63c85cca Show provider errors more prominently 2016-02-20 17:21:57 +01:00
Juergen E. Fischer
5c4bf99ce2 debian packaging update: manually merge some changes from PR#2818 and
some spelling fixes.
2016-02-20 16:55:16 +01:00
Alexander Bruy
cf8c7b13db fix failing indenation test 2016-02-19 21:19:49 +02:00
Alexander Bruy
e0acb696a4 Merge pull request #2815 from NaturalGIS/processing_fix_grass7_r_water_outlet
[processing] fix GRASS7 r.water.outlet
2016-02-19 20:21:25 +02:00
Giovanni Manghi
141a0a26fb processing fox GRASS7 r.water.outlet 2016-02-19 18:16:07 +00:00
Giovanni Manghi
3215247c71 fix processing gdal_rasterize: missing output format parameter 2016-02-19 18:03:02 +00:00
Alvaro Huarte
1a29030383 Remove duplicate methods of conversion
Remove duplicate methods of conversion of map coordinates to screen
coordinates
2016-02-19 09:43:01 +01:00
Nyall Dawson
4285d70b6c Fix "feature rendering order" checkbox is not honored (fix #14323) 2016-02-19 10:11:43 +11:00
Alexander Bruy
f36214c567 Merge pull request #2808 from m-kuhn/proclogtitle
[processing] always translate debug messages tab title (fix #14287)
2016-02-18 19:38:36 +02:00
Alexander Bruy
d8a5e0fc45 [processing] correctly handle zero in Basic statistics alg (fix #14331) 2016-02-18 18:52:09 +02:00
Alexander Bruy
a0da85fc41 Merge branch 'saga-223' 2016-02-18 17:30:50 +02:00
Alexander Bruy
30a738f981 [processing] improve handling of the obsolete models (fix #14306) 2016-02-18 15:55:01 +02:00
Matthias Kuhn
bcd3d92fa9 Always translate Processing debug messages tab title
Fix #14287 (Redmine)
2016-02-18 14:44:25 +01:00
Alexander Bruy
5c62a1750e [processing] added descriptions for SAGA 2.2.3 2016-02-18 14:57:49 +02:00
Alexander Bruy
61a92e2fac [processing] convert messages to unicode (fix #14286) 2016-02-18 14:09:34 +02:00
Alexander Bruy
9bf3b2ef99 [processing] fix refreshing of the toolbox after downloading scripts/models 2016-02-17 21:13:20 +02:00
Alexander Bruy
08577ac15d [processing] fixes for Create Grid algorithm (fix #14303) 2016-02-17 14:46:29 +02:00
Alexander Bruy
ead88a3ac2 [processing] correctly recognize grid type (fix #14302) 2016-02-17 14:46:29 +02:00
Alexander Bruy
e7fe61e6b9 [processing] load algorithms only when requred 3rd party modules are
available or compatible QGIS version is used

Some housekeeping in QGIS algorithms provider
2016-02-17 14:46:02 +02:00
Nyall Dawson
87661a03cd Move field icon calculation to QgsFields, show correct field type
icons in attribute table column filter menu (instead of new
attribute icon) and in field table in vector properties
2016-02-17 21:39:58 +11:00
Alexander Bruy
1ffccf05c9 [processing] fix Modeler Calculator (ref #14305) 2016-02-16 20:59:50 +02:00
Alexander Bruy
a15f51e71b Merge pull request #2788 from medspx/processing_fix_vdbselect
[processing] аix GRASS7 v.db.select (fix #11212)
2016-02-16 18:26:23 +02:00
Juergen E. Fischer
55727c3fcf add sip bindings to QgsCredentialsNone (followup 42bc9387) 2016-02-16 13:29:36 +01:00
Nyall Dawson
14f9a88811 Follow up c6c8277, fix bad behaviour of QgsBrowserModel introduced
by 44d9b35 (fix #14296)
2016-02-16 14:12:54 +11:00
Hugo Mercier
942c5e5f73 Fix virtual layer file name handling (in Windows) 2016-02-15 16:44:17 +01:00
Matthias Kuhn
30910df388 Partially revert fa40e78
It failed to load functional plugins also
2016-02-15 12:51:53 +01:00
Matthias Kuhn
fa40e78f60 [Plugins] disable plugins which crash on load 2016-02-15 10:23:39 +01:00
Nyall Dawson
59b216be74 Add missing sip bindings 2016-02-15 19:02:34 +11:00
volaya
961c35aeb5 [processing] fixed exporting multiple vector layers in SAGA and GRASS algs 2016-02-15 08:25:50 +01:00
Nyall Dawson
6dc0b6910f Move handling of angular units to QgsUnitTypes, swap angle and distance
radio buttons to combo boxes in options dialog for consistency with
project properties
2016-02-15 15:22:30 +11:00
Nyall Dawson
dfdcec8922 Fix project unit confusion (pt 3): add area unit settings with a
ton of available area units (eg m2, km2, mi2, ft2, yd2, ha, ac,
etc)

Adds a new option in both the QGIS setting and project properties to
set the units used for area measurements. Just like the distance
setting, this defaults to the units set in QGIS options, but can
then be overridden for specific projects.

The setting is respected for area calculations in:
- Attribute table field update bar
- Field calculator calculations
- Identify tool derived length and perimeter values

Also adds unit tests to ensure that area calculated by attribute table
update bar, field calculator and identify tool are consistent wrt
ellipsoidal calculations and area units.

TODO: make measure tool respect area setting

(refs #13209, #4252 and fixes #12939, #2402, #4857)
2016-02-15 12:47:36 +11:00
Nyall Dawson
35c2d185fb Add square nautical miles as a supported areal unit, add API
method for converting a distance unit to corresponding area unit
2016-02-15 12:47:36 +11:00
Juergen E. Fischer
6a3753e2e8 processing: fix translation context for AlgorithmDialogBase 2016-02-15 00:16:51 +01:00
Nyall Dawson
1f2cc3d051 Revert deprecation of QgsSymbolV2Utils::encode/decodeOutputUnit
...as it causes circular dependancies. Defer to 3.0 when we can
move QgsSymbolV2::OutputUnit to QgsUnitTypes
2016-02-15 07:24:35 +11:00
Jürgen Fischer
25c289441e Merge pull request #2789 from SebDieBln/DbManager_FixMoveToSchema
[DbManager] Fix the 'MoveToSchema' functionality (fixes #14219)
2016-02-14 19:07:21 +01:00
Nyall Dawson
ddbdcf8ab1 Fix project unit confusion (pt 2): add project distance unit setting
Adds a new option in project properties to set the units used for
distance measurements. This setting defaults to the units set in
QGIS options, but can then be overridden for specific projects.

The setting is respected for length and perimeter calculations in:
- Attribute table field update bar
- Field calculator calculations
- Identify tool derived length and perimeter values
- Default unit shown in measure dialog

Also adds unit tests to ensure that length and perimeter calculated
by attribute table update bar, field calculator and identify tool
are consistent wrt ellipsoidal calculations and distance units.

(refs #13209, #12939, #2402, #4857, #4252)
2016-02-14 21:04:41 +11:00
Nyall Dawson
17a29f90d6 Add area units to QgsUnitTypes (refs #13209) 2016-02-14 14:57:38 +11:00
Juergen E. Fischer
a90be95f7b sip sync 2016-02-14 03:50:49 +01:00
Juergen E. Fischer
62f272e44d processing: fix path setting for saga 2016-02-13 02:00:10 +01:00
Nyall Dawson
9f772bce29 Add API call for setting preferred distance unit for QgsExpression
(refs #13209, #12939, #4857)
2016-02-13 11:36:51 +11:00
Sebastian Dietrich
0ab3653831 [DbManager] Fix the 'MoveToSchema' functionality (fixes #14219) 2016-02-13 01:01:05 +01:00
Médéric RIBREUX
8e9b8c77cf [Processing] Fix GRASS7 v.db.select (fixes Redmine #11212) 2016-02-12 21:38:36 +01:00
Nyall Dawson
d0e595f85f Indentation 2016-02-12 20:54:25 +11:00
Nyall Dawson
229ef29170 If no geomCalculator is set for QgsExpression, perform cartesian
calculations for $length, $area, $perimeter (refs #13209)

ie, the default is now to use planimeteric calculations unless
a geomCalculator has been explicitly set
2016-02-12 20:54:25 +11:00
Martin Dobias
0c478d0148 Merge pull request #2729 from dgoedkoop/digitisecrs2
Fix floating point inaccuracies when digitizing (to fix bug #13745)
2016-02-12 09:46:10 +08:00
Daan Goedkoop
384da5665e Fix floating point inaccuracies when digitizing (to fix bug #13745) 2016-02-11 21:05:34 +01:00
Alexander Bruy
8ba6149d7c [processing] make DTM2ASCII tool visible in toolbox 2016-02-11 19:45:45 +02:00
Alexander Bruy
0d652b2fe0 Merge pull request #2774 from medspx/processing_fix_parameternumber
[processing] fix ParameterNumber float detection
2016-02-11 13:47:48 +02:00
Alexander Bruy
169d35f319 [processing] fix example script 2016-02-10 16:37:14 +02:00