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
Alessandro Pasotti
0d696ef1e5
[server] Fix invalid xml in getfeatureinfo
...
Fixes #20549 - error in parsing WMS GetFeatureInfo as XML
Also s/meta/META/ for consistency with all other tags
2018-11-20 18:26:49 +01:00
Alessandro Pasotti
e44d620d29
[feature][needs-docs] Allow gpkg vector rename from browser
2018-11-20 17:41:24 +01:00
Alessandro Pasotti
2d30e0e342
Merge pull request #8517 from elpaso/docker-testing-env-docs
...
Docker testing env docs
2018-11-20 15:40:02 +01:00
Alessandro Pasotti
9e2d172dfd
Typos and small improvements
2018-11-20 14:46:58 +01:00
Alessandro Pasotti
9c6e24fd19
Redirect test output to dev null
2018-11-20 13:01:48 +01:00
Alessandro Pasotti
2b77a659eb
Fix path to tester script
2018-11-20 11:32:43 +01:00
Alessandro Pasotti
7e00afc2c7
Merge pull request #8510 from signedav/fix_providerIndex
...
Don't handle defaultValueClause as not unique value
2018-11-20 11:16:28 +01:00
Alessandro Pasotti
0814b624b8
Move test in its own script
2018-11-20 10:31:05 +01:00
Alessandro Pasotti
ed9709b4fa
Copy updated test runner into the docker
...
Handle -e and do not exit on error
2018-11-20 10:31:05 +01:00
Alessandro Pasotti
e8e66d086b
Fix the python test runner and add a test for it
2018-11-20 10:31:05 +01:00
Alessandro Pasotti
47f29df263
Spelling
2018-11-20 10:24:09 +01:00