Belgacem
05735cdeab
move the implementation to Qgs3DMapToolIdentify
2021-01-13 15:47:40 +01:00
Belgacem
2c9c6f94b9
fix somethings and testRayFromScreenPoint
2021-01-13 15:47:40 +01:00
Belgacem
6caf1bfe32
fix code_layout
2021-01-13 15:47:40 +01:00
Belgacem
b5e6033a88
fix SIP
2021-01-13 15:47:40 +01:00
Belgacem
432f29be92
add pointsLimit and SIP
2021-01-13 15:47:40 +01:00
Belgacem
398144ee93
add docs
2021-01-13 15:47:40 +01:00
Belgacem
3a014ae0bf
make identification work with point size
2021-01-13 15:47:40 +01:00
Belgacem
4f3f95a841
raycast intersection with node bounding box
2021-01-13 15:47:40 +01:00
Nyall Dawson
923af4e833
Older sip versions DO require custom conversion code!
2021-01-04 13:05:54 +01:00
Nyall Dawson
30084f61a8
Fix identify tool not finding points when using a single point click
...
and map crs != layer crs
2021-01-04 13:05:54 +01:00
Nyall Dawson
c69b80453c
No need for custom conversion code when QVariantMap type is returned
2021-01-04 13:05:54 +01:00
Nyall Dawson
8f63af56a9
Use QVariantMap instead of QMap<QString, QVariant>
2021-01-04 13:05:54 +01:00
Belgacem
8c72321509
sipify identify function in dataprovider
2021-01-04 10:20:04 +10:00
Belgacem
72d9eeeb0a
remove SIP_SKIP and qDebug()
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
8ec26000b4
remove layer and elevation properties
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
ef9d2727a6
make single click identify work
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
839636635b
add docs
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
6b7be9c909
fix spelling
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
8178add788
Address Nyall suggestions
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
9358c9bd3e
change to variant and remove QgsPointCloudIdentifyResults
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
2d274af355
Add classified renderer filtering behaviour
2021-01-04 10:20:04 +10:00
Nyall Dawson
7b141e92f0
Also add scaling factor option, test
2020-12-16 13:58:20 +10:00
Nyall Dawson
1963ef9784
[pointclouds] Add an elevation tab in layer properties, and allow
...
users to set a manual offset to apply to point cloud z values
This allows for adjustment of the elevation of point clouds, eg so that:
1. They match nicely with point clouds from other datasources
2. Users can use point clouds from sources with arbitrary z values,
eg. a point cloud made by opendronemap without any actual reference
z values available
2020-12-16 13:58:20 +10:00
Peter Petrik
221bd2f68f
untwine pdalprovider integration ( #40404 )
...
[pointclouds] untwine pdalprovider integration
2020-12-15 14:25:09 +01:00
Nyall Dawson
5be99bd5fe
Show data type, scale, offset in metadata for point cloud layers
2020-12-07 12:08:35 +10:00
Nyall Dawson
0708f813f2
Add method to retrieve original metadata from point cloud files,
...
and expose some more useful metadata in layer properties (las version,
software, creation date)
2020-12-07 12:08:35 +10: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
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
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
Nyall Dawson
6a6b77a145
Implement legends for point clouds with the Attribute By Ramp renderer
2020-12-02 21:58:02 +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
Nyall Dawson
fc3d61aaea
Cleanups, unit tests
2020-12-02 15:54:24 +10:00
Nyall Dawson
1581bb8cdf
Use full featured color ramp shader
2020-12-02 15:54:24 +10:00
Nyall Dawson
af280eb124
Move old dummy point cloud renderer code to proper QgsPointCloudAttributeByRampRenderer class
...
And remove duplicate non-functional symbology tab in point cloud layer properties
2020-12-02 15:54:24 +10:00
Nyall Dawson
8ba9866c6b
Move some code to reusable methods in QgsPointCloudRenderer
2020-12-02 15:54:24 +10:00
Nyall Dawson
d842a96579
Fix incorrect handling of unsigned short values in point cloud providers
...
These were getting incorrectly treated as signed short values, and
accordingly were subject to overflows
2020-12-01 17:19:54 +10:00
Nyall Dawson
0c7df50126
Add framework for calculating the overall elevation/z range of a QgsProject
2020-11-28 16:45:54 +10:00
Nyall Dawson
2632627d39
Add point cloud implementation of QgsMapLayerElevationProperties
2020-11-28 16:45:54 +10:00
Nyall Dawson
775320e095
Implement z range filtering for point clouds
2020-11-28 16:45:54 +10:00
Nyall Dawson
acbeebe32a
[pointclouds] Expose option to set point size for 2d point cloud renders
2020-11-19 15:49:43 +01:00
Nyall Dawson
4e13ad5555
Spelling, dox
2020-11-16 19:38:07 +10:00