46475 Commits

Author SHA1 Message Date
Juergen E. Fischer
ad224991ec fix xenial (Qt <5.7) build 2018-03-08 09:50:33 +01:00
Nyall Dawson
5710709c72 Add extra hash to processing hillshade test
At this stage the raster processing tests just test that the
algorithm executes, and generates an output file - there's
no way to validate that the provided hashes are valid
outputs or not
2018-03-08 09:40:07 +10:00
Salvatore Larosa
29f6884a23 Fixes #18375 - fix API break 2018-03-07 23:23:47 +01:00
Nyall Dawson
35b5c7820a Add test that AFS provider gets renderer by default 2018-03-07 16:28:47 +11:00
Nyall Dawson
7a3415257b Add unit tests for ArcGIS rest style parsing 2018-03-07 16:28:47 +11:00
Nyall Dawson
6002cc400a [FEATURE][afs] Automatically set default style for layers
to match the server's rendering information.

Means that when an AFS layer is loaded into QGIS, it will
automatically have the same style applied as has been created
for that layer, matching the appearance of the layer when it
is loaded into ArcGIS.

Fixes #13349
2018-03-07 16:28:47 +11:00
Nyall Dawson
678f65853a Allow QgsVectorDataProviders to create QgsFeatureRenderers
Implements https://github.com/qgis/QGIS-Enhancement-Proposals/issues/111

