6383 Commits

Author SHA1 Message Date
Juergen E. Fischer
ac63b8e16e Translation fix 2018-07-02 02:47:09 +02:00
Juergen E. Fischer
5f88ba4cfd db manager: fix syntax error in oracle plugin 2018-07-01 21:41:27 +02:00
nirvn
b315fbce8d [spatialite provider][dbmanager] hide a few more tables 2018-06-30 15:43:31 +07:00
nirvn
af322fbd63 [dbmanager] hide more spatialite tables by default 2018-06-30 15:43:31 +07:00
nirvn
570f3c86c3 [dbmanager] rename QGIS layers to Project layers for the virtual layer connection 2018-06-30 15:43:31 +07:00
nirvn
86547eb5fc [dbmanager] add connection icon
this harmonizes display with that of the browser panel
2018-06-30 15:43:31 +07:00
Nyall Dawson
9d8202b66a [dbmanager] Fix exception on older Qt builds
Fixes #19309
2018-06-30 18:35:38 +10:00
Håvard Tveite
a756fb1034 Fix parameter type for the BUFFER parameter of the Voronoi polygons alg
Fixes #19294
2018-06-29 23:02:03 +10:00
nirvn
46246f622d [needs-docs][dbmanager] harmonize icons 2018-06-29 11:56:37 +07:00
Nyall Dawson
9fe26af8fa Allow processing tests to specify ellipsoid/project CRS 2018-06-29 07:12:48 +10:00
Nyall Dawson
34b9d39b27 [FEATURE][processing] K Means clustering algorithm
Adds a native k-means clustering algorithm.

Based on a port of PostGIS' ST_ClusterKMeans function, this
new algorithm adds a new cluster ID field to a set of input
features identify the feature's cluster based on the k-means
clustering approach. If non-point geometries are used as input,
the clustering is based off the centroid of the input geometries.
2018-06-29 07:12:48 +10:00
Nyall Dawson
85fba799ea [processing] Don't abort when missing field name specified in
delete columns algorithm

Fixes #19256
2018-06-28 17:10:23 +10:00
Nyall Dawson
6f5405a829 [processing] Be more careful with output geometries added as a
result of clipping
2018-06-28 17:09:51 +10:00
Nyall Dawson
31330ddffb [processing] Fix random selection algorithm when filter is set on layer 2018-06-28 15:02:06 +10:00
Nyall Dawson
977e14b058 [processing] Fix potential crash when calling processing.run with
custom context, but no feedback object
2018-06-28 14:12:37 +10:00
Matthias Kuhn
7acfe037c4
Merge pull request #7064 from anitagraser/patch-1
[FEATURE] Create PostGISExecuteAndLoadSQL.py
2018-06-25 08:17:04 +02:00
Anita Graser
4a48f50a85
Add qgis:postgisexecuteandloadsql 2018-06-22 21:35:26 +02:00
Nyall Dawson
5b7eefa6ae [FEATURE][processing] New 'Raster pixels to polygons' algorithm
Converts a raster layer into a vector layer, with a polygon feature
corresponding to each pixel from the raster and a single field
containing the band value from the raster.

Sponsored by SMEC/SJ
2018-06-23 04:42:10 +10:00
Anita Graser
bebadef101
Fix parameter names 2018-06-22 18:40:17 +02:00
Matthias Kuhn
cbde32f0fc
Merge pull request #4643 from merkato/master
[FEATURE] Add role logging for PostGIS versioning.
2018-06-22 14:47:07 +02:00
Martin Dobias
80b0c72c50 Fix a Python error in Processing GUI
It turns out that an empty QComboBox evaluates to False:

>>> t=QLineEdit()
>>> bool(t)
True
>>> c=QComboBox()
>>> bool(c)
False

Due to that, the 'TABLE' parameter was missing if its (editable) combo box was empty.

Original error - while updating an algorithm's parameters (gdal:importvectorintopostgisdatabaseavailableconnections)

Traceback (most recent call last):
  File "/home/martin/qgis/git-master/build-debug/output/python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py", line 121, in parametersHaveChanged
    or (not p.checkValueIsAcceptable(parameters[p.name()])):
