5931 Commits

Author SHA1 Message Date
Hugo Mercier
b92cb81fe7 [processing] Change version test so that ExecuteSQL is testable during feature freeze 2016-02-22 15:09:15 +01:00
Alexander Bruy
d3852e481e [processing] fix handling of NULLs is Basic statistics for text fields 2016-02-22 13:35:13 +02:00
Alexander Bruy
ed38d5d95e Merge pull request #2819 from NaturalGIS/processing_fix_grass_grass7_r_sunmask
[processing] fix GRASS and GRASS7 r.sunmask
2016-02-22 11:33:20 +02:00
Nyall Dawson
a1672da17c Fix some test failures, warnings in nightlies
Add more tolerance to distance area tests, fix doxygen param option
2016-02-22 13:48:10 +11:00
Juergen E. Fischer
e503c705a1 change QgsAbstractGeometryV2::coordinateSequence() to return a
implicitly shared copy of an internal cache instead of recreating the
coordinate sequence again and again.

Improves performance of the nodetool on large features a lot (refs #13963)

Also introduce Qgs(Coordinate|Ring|Point)SequenceV2 typedefs.
2016-02-21 21:49:51 +01:00
Jürgen Fischer
4485d3abcf Merge pull request #2824 from nyalldawson/geombbox
Optimise storage/calculation of geometry bounding boxes
2016-02-21 19:01:52 +01:00
Matthias Kuhn
959952e134 Merge pull request #2820 from NaturalGIS/processing_fix_saga_223_detection
Fix SAGA 2.2.3 Processing detection
2016-02-21 14:07:16 +01:00
Matthias Kuhn
23802eb5b7 Add file comparison for HTML output to processing test generator
Refs #14311
2016-02-21 13:16:59 +01:00
Matthias Kuhn
20fc30b0fe Add file comparison to processing tests
And a test for basic numeric statistics
2016-02-21 13:15:21 +01:00
Matthias Kuhn
f6995646f2 [processing] Add some newlines to the output of basic stats 2016-02-21 13:15:09 +01:00
Matthias Kuhn
6a8b4075e0 Add method for file comparison to testing lib 2016-02-21 13:13:34 +01:00
Nyall Dawson
6116fdcdb4 Add a bunch of missing geometry cache clears 2016-02-21 19:55:15 +11:00
Nyall Dawson
50f01a2ac8 Optimise storage/calculation of geometry bounding boxes
- removes storage of bounding box from QgsPointV2 (gives significant
decrease in size of object)
- more efficient calculation of bounding box for linestrings

Additionally, this commit moves the bounding box invalidation to a
virtual QgsAbstractGeometryV2::clearCache() method, so that other
non-bounding box caches can also be cleared when the geometry
is modified.
2016-02-21 16:26:45 +11: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
Giovanni Manghi
607642a562 Fix SAGA 2.2.3 Processing detection 2016-02-20 15:47:55 +00:00
Giovanni Manghi
3f9263b4b8 fix GRASS and GRASS7 r.sunmask 2016-02-20 14:52:12 +00: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