Adds support to QgsVectorDataProvider to create vector layer renderers
using provider-specific backend information.
2018-03-07 16:28:47 +11:00
Mathieu Pellerin
b42c893bbc
[FEATURE] color_grayscale_average() and color_mix_rgb() expression functions (#6554) 2018-03-07 11:59:52 +07:00
Denis Rouzaud
0a639192a2 Revert "allow to save a Docker deps image for PR having [dockerdeps] in their message" 2018-03-06 16:48:50 -09:00
Nyall Dawson
227f706287 [processing] Add operators for parameter type flags, push warning
to message log for duplicate parameter registration
2018-03-07 09:45:09 +10:00
Luigi Pirelli
74d14ae3d4
Merge pull request #6414 from alexispolti/fix-project-path
Fix project path when path contains a symbolic link
2018-03-06 23:46:08 +01:00
Matthias Kuhn
5d526794ab Remove leftover file 2018-03-07 09:00:33 +11:00
Matthias Kuhn
a61efddc32 Only expose supported parameters to modeler 2018-03-07 09:00:33 +11:00
Matthias Kuhn
c3a843619f Use flags for parameter type extra info 2018-03-07 09:00:33 +11:00
Matthias Kuhn
e3dabac78a Only add parameter when it is new 2018-03-07 09:00:33 +11:00
Matthias Kuhn
f22acb93b7 License headers 2018-03-07 09:00:33 +11:00
Matthias Kuhn
0d00491436 s/Modeller/Modeler/ 2018-03-07 09:00:33 +11:00
Matthias Kuhn
569b39b257 Code and doc improvements 2018-03-07 09:00:33 +11:00
Matthias Kuhn
b5672d7a23 API documentation 2018-03-07 09:00:33 +11:00
Matthias Kuhn
542910e9da Add QgsProcessingParameterType tests 2018-03-07 09:00:33 +11:00
Matthias Kuhn
eeb6f44df7 Some addition error case info 2018-03-07 09:00:33 +11:00
Matthias Kuhn
e67939b183 Fix editing models with custom params 2018-03-07 09:00:33 +11:00
Matthias Kuhn
cb84b832f9 Add log output in case of loading models with missing parameters 2018-03-07 09:00:33 +11:00
Matthias Kuhn
6bad21f78a Avoid freeze by infinite recursion 2018-03-07 09:00:33 +11:00
Matthias Kuhn
53cf1a1977 Fix processing parameter type ids 2018-03-07 09:00:33 +11:00
Matthias Kuhn
9f76c4171c Fix parameter name rendering problem 2018-03-07 09:00:33 +11:00
Matthias Kuhn
a1fc70f88d Improved error reporting for unknown parameters 2018-03-07 09:00:33 +11:00
Matthias Kuhn
cdef548cb8 Fix Fields Mapping parameter id 2018-03-07 09:00:33 +11:00
Matthias Kuhn
926969fd3f Better tooltips and expose Raster Band parameter 2018-03-07 09:00:33 +11:00
Matthias Kuhn
9688bc2734 Remove crap API 2018-03-07 09:00:33 +11:00
Matthias Kuhn
16e2aad293 Use translated parameter names for sorting 2018-03-07 09:00:33 +11:00
Matthias Kuhn
031aa9c0e4 Better error reporting for model exception 2018-03-07 09:00:33 +11:00
Matthias Kuhn
a337d2050b Make use of new processing parameter infrastructure 2018-03-07 09:00:33 +11:00
Matthias Kuhn
2145865a42 Metadata and modeller exposure support 2018-03-07 09:00:33 +11:00
Matthias Kuhn
ff7b831b9d Remove private implementations from python bindings 2018-03-07 09:00:33 +11:00
Matthias Kuhn
1fd74234b4 Add processing parameter type definitions 2018-03-07 09:00:33 +11:00
Alexis Polti
5b2c81bdea Fix project path when path contains a symbolic link 2018-03-06 22:50:07 +01:00
Nyall Dawson
2bc30c7365 Less debug noise when rendering svg files 2018-03-07 07:45:49 +10:00
Matthias Kuhn
f76cb58243
Merge pull request #6536 from m-kuhn/searchWidgetRecursionTrap
Avoid freezing attribute form with recursion
2018-03-06 11:15:13 -05:00
Matthias Kuhn
e969584ad9 Avoid freezing attribute form with recursion
The search widget wrappers for relations have two issues

* They recursively load whatever relations are defined. With self-referencing this leads to 💀
  This is addressed by only loading one level of relations in search widgets.

* They would load even when hidden, leading to long load times on attribute table opening.
  We now only actually load the form on the show event
2018-03-06 09:46:44 -05:00
Matthias Kuhn
734ea374d0
Merge pull request #6532 from Gustry/tooltip
[dbmanager] move shortcut in the tooltip
2018-03-06 09:45:18 -05:00
Sandro Mani
5bf28d56b6
Merge pull request #6533 from manisandro/wms_filter_geom_crs
Ensure FILTER_GEOM is transformed to layer CRS in GetFeatureInfo
2018-03-06 15:28:33 +01:00
Denis Rouzaud
ec975ba6f7
Merge pull request #6516 from 3nids/pr_push_deps
allow to save a Docker deps image for PR having [dockerdeps] in their message
2018-03-06 04:32:37 -09:00
Etienne Trimaille
24259ae890 [dbmanager] move shortcut in the tooltip 2018-03-06 13:51:14 +01:00
Alessandro Pasotti
283f3b8e33 Don't crash when loading a project with unreachable wfs layers 2018-03-06 13:42:39 +01:00
Sandro Mani
184480bcd6 Ensure FILTER_GEOM is transformed to layer CRS in GetFeatureInfo 2018-03-06 13:16:36 +01:00
Nyall Dawson
05484dceb6 [FEATURE][processing] Rotate features algorithm
Allows rotation of features by a set angle.

The rotation can occur around a preset point or the individual
feature's centroids.
2018-03-06 19:21:00 +11:00
Nathan Woodrow
f2e8c37ee5
[needs-docs] Add else rule UI option in rule based widget (#6529)
* [needs-docs] Add else rule UI option in rule based widget

* Review fixes
2018-03-06 16:48:05 +10:00
Alexander Bruy
44895084d9
Merge pull request #6525 from nyalldawson/segmentize
[FEATURE][processing] Add "segmentize" algorithms
2018-03-06 08:27:52 +02:00
Salvatore Larosa
9edaf82874 fix spacing between label and icon in widget layer properties 2018-03-06 12:39:55 +07:00