58221 Commits

Author SHA1 Message Date
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
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
Juergen E. Fischer
0edd2777e7 debian packaging: instant client paths 2019-10-26 13:51:56 +02:00
Juergen E. Fischer
27b5646a05 fix windows build 2019-10-26 13:51:56 +02:00
Juergen E. Fischer
58932e8317 fix doc installation 2019-10-26 13:51:56 +02:00
Giovanni Manghi
414807a74f fix typo 2019-10-26 21:14:37 +10:00
Giovanni Manghi
76bc160612 change v.voronoi description 2019-10-26 21:14:37 +10:00
Giovanni Manghi
0fee816414 fixes again GRASS7 v.voronoi 2019-10-26 21:14:37 +10:00
rldhont
9a25569ae5
Merge pull request #32342 from rldhont/server-wms-fix-restore-style
[Server] WMS: Use QGIS Style instead of SLD to restore layer style
2019-10-26 10:23:29 +02:00
rldhont
266898b899
Merge pull request #32340 from rldhont/server-wms-getstyles-textsymbolizer-master
[Server] Add TextSymbolizer to SLD provided by WMS GetStyles request
2019-10-26 10:22:55 +02:00
rldhont
aed575e940
Merge pull request #32216 from rldhont/server-wfs-force-multi-geom-gml-master
[Server] WFS Service: force Geometry to Multi in GML to be compliant with XML schema provided by DescribeFeatureType
2019-10-26 10:22:07 +02:00
Sebastian Niklasch
1a45936595 prevent AttributeError
If os.path.isfile(sqlite_cache_file) is False, the Attribute cache_connection was not assigned and so an Attribute Error occured in the following lines.
2019-10-26 15:59:39 +10:00
lbartoletti
a7c766e41e Take a geometry copy instead of shared object 2019-10-26 10:55:15 +10:00
lbartoletti
a7cfcac68e update test 2019-10-26 10:55:15 +10:00
lbartoletti
f774f0d0c3 fix Z for topological editing when the dock widget is enabled 2019-10-26 10:55:15 +10:00
lbartoletti
6fbc0c8d94 take Z only for topology eiditing 2019-10-26 10:55:15 +10:00
lbartoletti
8e9d8e7dca do the interpolation on the geometry instead using interpolatedPoint method 2019-10-26 10:55:15 +10:00
lbartoletti
58a3540d05 [needs-docs] add interpolate Z on segment snapping 2019-10-26 10:55:15 +10:00