40284 Commits

Author SHA1 Message Date
Alexander Bruy
0fbc1899c7 Merge pull request #4896 from NaturalGIS/master_fix_saga_ltr_catchaments_area
[processing] fix SAGA LTR Catchment Area tools
2017-07-20 17:20:48 +03:00
Juergen E. Fischer
f78157be7d fix 67f7b3a2 2017-07-20 16:16:16 +02:00
Juergen E. Fischer
67f7b3a2df crash report dialog:
* get current context without an exception (eg. Ctrl+\)
* use <pre> around stack
* make report details expandable
* what about threads?
2017-07-20 14:36:01 +02:00
Giovanni Manghi
5e03f579d1 mater: fix SAGA LTR Catchement Area tools 2017-07-20 12:15:09 +01:00
Alexander Bruy
6624561219 Merge pull request #4891 from nyalldawson/fix_heatmap_raster
Correctly create raster for heatmap output
2017-07-20 13:51:36 +03:00
Nyall Dawson
96fc3bde0c Merge pull request #4890 from nyalldawson/algs_next
Resurrect some processing algorithms
2017-07-20 17:33:26 +10:00
Nyall Dawson
5241c74c6c Correctly create raster for heatmap output
Incorrect creation of geo transform was leading to invalid raster
outputs and many "creating warped vrt" log messages
2017-07-20 16:15:29 +10:00
Alessandro Pasotti
cd399990f1 Merge pull request #4889 from gacarrillor/one_button_ESC_key_handling
Handle Esc key in Data Source Manager
2017-07-20 07:55:21 +02:00
Nyall Dawson
96cf6612d3 Port geometry by expression to new API 2017-07-20 15:28:50 +10:00
Nyall Dawson
c0669d4fd2 Port extend lines to new API 2017-07-20 15:28:50 +10:00
Nyall Dawson
1cac3bb635 Port single sided buffer to new API 2017-07-20 15:28:50 +10:00
Nyall Dawson
4a935c1090 Resurrect Translate algorithm 2017-07-20 15:28:50 +10:00
Nyall Dawson
d4af76150f Flip some more algorithms to feature based algorithms 2017-07-20 15:28:50 +10:00
gacarrillor
63a2b741f2 Fix wrong indentation detected by Travis 2017-07-19 23:54:37 -05:00
gacarrillor
5ba0cb7b8c Merge branch 'master' into one_button_ESC_key_handling 2017-07-19 23:09:22 -05:00
gacarrillor
a231f1625a Close Data Source Manager if child widget is closed 2017-07-19 23:07:00 -05:00
Nyall Dawson
6e49403163 Fix QgsFieldComboBox::setField sets incorrect field when filter is present 2017-07-20 10:13:54 +10:00
Sandro Santilli
9efd666e48 Test that PostGIS query can be passed as both unicode and string literal
See https://issues.qgis.org/issues/16833
2017-07-19 19:05:39 +02:00
Alessandro Pasotti
90d4768a06 Fix addWfsLayer in the WFS GUI test (blacklisted on Travis)
This test segfaults locally.
2017-07-19 18:50:29 +02:00
Matthias Kuhn
5b186aea7d [travis] Force precise 2017-07-19 17:35:38 +02:00
Sandro Santilli
2a572be73e Add test for #16833
Tested to pass with Python 2.7.13
2017-07-19 16:48:36 +02:00
Juergen E. Fischer
ff0df6d957 fix c29fc35155 2017-07-19 10:37:28 +02:00
Juergen E. Fischer
c29fc35155 also "s/( )/()/;" in sipify.pl (followup 4f9a9e036) 2017-07-19 10:36:12 +02:00
Mathieu Pellerin
0665072d94 [FEATURE] Locked aspect ratio state for Save as image/PDF" (#4880)
Sponsored by Andreas Neumann.
2017-07-19 15:04:52 +07:00
rldhont
08c06def1b Merge pull request #4846 from rldhont/server-wms-configparser-getfeatureinfo
[Server] WMS GetFeatureInfo refactoring
2017-07-19 10:00:01 +02:00
Denis Rouzaud
744fbc5346 fix sipify tests
followup 4f9a9e0360a3ce6b4289e948bb2549a0496f48f2
2017-07-19 09:48:42 +02:00
Juergen E. Fischer
4f9a9e0360 s/( )/()/; s/== /== /; s/!= /!= /; 2017-07-19 09:19:37 +02:00
Juergen E. Fischer
f814ba04c3 fix oracle provider build (followup c4e26d72) 2017-07-19 09:18:34 +02:00
Juergen E. Fischer
e7700db46a oracle provider: skip updating of key attributes of added features for versioned tables 2017-07-19 03:07:40 +02:00
Nyall Dawson
efff4f0376 Fix windows build 2017-07-19 09:09:51 +10:00
Nyall Dawson
72e35135db Merge pull request #4777 from nyalldawson/preview
Forward port Sourcepole's work on map panning previews
2017-07-19 08:22:18 +10:00
Nyall Dawson
857f8437d1 Merge pull request #4873 from nyalldawson/processing_feature_alg
Add QgsProcessingFeatureBasedAlgorithm subclass
2017-07-19 05:31:30 +10:00
Alessandro Pasotti
e423eea2cf [feature][needs-docs] XYZ authentication and referer added to GUI
Fixes #16883
2017-07-18 16:13:41 +02:00
Nyall Dawson
11cfc78a24 Skip invalid returned features 2017-07-18 22:13:50 +10:00
Alessandro Pasotti
0b263f9ac6 Merge pull request #4737 from boundlessgeo/browser-sync
[bugfix] Sync the browser connections when changed from the select dialogs
2017-07-18 13:27:32 +02:00
Mathieu Pellerin
6acd326a8f [FEATURE] Draw extent onto canvas in save as image/PDF dialog (#4878) 2017-07-18 18:13:52 +07:00
Alessandro Pasotti
854430991e Remove unused includes and variables 2017-07-18 12:31:38 +02:00
Alessandro Pasotti
bd925cd648 Rebase and partially revert 9bae83275368
All signals are now in the base class, even if only
a subset of available providers actually emits them.

This way we can handle all source select dialogs
the same way, regardless if they are vector, DB
or raster (or others).
2017-07-18 12:15:57 +02:00
Nyall Dawson
29855b3942 Change signature of processFeature so that features are no longer modified in place 2017-07-18 19:56:42 +10:00
Alessandro Pasotti
e83ef2e8b5 Store canvas into the base class and set extent/crs from the arcgis classes
This modification was necessary because the current implementation
of the source select dialogs within the unified add layer dialog
create the provider dialogs the first time and do not destroy
them, this means that the canvas extent and CRS can change from
a dialog invocation to the next and the extent and CRS need to
be updated at layer creation time.
2017-07-18 11:45:07 +02:00
Alessandro Pasotti
f459790fc6 Moved arcgis dialogs to the provider directory 2017-07-18 11:45:07 +02:00
Alessandro Pasotti
73b66fa1f5 Homogenize signals from different source select dialogs, move to base class 2017-07-18 11:45:07 +02:00
Nyall Dawson
c2cad99d6b Add note about throwing QgsProcessingException to cancel algorithm execution 2017-07-18 19:44:33 +10:00
Alessandro Pasotti
f6c8ef3ad1 Complete documentation for connectionsChanged signals 2017-07-18 11:42:02 +02:00
Alessandro Pasotti
c4e26d72c0 Renamed base class to QgsAbstractDataSourceWidget 2017-07-18 11:42:02 +02:00
Alessandro Pasotti
aba9da5bc4 Refactored all providers to use the new base class
Also use refreshConnections from the data items when
a refresh is required, this function also emits
the signal to update the other GUI elements.
2017-07-18 11:42:02 +02:00
Nyall Dawson
d926789d3b Improve dox 2017-07-18 19:41:33 +10:00
Nyall Dawson
792e6bd563 Always output algorithm results, even when input source has no
features

Allows more versatile models which can handle empty layers
2017-07-18 19:41:33 +10:00
Nyall Dawson
dd0f18355b [FEATURE] Followup addition of set Z/M values algs with Drop Z/M Values algorithm
Allows easy access to drop any z or m values present in a layer (e.g. if
required for compatibility with a database destination, etc)
2017-07-18 19:41:33 +10:00
Nyall Dawson
340cf93f93 [FEATURE] New algorithms to add Z/M values to existing geometries
Allows upgrading geometries to include these dimensions, or
overwriting any existing Z/M values with a new value.

Intended mostly as a test run for QgsProcessingFeatureBasedAlgorithm
2017-07-18 19:41:33 +10:00