5905 Commits

Author SHA1 Message Date
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
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
Giovanni Manghi
e9e4954c58 Processing: remove wrong/non mandatory default extent for raster analysis 2016-02-09 19:37:00 +00:00
Médéric RIBREUX
5d19a3b21b [Processing] Fix ParameterNumber float detection (with unit tests) 2016-02-09 20:07:32 +01:00
Juergen E. Fischer
2ea3d7744d port more WKB parsing to Qgs(Const)WkbPtr including bounds checking 2016-02-09 14:20:07 +01:00
Juergen E. Fischer
ded1ebb33b indentation fixes 2016-02-09 14:19:13 +01:00
Alexander Bruy
475911f75f Merge pull request #2768 from NaturalGIS/processing_fix_gdal_string
[processing] fix non-translatable string in GDAL/Aspect
2016-02-09 15:12:38 +02:00
Alexander Bruy
686ad242c1 Merge pull request #2769 from NaturalGIS/processing_fix_gdal_optional_parameters
[processing] fix a few GDAL/OGR optional parameters
2016-02-09 15:12:15 +02:00
Alexander Bruy
a5ddf92dfb Merge pull request #2770 from NaturalGIS/processing_fix_ogr_convert_format
[processing] fix OGR/Convert format tool
2016-02-09 15:11:32 +02:00
Hugo Mercier
fa78ccf74d Deprecate old WkbType in QgsDataSourceUri 2016-02-09 10:44:41 +01:00
Hugo Mercier
e2123c79e5 Fix addFeature and addPart maptool for layers with a Z 2016-02-09 10:44:41 +01:00
volaya
27da8bcd63 Merge pull request #2767 from NaturalGIS/processing_fix_gdal_nearblack
fix Processing GDAL near black tool
2016-02-09 10:01:52 +01:00
Médéric Ribreux
f49dbdc299 [Processing] Fix overwrite for GRASS7 (Redmine #13488) 2016-02-09 09:46:12 +01:00
Giovanni Manghi
24ce6d239b fix Processing OGR/Convert format tool 2016-02-08 21:59:15 +00:00