KeyError: 'TABLE'
2018-06-22 13:30:26 +02:00
Nyall Dawson
41d6b9d967 Silence more plotly warnings on import 2018-06-22 14:26:55 +10:00
Nyall Dawson
6e7c07bc86 Mark regex 2018-06-22 13:37:58 +10:00
Nyall Dawson
12efb8669e [dbmanager] Fix error when connecting to postgis db
Fixes #19240
2018-06-22 13:37:58 +10:00
Nyall Dawson
4132dbc1c8 Typo 2018-06-20 15:06:36 +10:00
Nyall Dawson
8d6ce61a70 [processing] Silence warnings thrown from within plotly on import 2018-06-20 08:07:23 +10:00
Nyall Dawson
16ac437780 [processing] Fix bar and box plot exception when category field has NULL values 2018-06-20 08:07:23 +10:00
Nyall Dawson
a17b77be56 [processing][gdal] Add missing parameters for buildvrt algorithm 2018-06-18 10:28:27 +10:00
Nyall Dawson
76b13ff4c4 [processing][gdal] More descriptive name for separate parameter
in buildvrt algorithm

Fixes #19212
2018-06-18 10:28:27 +10:00
Nyall Dawson
8323462f3b [processing][saga] Fix definition of cross profiles alg, add test 2018-06-16 15:35:31 +10:00
Nyall Dawson
6b08eff655 Spelling 2018-06-15 13:48:43 +10:00
Nyall Dawson
55a54b0971 [processing][saga] Fix duplicate confusion matrix algs
Fixes #19188
2018-06-15 13:48:43 +10:00
Nyall Dawson
37e379836b [processing][saga] Fix duplicate cluster analysis algs 2018-06-15 13:48:43 +10:00
Nyall Dawson
a8c0cef49a [processing][saga] Fix params for IDW alg 2018-06-15 13:48:43 +10:00
Nyall Dawson
d04fee69b3 [processing][saga] Remove duplicate GWR algs, fix params 2018-06-15 13:48:43 +10:00
Nyall Dawson
0a2c856bbb [processing][saga] Remove duplicate polygon self intersection alg, fix params and add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
dd9e46f86c [processing][saga] Remove duplicate intersect alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
c85b1649c8 [processing][saga] Remove duplicate symmetrical difference alg
and add test.

Warnings: SAGA results are bad here! Use the native QGIS alg
instead
2018-06-15 13:48:43 +10:00
Nyall Dawson
f75d31c40c [processing][saga] Remove duplicate polygon difference alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
bdac9f10c6 [processing][saga] Remove duplicate identity alg, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
07530be1b6 [processing][saga] Remove duplicate polygon union algorithm
Also
- fix typo in algorithm name
- add unit test
2018-06-15 13:48:43 +10:00
Nyall Dawson
939551bc35 [processing][saga] Remove duplicate polygon update algorithm, add test 2018-06-15 13:48:43 +10:00
Nyall Dawson
f838001d0a Indentation 2018-06-15 06:39:48 +10:00
Nyall Dawson
bde8b4303f Fix exception in create constant raster alg 2018-06-15 06:39:48 +10:00
Alexander Bruy
dcff720bb0 also use 1-dimensional table in modeler dialog (follow up 4b354984e8) 2018-06-14 09:35:11 +10:00
Nyall Dawson
0da30699a5 [processing] Add unit tests for reclassify using nulls 2018-06-13 14:54:40 +10:00
Nyall Dawson
6b24d8c6d7 [processing] Restore window geometry for fixed table editor dialog 2018-06-13 14:54:40 +10:00
Nyall Dawson
b26957e41f Throw exception when raster output could not be created 2018-06-13 14:54:40 +10:00
Nyall Dawson
d7a37fa3eb Throw exception when invalid band number specified 2018-06-13 14:54:40 +10:00
Nyall Dawson
7a157837cb Add tests for processing reclassification algorithms 2018-06-13 14:54:40 +10:00