58242 Commits

Author SHA1 Message Date
Matthias Kuhn
328f365b16
Merge pull request #31951 from troopa81/feature_update_layer_selection_from_relation_editor
Feature update layer selection relation widgets
2019-10-29 08:32:32 +01:00
Matthias Kuhn
3daf24c716
Merge pull request #32176 from 3nids/clear_warning
prevent clearing selection in QgsFeatureListView
2019-10-29 08:07:24 +01:00
Matthias Kuhn
49700d01ff
Merge pull request #32461 from m-kuhn/stringToFeatureListDefaultValues
Add default values to QgsJsonUtils::stringToFeatureList
2019-10-29 07:48:23 +01:00
Juergen E. Fischer
bd1b27087d fix qgis release name 2019-10-29 01:12:29 +01:00
Nyall Dawson
5be319157f Fix memory leak 2019-10-29 07:47:33 +10:00
Matthias Kuhn
72ebbc0688 Add default values to QgsJsonUtils::stringToFeatureList
Because we can assume the user does not care for fields if he does not specify
them and that UTF-8 is the default except when it's not.
2019-10-28 17:22:12 +01:00
Alessandro Pasotti
f69d7f8f83
Merge pull request #32435 from elpaso/connections-db-api-tables-table_uri
Connections db api tables table uri
2019-10-28 15:18:21 +01:00
Alexander Bruy
9b93f48f6e
Merge pull request #32455 from alexbruy/processing-setting
[processing] allow to select files without suffix in the Processing options dialog
2019-10-28 16:01:15 +02:00
Julien Cabieces
e8d1a236d3 Update ui when linking feature for any relation type 2019-10-28 12:00:17 +01:00
Julien Cabieces
b23a972be2 fix bad use of getSelectedFeatures 2019-10-28 11:43:07 +01:00
Julien Cabieces
ba00513b7f Update buttons when initiliazing 2019-10-28 11:37:03 +01:00
Juergen E. Fischer
03baeea083 fix python constructor for QgsPoint (does not accept QgsPointXY & QPointF anymore)
fixes #32443
2019-10-28 11:16:44 +01:00
Alexander Bruy
094359f7b2 [processing] allow to select files without suffix in the Processing
options dialog
2019-10-28 11:07:57 +02:00
Julien Cabieces
157dca2d13 Complete doc 2019-10-28 09:57:55 +01:00
Julien Cabieces
c449651a60 fix doc 2019-10-28 09:50:13 +01:00
Julien Cabieces
2f0e3b2602 make slots private
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-10-28 09:50:13 +01:00
Julien Cabieces
1e2abf9b59 Filter selected feature to the related feature parent 2019-10-28 09:50:13 +01:00
Julien Cabieces
3c24de55e1 [FEATURE][needs-docs] Update vector layer selection from feature
selection dialog
2019-10-28 09:50:13 +01:00
Julien Cabieces
485db34e56 [FEATURE][needs-docs] Update vector layer selection from relation
editor widget
2019-10-28 09:50:13 +01:00
Alessandro Pasotti
ce5405f136 Added since to new API methods 2019-10-28 09:25:40 +01:00
nirvn
b9d219e19b Fix map renderer world file not taking into account complete base name 2019-10-28 15:24:45 +07:00
Nyall Dawson
d7059d0dfd More spelling 2019-10-28 14:34:30 +10:00
Nyall Dawson
64a19b462d Fix test image 2019-10-28 14:34:30 +10:00
Nyall Dawson
9bc9808e4e Dox++ 2019-10-28 14:34:30 +10:00
Nyall Dawson
1ef5b1f4c2 Remove redundant code 2019-10-28 14:34:30 +10:00
Nyall Dawson
a58012545d Bump default point count to 10 2019-10-28 14:34:30 +10:00
Nyall Dawson
a4d20a0e50 Indentation 2019-10-28 14:34:30 +10:00
Nyall Dawson
d64666559a Spelling 2019-10-28 14:34:30 +10:00
Nyall Dawson
52dba5db77 Add unit tests for multipolygon random marker fill 2019-10-28 14:34:30 +10:00
Nyall Dawson
f373203d18 Newly created random marker fills should default to a new random seed,
rather then the "randomized" seed setting

