18796 Commits

Author SHA1 Message Date
Matthias Kuhn
4edd44ae63 Add getter for QgsLocatorResults.userData
References https://github.com/opengisch/qgis-swiss-locator/issues/9
2020-12-06 08:43:56 +01:00
Nyall Dawson
4d9bc5bac3 Move responsibility for determining whether a map renderer job requires
flattening onto a temporary image to the QgsMapLayerRenderer subclasses

This avoids the generic QgsMapRendererJob class from having hardcoded
layer type dependent behavior, and instead moves that layer-type specific
logic to the subclasses designed for that particular layer
2020-12-05 05:51:38 +10:00
Nyall Dawson
da162726e4 Support contrast enhancement and manual selection of RGB attributes
in 3d RBB point cloud renderer
2020-12-04 16:07:07 +07:00
Alessandro Pasotti
6d2be40017
Merge pull request #40399 from elpaso/server-profiler
Server profiler
2020-12-04 09:33:18 +01:00
Nyall Dawson
def587fa77 [pointclouds] Add an extent only 2d renderer for point clouds
Useful when you just want an overview of the bounds of the layer in a
2d map. Also potentially usable as a temporary renderer for las/laz
files while we build the indexed representation of the file in the
background.
2020-12-04 17:44:23 +10:00
Nyall Dawson
2f14a53467 Cleanup identification handling of 3d point cloud symbol subclasses,
and fix loss of symbol type when saving/restoring projects
2020-12-04 16:36:41 +10:00
NEDJIMAbelgacem
14a770282b fix doc 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
05d6edc604 refactor storing rendering style enum 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
7f26477c81 add comparison operator for QgsColorRampShader 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
955eaff38f Address reviews 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
d6a6d9ba64 fix SIP 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
70f96b0179 Use rendering context instead of passing the symbol to the handler 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
05149fa76f move handler to qgspointcloud3dsymbol_p 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
a271e819bb split the point cloud handler 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
27221617d6 try to fix compilation 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
67a4cc44ce refactor the attributes and vertex buffer code 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
7b9725a245 move material stuff to symbol classes 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
f4b9f72211 move point size to QgsPointCloud3DSymbol 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
d97b29139b remove NoRendering symbol 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
d0cb30e189 Add RGB rendering 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
015f306f84 fix documentation check 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
5e76bc6fcb Change rendering parameter to point cloud attributes 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
376671215a fix broken see also 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
095ac5230e Add NoRendering symbol 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
3979b47ed1 Split QgsPointCloud3DSymbol into different classes 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
7e2528427c Implement color ramp shader stuff 2020-12-03 22:27:20 +01:00
Alessandro Pasotti
45e5ce0091
Merge pull request #40380 from troopa81/fix_ogcapi_exception_message
[PyQGIS] Display Exception message when raised in python plugin ogcapi handler
2020-12-03 14:23:10 +01:00
Matthias Kuhn
e1d4cf9f44
Merge pull request #40248 from vcloarec/selectContextMenu
select feature context menu
2020-12-03 09:29:34 +01:00
Julien Cabieces
dca78ee868 Display Exception message when raised in python plugin ogcapi handler 2020-12-03 09:27:07 +01:00
Nyall Dawson
762ee09e81 Spelling, sip 2020-12-03 07:23:44 +01:00
Nyall Dawson
c48f29a8b9 Add choice of point style for 2d point cloud renders
Options are Square or Circle shapes
2020-12-03 07:23:44 +01:00
Nyall Dawson
19fdf11976 Code cleanup 2020-12-03 07:23:44 +01:00
Nyall Dawson
666479494b [pointclouds] Add a classified 2d renderer for point clouds
Allows styling point cloud layers by a classification attribute
2020-12-03 07:23:44 +01:00
Nyall Dawson
b3255c4cfd Hookup some more support for toggling point cloud legend items 2020-12-03 07:23:44 +01:00
Nyall Dawson
91048d4be8 Add possibility for point cloud renderers to create checkable legend nodes
(not implemented for any renderers yet)
2020-12-03 07:23:44 +01:00
Nyall Dawson
9bcdcf687a Add possibility for QgsRasterSymbolLegendNode nodes to be checked (API only, doesn't actually expose support for checkable raster classes!) 2020-12-03 07:23:44 +01:00
Nyall Dawson
902cb3debd Move QgsSymbolLegendNode checkAll/uncheckAll/toggle methods up to
QgsLayerTreeModelLegendNode base class

Preparing the way for other legend node types to offer checkable support
2020-12-03 07:23:44 +01:00
Nyall Dawson
2d325940a9 Add method to QgsPointCloudDataProvider to retrieve a polygon representing
the best available indication of the actual point cloud bounds
2020-12-03 07:18:07 +01:00
Nyall Dawson
26fb54ef0f Add pointCount to QgsPointCloudLayer 2020-12-03 07:18:07 +01:00
vcloarec
ac19bd3212 typo, lambda and other minor fixes 2020-12-03 01:25:41 -04:00
Vincent Cloarec
761831e6ec
fix displaying enabled/disable mesh dataset group 2020-12-03 07:32:17 +10:00
vcloarec
c79123bcb8 cppcheck-suppress memleak and fix typo 2020-12-02 11:08:15 -04:00
Alessandro Pasotti
a470c025ca Server profiler 2020-12-02 13:55:27 +01:00
Nyall Dawson
6a6b77a145 Implement legends for point clouds with the Attribute By Ramp renderer 2020-12-02 21:58:02 +10:00
Loïc Bartoletti
d6ac6c4029 Fix since version for bisector method 2020-12-02 19:46:13 +10:00
Nyall Dawson
ecd486499c Add method to retrieve point count for layers 2020-12-02 19:14:58 +10:00
Nyall Dawson
ff672c4bd8 Add API to retrieve counts for classification classes 2020-12-02 19:14:58 +10:00
Nyall Dawson
55035a7b0a Add point cloud classification codes 2020-12-02 19:14:58 +10:00
Nyall Dawson
e70c6980a4 Use point cloud metadata statistics to pick a much better default
2d renderer for point clouds
2020-12-02 19:14:58 +10:00
Nyall Dawson
3df0469229 [pointclouds] Add API to retrieve precalculated attribute statistics
from the provider metadata

This method only returns existing statistics, it cannot be used
to calculated new ones!
2020-12-02 19:14:58 +10:00