29970 Commits

Author SHA1 Message Date
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
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
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
cb84b832f9 Add log output in case of loading models with missing parameters 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
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
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
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
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
Nyall Dawson
93f805cd09 Fix adding parts to curved polygon types fails 2018-03-06 15:20:34 +11:00
nirvn
0d92f96f42 [FEATURE][processing] allow to create points on all parts in centroids alg 2018-03-06 10:44:08 +07:00
nirvn
0630b1c736 [FEATURE][processing] allow to create points on all parts in point on surface alg 2018-03-06 10:44:08 +07:00
Nyall Dawson
a30403dcbe Rename QgsProject::projectDirty to isDirtyChanged
Also show unsaved status in title bar even when project has
not been first saved
2018-03-06 11:57:51 +10:00
Nyall Dawson
51286d906f [layouts] Correctly set project dirty for more editing operations 2018-03-06 12:06:27 +11:00
Nyall Dawson
d73c7758a1 Also update layout designer title bar to reflect unsaved changes
indicator
2018-03-06 12:06:27 +11:00
Nyall Dawson
d4a3520bc9 [hig] Show standard '*' prefix in application title bar when project
has unsaved changes

E.g.

'*my project - QGIS'
2018-03-06 12:06:27 +11:00
Nyall Dawson
7ffc148e35 [oracle] Fix provider
The oracle provider is quite broken on 3.0 for tables which require
a feature id map.

This is due to QMap<QVariant,..> not working correctly when the
keys are QVariantLists on Qt5. We had a similar issue with the
postgres provider which was resolved by changing the map
to always use QVariantLists.

Apply the same fix to oracle.

Fixes #18289, #16869, #17738
2018-03-06 10:27:30 +11:00
Nyall Dawson
454cce89f1 Don't try to render non-finite points
They occur as a result of reprojection errors, and cause a line
to be extend to the top-left of the canvas.

Fixes #9392
2018-03-06 10:26:52 +11:00
Nyall Dawson
5b8599e9bb Strip non-spatial and nullptrs from list when calling
QgsMapSettings::setLayers

Since neither can be rendered, we filter them from the list
of layers to be rendered in the map.
2018-03-06 07:50:26 +11:00
Nyall Dawson
8e4b8a9518 Ensure that non-spatial layers are never set as canvas layers 2018-03-06 07:50:26 +11:00
Blottiere Paul
7c3ab9f135
Merge pull request #6268 from pblottiere/dbmanager_stop
[FEATURE][needs-docs] dbmanager stop
2018-03-05 09:47:16 +00:00
Alessandro Pasotti
7aa830430f
Merge pull request #6519 from elpaso/server-tempfile-fix
[bugfix][server] Fix temporary path permission issue
2018-03-05 09:12:37 +01:00
Nathan Woodrow
993b9fd4ab Rename Welcome Page action to Close Project 2018-03-05 15:44:41 +10:00
Nathan Woodrow
8d2b3be267 Fix docs on projectDirty 2018-03-05 15:16:26 +10:00
Nathan Woodrow
894c550641 Add projectDirty signal for QgsProject 2018-03-05 15:13:00 +10:00
Nyall Dawson
a76fb0b469 [pal] Fix invalid candidates created for parallel line labeling
mode when a closed linestring is too small for labels to fit
within feature

Fixes #18283
2018-03-05 12:36:30 +11:00
Nyall Dawson
d7aec7cc5f
Merge pull request #6418 from klavspc/bookmarklocator
[FEATURE][locator] Add bookmark search to locator bar
2018-03-05 12:09:28 +11:00
Harrissou Sant-anna
c6a5c9937f still indentation... 2018-03-05 12:08:15 +11:00
Harrissou Sant-anna
ce7df8517a Fix indentation 2018-03-05 12:08:15 +11:00