64039 Commits

Author SHA1 Message Date
Nyall Dawson
33f31d826a Fix QgsGeometry::asQPolygonF doesn't handle multipolygon inputs
gracefully
2020-07-03 04:03:47 +10:00
Alessandro Pasotti
766e0b290e
Merge pull request #37520 from elpaso/sslmode-pg-conn
Fix unreported sslmode storage from connections API
2020-07-02 08:30:11 +02:00
root676
c409228628 add feedback->canceled check 2020-07-02 15:03:51 +10:00
root676
bf24bd1666 more parameter name fixes 2020-07-02 15:03:51 +10:00
root676
89807a6535 fix REFERENCE_LAYER parameter name 2020-07-02 15:03:51 +10:00
root676
922586d103 fix input parameter name 2020-07-02 15:03:51 +10:00
root676
bf3f75e8da fix redundant noData logic 2020-07-02 15:03:51 +10:00
root676
f72c367d35 rerun style script 2020-07-02 15:03:51 +10:00
root676
084190bbd1 update test and testdata 2020-07-02 15:03:51 +10:00
root676
7383238cf3 optimize standard deviation method 2020-07-02 15:03:51 +10:00
root676
371f7b29af update helpstring 2020-07-02 15:03:51 +10:00
root676
9655f77000 allow cancellation with slow data sources 2020-07-02 15:03:51 +10:00
root676
95cd14d682 expose advanced NoData parameter 2020-07-02 15:03:51 +10:00
root676
504506388b Use enum in statistic method parameter 2020-07-02 15:03:51 +10:00
root676
2d2ad2c5f8 fix NoData handling in getCellValuesFromBlockStack() 2020-07-02 15:03:51 +10:00
root676
4181149a2c fix unused variable 2020-07-02 15:03:51 +10:00
root676
294ad083ed optimize varianceFromCellValues() 2020-07-02 15:03:51 +10:00
root676
cf6e634d60 optimize memory reservation in getCellValuesFromBlockStack() 2020-07-02 15:03:51 +10:00
root676
bf7a47a884 support cancelling for slow datasources 2020-07-02 15:03:51 +10:00
root676
b2b8fefc70 add support for correct output raster datatypes 2020-07-02 15:03:51 +10:00
root676
56a590eb7a implement count function, implement Ignore NoData Parameter, move getCellValuesFromBlockStack() to QgsRasterAnalysisUtils 2020-07-02 15:03:51 +10:00
root676
d977db4ca6 fix typo 2020-07-02 15:03:51 +10:00
root676
76690bf8ee add cellstatistics alg tests 2020-07-02 15:03:51 +10:00
root676
9d079a72d3 add algorithm icon 2020-07-02 15:03:51 +10:00
root676
268ed25874 register cellstatistics alg 2020-07-02 15:03:51 +10:00
root676
bc74bbf5bd [feature] native cellstatistics algorithm 2020-07-02 15:03:51 +10:00
SrNetoChan
72c0c245e2 Rename JSON help file to match function name 2020-07-02 15:03:16 +10:00
SrNetoChan
d097adeacd Add groups to function_help files 2020-07-02 15:03:16 +10:00
Nyall Dawson
e170b7127e Remove totally broken Qt version check logic, simplify code 2020-07-02 15:00:42 +10:00
Nyall Dawson
9efdcc0ab9 Fix broken test 2020-07-02 12:07:51 +10:00
Nyall Dawson
5b8af77578 Rename enum values for clarity 2020-07-02 12:07:51 +10:00
Nyall Dawson
992d5f3919 Try to fix test failure on Travis 2020-07-02 12:07:51 +10:00
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