NEDJIMAbelgacem
86a71391df
remove point budget approach from 2D rendering
2021-02-10 13:49:28 +01:00
Belgacem
eb1ff089a6
implementation of point budget in 2D
2021-02-10 13:49:28 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
78cb67a95d
Add method to convert QgsPointCloudAttributeCollection to QgsFields
2021-01-18 13:47:31 +10:00
Nyall Dawson
d6c0b2f0a8
Add method to get equivalent QVariant type for a point cloud attribute
2021-01-18 13:47:31 +10:00
Nyall Dawson
155ee72a17
Remove remnant docx
2021-01-18 13:47:31 +10:00
Belgacem
bec8fe5f2e
rollback the existing implementation and use QgsHighlight
2021-01-18 08:54:56 +10:00
Belgacem
6de83cd662
initial highlighting implementation
2021-01-18 08:54:56 +10:00
Belgacem
93f9ec2f79
add SIP_SKIP
2021-01-13 15:47:40 +01:00
Belgacem
ec2fe64fd2
remove code duplication
2021-01-13 15:47:40 +01:00
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