Luigi Pirelli
f4065d8aed
Merge pull request #6647 from luipir/certs_not_removed_with_pki_postgis_on_win_port3
...
Certs not removed with pki postgis on win port3
2018-06-12 00:11:03 +02:00
nirvn
d1fa1508c0
followup 5c267f2: apply @wonder-sk 's comments
2018-06-11 18:23:51 +07:00
Nyall Dawson
4e084b63c4
[processing] Fix exception when browsing for folder in processing
...
options for multiple folder settings
2018-06-11 15:16:11 +10:00
nirvn
5c267f22fb
Create a QgsLayerStyleOverride and use it for the job renderer
2018-06-11 12:00:16 +07:00
Nyall Dawson
ce6ea18280
Dox and indentation updates
2018-06-11 12:55:20 +10:00
Nyall Dawson
798408b6ba
Silence a clazy warning
2018-06-11 12:55:20 +10:00
Nyall Dawson
3b89ee07ce
Update dox, bindings
2018-06-11 12:55:20 +10:00
Nyall Dawson
23277284e7
[processing][gdal] Fix execution of hillshade with multidirectional argument
...
And add tests
2018-06-09 18:15:00 +10:00
Nyall Dawson
77786f38c3
[processing][SAGA] Fix interpolation choices for add grid values algorithms
...
And add more tests
Fixes #19132
2018-06-08 12:18:35 +10:00
Nyall Dawson
b637c7fe22
Prevent background execution of zonal stats
...
This algorithm is NEVER safe to run in the background, because
it directly modifies a layer in place.
We should:
- make a variant of this algorithm which returns a new layer
AND
- refactor the QgsZonalStats code to create a separate map
of feature->stats, and then modify the existing Zonal Stats
algorithm to apply these changes in a post processing step
2018-06-08 10:13:13 +10:00
Nyall Dawson
6bf7c0eb92
Better constructor, dox
2018-06-08 10:13:13 +10:00
Nyall Dawson
e97f0d3230
Update processing test results
2018-06-08 10:13:13 +10:00
Nyall Dawson
fc5eb96295
Make zonal statistics algorithm thread safe
2018-06-08 10:13:13 +10:00
Nyall Dawson
e9bf7f17c7
Add thread safe method of constructing QgsZonalStatistics,
...
using a QgsRasterInterface instead of a QgsRasterLayer
2018-06-08 10:13:13 +10:00
Nyall Dawson
22a98fb680
[processing] Allow choice of field prefix for Join algorithms
...
Avoids clash of field names resulting in potentially misleading results
2018-06-07 14:24:16 +10:00
Nyall Dawson
4e38d0696e
Documentation
2018-06-06 06:27:33 +10:00
Nyall Dawson
40a2062ec1
[python] Don't install error hook by default
...
This error hook should only ever be used from QGIS app, never
from standalone scripts and applications, so we should default
to not using it and only install it when initializing python
from app.
Otherwise default behavior for standalone scripts based on
PyQGIS is to silently swallow exceptions - this leaves script
developers *no clues* to go off to debug their applications,
meaning that errors which would usually take a couple of seconds
to fix become horrible exercises in frustration for those
unaware of QGIS' exception handling and the
QGIS_DISABLE_MESSAGE_HOOKS environment variable.
Refs #19111
2018-06-06 06:27:33 +10:00
Nyall Dawson
cbbe905fae
[processing] Fix missing schemas in postgis destination selection panel
2018-06-06 06:27:03 +10:00
Tom Chadwin
9780068548
Avoid deprecated regex
...
Avoid invalid escape sequence via raw string:
`re.compile('^[^\s\(]+')` > `re.compile(r'^[^\s\(]+')`
2018-06-06 06:24:24 +10:00
Tom Chadwin
fab563fe71
Processing: avoid deprecated regex
...
Invalid escape sequence avoided via raw string:
`re.findall("\d+|[a-zA-Z]+", rep[0][0])` > `re.findall(r"\d+|[a-zA-Z]+", rep[0][0])`
2018-06-06 06:24:24 +10:00
Tom Chadwin
6a8a622ea4
Processing: Avoid deprecated regex
...
Escape sequence avoided in DefinProjection by using raw string:
`re.compile('\|.*')` > `re.compile(r'\|.*')`
2018-06-06 06:24:24 +10:00
Blottiere Paul
0e7238448a
Merge pull request #7078 from arnaud-morvan/server_proper_literal_convertion
...
[server] Proper convertion of literals in Filters
2018-06-05 16:22:08 +01:00
Even Rouault
370bac9935
Merge pull request #7152 from rouault/fix_memleaks_qgsstyle
...
Fix various memleaks in QgsStyle
2018-06-05 17:03:55 +02:00
arnaud.morvan@camptocamp.com
b07c334723
[server] Proper convertion of literals in Filters
...
Convert OGC Filter's literals accordings to field type.
This can have a huge impact on performance in some cases.
For example for a filter like "num_char" = '+2' converted to "num_char" = 2,
this result with PostgreSQL provider in a fallback to client side evaluation for the whole filter,
including the bbox if present.
2018-06-05 14:26:37 +02:00
Denis Rouzaud
8ef0d1f7d9
[pyqgis] add missing install of __init__.py for modules
2018-06-05 03:25:47 -08:00
Alessandro Pasotti
e3f02eac72
Merge pull request #7012 from elpaso/python-provider
...
Python provider QEP 122
2018-06-05 12:51:17 +02:00
Luigi Pirelli
fa7879ade1
[processing] Correct management of optional rasters in batch mode. Fixes #19115
2018-06-05 11:53:52 +02:00
Nyall Dawson
8c689b2d36
[processing] Fix create constant raster layer modifies pixel size
...
Fixes #18446
2018-06-05 16:15:58 +10:00
Nyall Dawson
bd0ec6e4e9
Don't use old policy for CMP0040
...
Seems no longer required in any case
2018-06-05 14:08:30 +10:00
Nyall Dawson
b69389b650
Run clang-tidy modernization checks
2018-06-05 12:50:39 +10:00
Nyall Dawson
8f55093642
Add some missing dox
2018-06-05 10:19:13 +10:00
Nyall Dawson
2ed144ac59
Apply clang-tidy readability-avoid-const-params-in-decls fixit
...
Checks whether a function declaration has parameters that are
top level const.
const values in declarations do not affect the signature of a
function, so they should not be put there.
2018-06-05 10:19:13 +10:00
Nyall Dawson
e91aed6617
[processing] Force model outputs to respect constraints set by
...
their underlying algorithm's provider
E.g. for model outputs generated by a saga algorithm, only
sdat and shp files are valid outputs. So only give users choices
of these instead of all formats.
Also fixes temporary file names generated as part of model
execution may use formats which are not compatible with the
algorithm's provider.
Fixes #18908
2018-06-05 10:05:32 +10:00
Nyall Dawson
8307264c3b
[processing][SAGA] Avoid unicode errors when parsing description files
...
Fixes #19062
2018-06-05 05:25:16 +10:00
Alessandro Pasotti
a8ce494529
NULL -> nullptr in sip code
2018-06-04 18:20:48 +02:00
Alessandro Pasotti
6ece1aa543
registerProvider now returns a bool
2018-06-04 14:26:22 +02:00
Even Rouault
0304ec49b6
qgsstyle.cpp: change protected to private
2018-06-04 14:13:15 +02:00
Nyall Dawson
3b2f690d26
[processing] Also add table output for raster unique values report algorithm
...
Allows values to be used within models
2018-06-04 21:30:12 +10:00
Alessandro Pasotti
0430a8d59c
Better comment to explain why the ref needs to be incremented
2018-06-04 11:51:11 +02:00
Matthias Kuhn
36712b9ed2
Merge pull request #7118 from m-kuhn/stringCompOperators
...
Cast left node to text on string comparison
2018-06-04 09:25:10 +02:00
Andrea Giudiceandrea
adf5eb77cf
Add vector icons to some qgs algorithms ( fixes #19082 ) ( #7149 )
2018-06-04 13:32:56 +07:00
Nyall Dawson
b8ff44e63d
[processing][saga] Fix error in merge vector layers
...
Fixes #18545
2018-06-04 15:15:46 +10:00
Nyall Dawson
1bc1790b7b
[processing][SAGA] Resync kriging parameters with saga manual
...
And remove duplicate kriging algorithms, add tests
Fixes #18191
2018-06-04 15:05:15 +10:00
Nyall Dawson
268aa171cb
[processing][saga] Fix error in raster calculator
...
Fixes #18751
2018-06-04 14:01:24 +10:00
Nyall Dawson
433513005a
[processing][SAGA] Fix missing outputs from some algorithms
...
Fixes #19103
2018-06-04 13:16:08 +10:00
Nyall Dawson
f6ac45a510
[processing][saga] Add unit test for reclassify values (simple)
2018-06-04 12:58:12 +10:00
Nyall Dawson
3dde95de5d
[processing][SAGA] Fix broken reclassify values algorithm
...
Fixes #18750
2018-06-04 12:58:12 +10:00
Nyall Dawson
4b354984e8
[processing] Matrix parameter values are always 1-dimensional
...
Fix gui wrapper returns 2-dimensional parameters, which don't
match with the expectations of QgsProcessingParameterMatrix
2018-06-04 12:58:12 +10:00
Nyall Dawson
f85a3d6bc0
[processing][SAGA] Fix exposed output formats to include only those supported by SAGA
...
Refs #18908
2018-06-04 12:00:28 +10:00
Nyall Dawson
1395dc0e9c
Add missing license headers
2018-06-04 11:30:32 +10:00