52229 Commits

Author SHA1 Message Date
Nyall Dawson
64bd9e5a5e [processing] Fix traceback when modeller parameter invalid value is detected 2018-11-26 16:41:44 +10:00
Harrissou Sant-anna
72fdda7630 Deactivate help button for SAGA algorithms
to avoid user frustration because no help is provided in user manual (simply listing parameters and options already shown in GUI can't be called a help)
2018-11-26 11:59:10 +10:00
Faneva Andriamiadantsoa
7a9ba25e80 [FEATURE] Add dX, dY and residual on GCP Points (#8513)
* add dX, dY and residual on GCP Points
* add option to automatically save GCP Points in the raster-modified path
2018-11-26 10:44:55 +10:00
Juergen E. Fischer
4c3e43bd21 fix link error on windows
(cherry picked from commit 22034aa0704dde196fa18f9f7baa901834499b37)
2018-11-25 13:38:25 +01:00
Alessandro Pasotti
697e7044f5
Merge pull request #8530 from elpaso/bugfix-20591-dissolve-show-error
[processing] Show error when dissolve fails
2018-11-23 23:24:22 +01:00
Alessandro Pasotti
eb05f0a272 Translate debug message 2018-11-23 14:03:44 +01:00
rldhont
0e5718d2ef [Server][WFS] Null field value in GML has to be empty string 2018-11-23 13:47:27 +01:00
Luigi Pirelli
f94d08d330
Merge pull request #8531 from Gustry/saga
fix nodata parameter in saga
2018-11-23 13:43:37 +01:00
Alessandro Pasotti
7cec165cc9 Push debug message to console 2018-11-23 12:24:14 +01:00
Juergen E. Fischer
a6432c7581 debian packaging: include 3d bindings 2018-11-23 11:13:44 +01:00
Nyall Dawson
2c425c7bf0 Fix unit test 2018-11-23 20:32:16 +11:00
Nyall Dawson
0e928e8191 [processing] Correctly set parent widgets for algorithm dialogs
to avoid dialogs immediately going out of scope and being garbage
collected
2018-11-23 20:32:16 +11:00
Nyall Dawson
2617fd56f7 Fix context going out of scope 2018-11-23 20:32:16 +11:00
Nyall Dawson
6fff62e668 Fix confusing override of accept method for non-dialog acceptance 2018-11-23 20:32:16 +11:00
Nyall Dawson
47bf1f49d8 Fix ownership of algorithm instance used by processing dialog 2018-11-23 20:32:16 +11:00
Nyall Dawson
4d97d20635 Fix incorrect ownership of processing algorithm dialog 2018-11-23 20:32:16 +11:00
Alessandro Pasotti
947f82d890 [procesing] Fix dissolve issue by taking the slower route in case of GEOS exception 2018-11-23 10:13:20 +01:00
Alessandro Pasotti
235c44e403 Throw an execption when the algorithm fails 2018-11-23 08:07:45 +01:00
Nyall Dawson
57c117cdf4 Remove progress task from identify action
Seems that some providers trigger an issue with the progress task
(likely due to a local event loop running on the main thread triggering
a processEvents call).

Workaround the issue by just removing the progress task -- it's
unlikely to be missed anyway.

Fixes #20459
2018-11-23 09:46:32 +11:00
Nyall Dawson
d9736eb9e7 Fix warnings 2018-11-23 06:52:33 +10:00
Luigi Pirelli
a14f5e4ae3
Merge pull request #8521 from chau-intl/master
Hide newly added layer(s) when in group. Fixes #19174
2018-11-22 21:01:06 +01:00
Etienne Trimaille
c1f8db9b2e
fix nodata parameter in saga 2018-11-22 14:08:49 -04:00
Alessandro Pasotti
1c390748c9 [processing] Show error when dissolve fails
Partial fix for #20591 - Dissolve tool failing to produce outputs

There is still the GEOS issue to be cheked
2018-11-22 17:58:51 +01:00
Juergen E. Fischer
5a8c9bf52e fix windows build 2018-11-22 14:09:39 +01:00
Alessandro Pasotti
b6d9e0ba49
Merge pull request #8524 from signedav/editafteredit
[Bugfix] Release cell from focus on editing off
2018-11-22 13:43:58 +01:00
Alessandro Pasotti
256b58085d
Merge pull request #8526 from elpaso/bugfix-20579-ogr-db-layers-name
[ogr] Use table name as base layer name when adding ogr database layers
2018-11-22 12:49:26 +01:00
Martin Dobias
b1fd7b5ac6 [mssql] Fix import of layers with invalid geometries (fixes #20122)
This essentially reverts 62f4534

Rationale:
- even valid geometries according to GEOS may be considered as invalid by MS SQL
  so there is no way of knowing that a geometry may be fail to be added
- change of geometries applies MakeValid() so it is consistent again
- GDAL driver also applies MakeValid() on all added/changed geometries
- QGIS since 3.4 has optional geometry checks for validity etc. so some truly
  invalid geometries may be fixed before submitted to the provider

See also https://github.com/qgis/QGIS/pull/8411
2018-11-22 11:50:03 +01:00
Alessandro Pasotti
7094ddf18e Use isValid instead of isNull and add a test for gpkg 2018-11-22 11:00:26 +01:00
Nyall Dawson
59686e73d7 Package missing ESRI token auth method 2018-11-22 18:53:33 +10:00
Martin Dobias
d4ef55dadb
Merge pull request #8509 from wonder-sk/terrain-map-themes
[FEATURE] Optionally use a map theme to render terrain textures
2018-11-22 09:24:27 +01:00
Alessandro Pasotti
84eed010fe [ogr] Use table name as base layer name when adding ogr database layers
Fixes #20579 - Improve layer name rendering for MySQL connections
2018-11-21 19:23:21 +01:00
Alessandro Pasotti
fee3935887
Merge pull request #8519 from elpaso/browser-gpkg-vector-rename
[feature][needs-docs] Allow gpkg vector rename from browser
2018-11-21 16:29:50 +01:00
Martin Dobias
afd3525297 Add test for terrain theme + do not use project singleton 2018-11-21 16:29:42 +01:00
Mathieu Pellerin
d257cf0776 Add a project properties dialog test case 2018-11-21 21:46:50 +07:00
Mathieu Pellerin
4e1d6841ae Avoid more needless project dirtying 2018-11-21 21:46:50 +07:00
Alessandro Pasotti
5171e4e64d
Merge pull request #8520 from elpaso/bugfix-20549-invalid-xml-gfi
[server] Fix invalid xml in getfeatureinfo
2018-11-21 13:32:35 +01:00
Alessandro Pasotti
bb44e2b60b
Merge pull request #8512 from elpaso/docker-testing-env-tests
Docker testing env tests
2018-11-21 13:27:02 +01:00
Alessandro Pasotti
fe8d419c4d Support F2 for layer rename action
Also refactored some internal methods to
avoid duplication of code and use parent
class virtual rename() instead of a new
method for gpkg only.
2018-11-21 12:16:34 +01:00
signedav
51ee71316f Disable current cell on editing off
because otherwise on single cell change the change would not been stored in mEditBuffer

fixes #15975
2018-11-21 09:09:13 +01:00
Denis Rouzaud
d1d3a51efb
Merge pull request #8429 from lbartoletti/extendMapTool
[needs-docs][FEATURE] Trim/extend
2018-11-21 06:36:08 +01:00
Simon Wells
f3fbd060ce fix another include directive for spatialindex 2018-11-21 16:13:44 +11:00
Simon Wells
e91cd93cc1 Remove PATH_SUFFIX as it is no longer needed, as it is optional it is not sufficient to be used in place of spatialindex/ 2018-11-21 16:13:44 +11:00
Simon Wells
c341d8da90 avoid conflicting geos spatialindex.h include file
correct includes for spatialindex
2018-11-21 16:13:44 +11:00
Nyall Dawson
cd0a314114 [needs-docs] Add shortcut for paste to scratch layer (Ctrl+Alt+V) 2018-11-21 16:05:28 +11:00
nirvn
9faab8162a [ui] Harmonize save raster layer as dialog's scroll area 2018-11-21 10:34:31 +07:00
nirvn
1237fb6786 [needs-docs][ui] Move 'add saved file to map' option away from data settings 2018-11-21 10:34:31 +07:00
Nyall Dawson
5603546c26 Dox 2018-11-21 08:48:55 +11:00
Nyall Dawson
e21ea25c66 Add method to set QgsFeature geometry directly from QgsAbstractGeometry
Allows

    feat.setGeometry(QgsPoint(1,2))

instead of the more obscure

    feat.setGeometry(QgsGeometry(QgsPoint(1,2)))
2018-11-21 08:48:55 +11:00
Nyall Dawson
17e58738b8 Capitalization 2018-11-21 06:57:13 +10:00
chau-intl
3ec853f635 Fix for bug report #19174 - hide newly added layer(s) when in group
When loading a single layer QGIS will set it as invisible if the user have chosen so (new_layers_visible=false) in the settings. When a data set contains more than one layer and the user
chooses "Add layers to a group" the layers are added as visible no matter what.

This commit is fixing that problem for both GDAL and OGR data sets by setting both the group and its layers as invisible/unchecked.

Fixes #19174
2018-11-20 18:42:53 +01:00