Nyall Dawson
1851ba31fa
Avoid clipped labels when painter clipping path region is active
2020-07-02 12:07:51 +10:00
Nyall Dawson
4e815b92d3
Respect clip region when rendering diagrams
2020-07-02 12:07:51 +10:00
Nyall Dawson
e028067926
Ensure map clip region is correctly handled during labeling
...
We don't want labels to be positioned using unclipped feature
geometries, rather we want them to be positioned nicely on the
visible portions of features
2020-07-02 12:07:51 +10:00
Nyall Dawson
5cbdc4c896
Ensure feature clipping occurs for render only, and doesn't affect
...
feature geometry when used in rule based renderers and other
geometry dependent rendering options
2020-07-02 12:07:51 +10:00
Nyall Dawson
9ec6c21355
Respect painter clipping regions during vector tile rendering
2020-07-02 12:07:51 +10:00
Nyall Dawson
2a17e7b06f
[vectortiles] Don't overwrite existing QPainter clip regions
...
This can overwrite valid clip regions setup outside of the vector tile
renderer, e.g. by a layout map item.
Fixes #37443
2020-07-02 12:07:51 +10:00
Nyall Dawson
7af9090743
Add QgsScopedQPainterState class for scoped save/restore calls
...
to a QPainter object
2020-07-02 12:07:51 +10:00
Nyall Dawson
3f7320d96a
Respect painter clip region when rendering mesh layers
2020-07-02 12:07:51 +10:00
Nyall Dawson
bbd5d80e71
Add method to set a list of clipping regions for QgsMapSettings
2020-07-02 12:07:51 +10:00
Nyall Dawson
9a97892107
Respect map clipping regions during raster layer rendering
2020-07-02 12:07:51 +10:00
Nyall Dawson
0e67b65f8d
Apply painter clip regions when rendering vector layers
2020-07-02 12:07:51 +10:00
Nyall Dawson
30a3582a61
More tests
2020-07-02 12:07:51 +10:00
Nyall Dawson
291dbe8cba
Apply clipping regions with Intersect mode during vector layer rendering
2020-07-02 12:07:51 +10:00
Nyall Dawson
e4150b2354
Respect clipping intersects regions when rendering vector layers
2020-07-02 12:07:51 +10:00
Nyall Dawson
b10b16941b
New class QgsMapClippingUtils with utility functions for helping
...
with map clipping
2020-07-02 12:07:51 +10:00
Nyall Dawson
b5ae07869e
Add api to determine if a clip region applies to a particular layer
2020-07-02 12:07:51 +10:00
Nyall Dawson
e38bb541a6
Add clipping regions to QgsMapSettings/QgsRenderContext API
2020-07-02 12:07:51 +10:00
Nyall Dawson
04f51371fc
Create new class QgsMapClippingRegion, for encapsulation of an area
...
and method to use to clip a map render
2020-07-02 12:07:51 +10:00
Mickael Savinaud
a9eb7181e6
Fix OTB icon which is not render into QGIS Processing
2020-07-02 08:27:55 +10:00
Alessandro Pasotti
9b13534c5d
Browser: fix GPKG sublayers and empty DBs
...
Fixes #37519
2020-07-02 08:27:14 +10:00
Matthias Kuhn
9360515dc3
Immediately liberate connection of expression value gatherer
...
This fixes a deadlock
The iterator as a member as previously implemented kept connections
occupied for as long as the gatherer existed. This could lead to a
situation, where all connections have been reserved from finished
gatherers which were waiting to be deleted (through deleteLater),
but deleteLater would never happen because the main thread was
waiting for a connection to become available.
Fixes https://github.com/qgis/QGIS/issues/37496
2020-07-02 08:26:50 +10:00
Håvard Tveite
2a786aede2
[feature][processing] Random points in polygons C++ algorithm
...
Offers the same functionality as the Random points inside polygons
algorithm, and in addition it includes (possible to opt-out) the attributes
from the containing polygon and the ability to specify a seed for the random
number generator.
Could replace the Python algorithm Random points inside polygons, but
this C++ implementation only supports "Points count" ("number of points
for each feature") directly, while "Points density" is supported by allowing the
point count to be data defined (using the polygon area to calculate the
number of points).
2020-07-02 08:25:42 +10:00
Denis Rouzaud
0ea4fe0c87
small CMakeList cosmetic change
2020-07-02 05:06:32 +10:00
Vincent Cloarec
6be16a5bfe
Memory dataset group and possibility to persist it ( #37389 )
...
[FEATURE] Introduces memory dataset groups for mesh layer. These dataset groups are temporary and are not kept when the project is closed.
Memory dataset groups can be created from the mesh calculator with a new option.
Allows the possibility to remove or save these memory dataset groups to a file with specified driver.
2020-07-01 10:18:27 +02:00
Alexander Bruy
6068c64ce5
Merge pull request #37456 from alexbruy/gamma-correction
...
Gamma correction filter for raster layers
2020-07-01 10:44:41 +03:00
Alexander Bruy
6a6f7ff885
typo
2020-07-01 07:01:58 +03:00
uclaros
059f9fadd8
Vertex tool should not select invisible features
...
Fixes : #25259
2020-07-01 08:27:12 +10:00
Germán Carrillo
f758b96f54
Normalize action scope checkbox labels
2020-07-01 08:24:48 +10:00
Alexander Bruy
9734b76e59
doxymentation
2020-06-30 16:01:26 +03:00
Alexander Bruy
0214b4f01a
move gamma correction code inside brightness/contrast filter
2020-06-30 15:42:33 +03:00
Alexander Bruy
cfa5c5bf83
fix tests
2020-06-30 15:42:33 +03:00
Alexander Bruy
e87aa998a7
fix some deprecation warnings in the QgsRasterLayer Python test
2020-06-30 15:41:57 +03:00
Alexander Bruy
ce3cc7c14a
rendering test for raster brightness/contrast filter
2020-06-30 15:41:57 +03:00
Alexander Bruy
2f91b9782d
fix comment
2020-06-30 15:41:57 +03:00
Alexander Bruy
af2870bb51
rendering test for gamma correction filter
2020-06-30 15:41:57 +03:00
Alexander Bruy
4b799171bd
add gamma controls to the styling dock
2020-06-30 15:41:57 +03:00
Alexander Bruy
f37ac2ef2c
add gamma controls to the raster layer properties
2020-06-30 15:41:57 +03:00
Alexander Bruy
ccae627afe
add increase/decrease gamma buttons to the raster toolbar
2020-06-30 15:41:57 +03:00
Alexander Bruy
80544696b4
gamma correction filter pipe for rasters ( fix #13512 )
2020-06-30 15:41:57 +03:00
nirvn
c0197371fe
Minimum year possible in project properties temporal extent should be 1
2020-06-30 14:29:59 +07:00
nirvn
4f04fbc129
Minimum year possible in layout map item temporal extent should be 1
2020-06-30 14:29:59 +07:00
Nyall Dawson
2ed914ff67
Minimum year possible in temporal controller should be 1
...
Fixes #37485
2020-06-30 12:48:56 +10:00
Nyall Dawson
5b85cb93c1
Sipify
2020-06-30 12:07:21 +10:00
Nyall Dawson
de74ef6d96
Some more detailed project loading time profiling for layout loading
2020-06-30 07:47:43 +10:00
Nyall Dawson
89298373e0
[mssql] Reallow creating connections with empty provider/dsn strings
...
Fixes #37427
2020-06-30 07:47:25 +10:00
Nyall Dawson
62b88463cc
[processing] Fix default extent is not shown in extent widget
...
Fixes #37447
2020-06-30 07:47:03 +10:00
Alessandro Pasotti
1eb778eacf
Merge pull request #37477 from elpaso/bugfix-gh37463-gpkg-storage-utf8-on-windows
...
Fix GPKG project storage with UTF8 names on windows
2020-06-29 16:01:03 +02:00
Alessandro Pasotti
69bcbeee70
Fix GPKG project storage with UTF8 names on windows
2020-06-29 13:30:11 +02:00
Alessandro Pasotti
fb9df9f6de
Merge pull request #37457 from elpaso/bugfix-gh37449-raster-float64-quantile-histogram
...
Fix raster quantile with float
2020-06-29 08:58:11 +02:00
Alessandro Pasotti
b18b92728f
Merge pull request #37455 from elpaso/bugfix-gh37448-raster-quantile-broken
...
Fix raster quantile classification
2020-06-29 08:57:49 +02:00