Matthias Kuhn
ef3d9a2c32
Merge branch 'master' into unvirtualize-setdatasource
2021-05-05 08:01:26 +01:00
NEDJIMAbelgacem
d07a0b9a29
remove the use of QgsCustomPointCloudBlock
2021-05-04 10:11:21 +02:00
NEDJIMAbelgacem
7a03571fa7
code style review
2021-05-04 10:11:21 +02:00
NEDJIMAbelgacem
42ce3b6ae9
fix misplaced laszip tiles
2021-05-04 10:11:21 +02:00
rldhont
4afa66af30
[API] Unvirtualize layer setDataSource method
...
Changes in the layer API:
* The setDatasource() methods become non-virtual public method
* The virtual private setDataSourcePrivate() method is defined and the provider setDataSource implementations have been moved to this new virtual method
2021-04-26 17:14:07 +02:00
NEDJIMAbelgacem
aca1146390
change the point budge to qint64 and double spin box
2021-04-08 14:26:31 -07:00
NEDJIMAbelgacem
1a60a4562d
fix tests
2021-04-08 14:26:31 -07:00
NEDJIMAbelgacem
4a0230fc5c
Add QgsFeedback to handle canceling rendering
2021-04-08 14:26:31 -07:00
NEDJIMAbelgacem
e9f8cab806
Address reviews
2021-04-08 14:26:31 -07:00
NEDJIMAbelgacem
c9890935bf
remove the use of dataSourceType
2021-04-08 14:26:31 -07:00
NEDJIMAbelgacem
ede1c6394e
UI initial implementation for remote ept files
2021-04-08 14:26:31 -07:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
ebdb7ba95d
Correctly store absolute/relative paths for point clouds in projects
...
Fixes #42114
2021-03-10 14:07:48 +10:00
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