41290 Commits

Author SHA1 Message Date
Nyall Dawson
c750cb2154 Fix existing unit test, add new tests 2017-09-08 09:21:02 +10:00
Nyall Dawson
2612c39578 [processing] A non optional, multiple field input must have at least
one selected field to be considered valid
2017-09-08 09:10:17 +10:00
Nyall Dawson
9a091651bc [FEATURE] Drop 'Frequency analysis' and 'Number of unique values in classes' algs
The functionality of both these algorithms is available in 'stats by
categories'
2017-09-08 08:52:42 +10:00
Nyall Dawson
ea2e537cd7 Make value field in 'Stats by category' optional
If not set, only the feature counts for each category will
be calculated
2017-09-08 08:52:42 +10:00
Nyall Dawson
30c663eaef Fix calculation with null strings 2017-09-08 08:52:42 +10:00
Nyall Dawson
30866190e9 [FEATURE] Allow multiple category fields in 'stats by category' 2017-09-08 08:52:42 +10:00
Nyall Dawson
4e78e034a1 [FEATURE] Improve Stats by Categories algorithm
- allow non spatial inputs
- allow calculation of stats on any field type, with specific
string and datetime stats calculated when field type matches
- output a full set of stats for numeric fields (including median
, quartiles, etc)
- also calculate stats for 'null' category
2017-09-08 08:52:42 +10:00
Blottiere Paul
20d824413e Merge pull request #5094 from pblottiere/trust2
[FEATURE] Trust project option
2017-09-07 16:21:37 +01:00
Blottiere Paul
437aefa32a Move trust checkbox in data sources tab 2017-09-07 09:44:36 +01:00
Blottiere Paul
456ca000a7 Rename methods 2017-09-06 15:22:39 +01:00
Blottiere Paul
76b2b8eed3 Add some tests 2017-09-06 15:22:39 +01:00
Blottiere Paul
8a17a608e1 Trust is now a project option instead of a global option 2017-09-06 15:22:38 +01:00
Harrissou Sant-anna
a0e6b7fde0 Code cleanup
Remove already declared groups in header
2017-09-06 15:58:27 +02:00
Blottiere Paul
7ef2e7046e Some cleanup and renaming 2017-09-06 14:46:37 +01:00
Blottiere Paul
eb725f3305 Do not update extent by default if trust project option is activated 2017-09-06 14:46:37 +01:00
Blottiere Paul
b55c134926 Do not check primary key unicity on views when trustProject option is activated 2017-09-06 14:46:37 +01:00
Blottiere Paul
4a084bf961 Add tests 2017-09-06 14:46:37 +01:00
Blottiere Paul
384e85ca77 Add option on layer to read extent from xml in case of data source without metadata 2017-09-06 14:46:37 +01:00
Blottiere Paul
21c5f3d36c Fix extent writing in project file 2017-09-06 14:46:37 +01:00
Blottiere Paul
5b5dc9545d Add an enum for postgres relation kind 2017-09-06 14:46:37 +01:00
Blottiere Paul
088acdba40 Extent for vector layers should not be read from qgis project by default 2017-09-06 14:46:37 +01:00
Blottiere Paul
3b5236cbe5 [needs-doc] Add Trust Project option 2017-09-06 14:46:37 +01:00
Harrissou Sant-anna
59d758280e Add help link for OWS Server tab 2017-09-06 11:37:25 +02:00
Harrissou Sant-anna
02c43445ce Set the most accurate User Manual page to Project Properties tabs
Because some of the tabs in the dialog have a dedicated chapter where they are fully described, better use those links instead of the global one.
2017-09-06 11:37:25 +02:00
Matthias Kuhn
f0cf4c3ee8 Merge pull request #5137 from m-kuhn/expressionhistory
[FEATURE] History for attribute table form view display expressions
2017-09-06 11:36:04 +02:00
Matthias Kuhn
6f9be4de0f
[travis] Fail fast on error 2017-09-06 10:46:59 +02:00
Matthias Kuhn
ee75d8cd14
Fix build with Qt 5.5 2017-09-06 10:46:59 +02:00
Matthias Kuhn
b3c15900c1 [travis] Stop building on errors 2017-09-06 10:14:33 +02:00
Matthias Kuhn
a09839081c
[travis] Fold build output 2017-09-06 09:17:31 +02:00
Matthias Kuhn
33f0a604a8
[travis] Workaround timeouts 2017-09-06 09:15:31 +02:00
Blottiere Paul
3b839ceb43 Merge pull request #5084 from pblottiere/server_bugfix_ogc_mode
[server][bugfix] Fixes OGC test on getmap:each-format mode for 1bit/8bit/16bit
2017-09-06 08:14:34 +01:00
Blottiere Paul
eb9e2ace75 Add some tests 2017-09-06 07:28:39 +01:00
Blottiere Paul
25accbcbdb Fix OGC test getmap:each-format mode for 1bit/8bit/16bit 2017-09-06 07:28:39 +01:00
Nyall Dawson
2e20b6f69b Merge pull request #4720 from nyalldawson/ref_geom
Template based referenced geometry class
2017-09-06 13:51:31 +10:00
Nyall Dawson
f1313af914 Add some more unit tests 2017-09-06 11:25:17 +10:00
Nyall Dawson
f12bb74b58 Add missing docs 2017-09-06 11:25:16 +10:00
Nyall Dawson
1e1ed8a462 Add unit tests for referenced geometries 2017-09-06 11:25:16 +10:00
Nyall Dawson
6ab7ebadec Metatype Qgs(Referenced)Rectangle/PointXY 2017-09-06 11:25:16 +10:00
Nyall Dawson
1194b5abea Use inheritance rather than composition for QgsReferencedGeometries
See https://github.com/qgis/QGIS/pull/4720#issuecomment-308652392
for discussion of the rationale
2017-09-06 11:25:16 +10:00
Nyall Dawson
e926f345e8 Update sip 2017-09-06 11:25:16 +10:00
Denis Rouzaud
8053b96ec0 fix constructor and skip method with same python signature 2017-09-06 11:25:16 +10:00
Nyall Dawson
1a961e8045 Template based referenced geometry class 2017-09-06 11:25:16 +10:00
Nyall Dawson
9502022bb5 Merge pull request #5141 from nyalldawson/disable_osx_travis
Disable Travis OSX builds
2017-09-06 11:20:47 +10:00
Nyall Dawson
2830f31e8b Disable Travis OSX builds
They are broken and ignored at the moment, but still
causing a massive backlog and delay in obtaining
the valid test results
2017-09-06 09:10:49 +10:00
Nyall Dawson
e464c76b64 Merge pull request #5110 from nyalldawson/ogr_crs
[ogr] Don't try to calculate CRS for geometryless layers
2017-09-06 04:23:04 +10:00
Nyall Dawson
a11e0c6687 Merge pull request #5130 from nyalldawson/deprecated
Fix use of some deprecated Qt methods
2017-09-06 04:22:40 +10:00
Nyall Dawson
26b9c043b4 Merge pull request #5116 from nyalldawson/remove_transect
Remove QgsTransectSample
2017-09-06 04:22:00 +10:00
Alessandro Pasotti
5f5be25357 Merge pull request #5124 from boundlessgeo/providers_gui_config
Providers gui config
2017-09-05 19:27:47 +02:00
Matthias Kuhn
1d0de6028e
Remove generic debug noise 2017-09-05 18:19:36 +02:00
Matthias Kuhn
ff2c109d3d
Make ogr a bit less verbose 2017-09-05 18:19:36 +02:00