Having seeded random fills by default is much more predicatable and
expected behavior for users
2019-10-28 14:34:30 +10:00
Nyall Dawson
5aa6d65d1f Remove duplicate files 2019-10-28 14:34:30 +10:00
Nyall Dawson
affbae36b5 Unit tests for random marker fill 2019-10-28 14:34:30 +10:00
Nyall Dawson
57d977cf8a Add sip cast for random marker fill 2019-10-28 14:34:30 +10:00
Nyall Dawson
351970e1c2 Dox, spelling 2019-10-28 14:34:30 +10:00
Nyall Dawson
2a7f9c32c7 Add missing const 2019-10-28 14:34:30 +10:00
Nyall Dawson
e8b8867c50 wip 2019-10-28 14:34:30 +10:00
Nyall Dawson
491a4a794d Provide hooks for symbol layers to notify them before and after
rendering operations on a specific feature are performed

This allows symbol layer subclasses to know when a set of rendering
operations all relate to a single feature, e.g. when a number
of polygons are rendered which all belong to the same multi-polygon
geometry attached to a single feature.

Without these hooks, symbol layer subclasses have no stable method
of knowing that these parts all relate to a single feature, or
have no means of knowing when the final part of that feature has
been rendered.
2019-10-28 14:34:30 +10:00
Nyall Dawson
b5e92d41f5 [FEATURE] Random marker fill symbol layer type
This commit adds a new fill symbol layer type "Random marker fill". It
allows polygon features to be rendered using a marker symbol placed
at random locations within the polygon boundary.

Options include:
- number of marker symbols to render for the polygon
- whether markers rendered near the edges of polygons should be clipped
to the polygon boundary or not
- an optional random number seed, to give consistent placement
of markers whenever maps are refreshed (also allows random placement
to play nice with QGIS server and tile-based rendering)

Sponsored by the SLYR project
2019-10-28 14:34:30 +10:00
Even Rouault
fc6d01b77a
Merge pull request #32437 from rouault/fix_compilation_qt_5_9_0
Fix compilation with QT 5.9.0
2019-10-27 13:30:49 +01:00
Even Rouault
6c02dbab22
fcnGenericHash(): emit error message if request hash method isn't available 2019-10-27 09:40:08 +01:00
Jorge Gustavo Rocha
b4f800f23a use CURRENT_USER in insert and updates queries, to support older layer_styles tables 2019-10-27 10:28:03 +10:00
Jorge Gustavo Rocha
28e837ab48 fill username from current_user on the server side for Postgresql 2019-10-27 10:28:03 +10:00
Borys Jurgiel
651e380eae Fix recent project menu showing projects from custom storages as unavailable. Fixes #32193 2019-10-27 10:25:42 +10:00
Harrissou Sant-anna
47eb526cf2 Disable label shadow frame by default 2019-10-27 10:24:19 +10:00
Harrissou Sant-anna
e73c07b097 Show more DD buttons when setting background of text format
Currently they are only shown in labels settings dialog
2019-10-27 10:21:21 +10:00
Harrissou Sant-anna
28bcd7eb8a Hide useless widgets for text brackground with marker symbol
avoiding people trying desperately to enable these settings while they can't.
2019-10-27 10:20:49 +10:00
Nyall Dawson
626d83d033 Add unit tests 2019-10-27 10:07:04 +10:00
Nyall Dawson
aa962b5da0 [FEATURE] Add option to set color for rendering nodata pixels in raster layers
Allows raster nodata pixels to be colored in a specific (non-transparent) color.
Designed to match the "Display background value" option from ArcMap.

Sponsored by SLYR

Fixes #26087
2019-10-27 10:07:04 +10:00
Matthias Kuhn
aa3ba9d119
Merge pull request #32125 from m-kuhn/db_manager_select_geom_type
[db_manager] Allow selecting geometry type in context menu
2019-10-26 19:54:23 +02:00
Even Rouault
6665fe0621
Fix compilation with QT 5.9.0 2019-10-26 19:40:33 +02:00