58227 Commits

Author SHA1 Message Date
Nyall Dawson
5be319157f Fix memory leak 2019-10-29 07:47:33 +10: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
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
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
Alessandro Pasotti
7744ee3f41 Fix test for GDAL < 2.4 2019-10-26 17:25:34 +02:00
Alessandro Pasotti
aa92ef3576 DB connections API: add table() and tests
This method allows to retrieve information
about a single table.
2019-10-26 16:20:03 +02:00
Alessandro Pasotti
a070020cbb Add DB connection tableUri method
This allows to construct a data source URI string to load a table layer
from the DB connections.

!!
RASTER is still TODO
!!
2019-10-26 16:20:03 +02:00
Alessandro Pasotti
994691908a Cleanup connection URI when created from layer uri
This allows you to create a connection from a layer data source URI
without the need to manually remove parts of the uri that do not
belong to the connection.
2019-10-26 16:20:03 +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