187 Commits

Author SHA1 Message Date
Nyall Dawson
6e5a99d332 Sipify 2022-06-03 13:13:43 +10:00
Nedjima Belgacem
8054467031
Save calculated statistics of a COPC file back into the dataset as an EVLR record (#48673)
* Implement saving stats as an EVLR

* Fix layout tests

* don't save statistics unless copc was generated by pdal

* Address Martin reviews

* Address reviews

* Only read stats EVLR and do not store count

* merge cleanup

* Address reviews
2022-06-02 19:24:03 +02:00
NEDJIMAbelgacem
904a987c42 fix python test 2022-05-31 15:47:34 +01:00
NEDJIMAbelgacem
c5ac600dad - Remove useless functions
- Remove emit QgsTask::taskTerminated
2022-05-30 13:45:58 +01:00
NEDJIMAbelgacem
e2bf3809f7 Various fixes
- Remove waiting for task to finish in ~QgsPointCloudLayer
- Fix failing ept provider test when maximum threads is set to 1.
-  make PointCloudStatisticsCalculationState into enum class
- move AttributeStatistics outside QgsPointCloudStatistics
2022-05-27 03:02:12 +01:00
NEDJIMAbelgacem
b5e2887a88 fix test 2022-05-24 10:04:33 +02:00
uclaros
79738c8e78 classify pointclouds by attribute 2022-05-13 19:17:13 +02:00
NEDJIMAbelgacem
720008a3de fix test 2022-05-10 19:19:24 +01:00
NEDJIMAbelgacem
a6e28b4ce1 fix test 2022-05-10 10:08:37 +01:00
NEDJIMAbelgacem
dc446c0dad try to fix QgsPointCloudLayerProfileGenerator test 2022-05-09 17:35:26 +01:00
NEDJIMAbelgacem
e9fff46db4 Merge branch 'master' into point-cloud-stats-calculator 2022-05-09 15:56:38 +01:00
NEDJIMAbelgacem
7300681cc2 Avoid use of statistical summary 2022-05-09 13:26:19 +01:00
NEDJIMAbelgacem
0404cd1115 address reviews 2022-05-09 10:39:23 +01:00
NEDJIMAbelgacem
1ba060cb82 Change to using statistics class and fix SIP 2022-05-06 10:28:09 +01:00
Nyall Dawson
ca710d64e0 Implement identify support for point cloud results 2022-05-06 08:58:41 +10:00
NEDJIMAbelgacem
46c2afdff2 - Add a class for storing statistics
- Add classification attribute function
- Refactoring
2022-05-05 11:40:30 +01:00
Nedjima Belgacem
a0ab353aba
Merge branch 'master' into point-cloud-stats-calculator 2022-05-03 20:39:20 +01:00
NEDJIMAbelgacem
ac2f073169 Address reviews 2022-05-03 13:25:05 +01:00
Nyall Dawson
c9678be608 Simplify api 2022-05-01 09:13:08 +10:00
Nyall Dawson
2c9e37d4ba Add setting to respect point cloud coloring in profile plots 2022-05-01 09:13:08 +10:00
Nyall Dawson
51a178279c API for rendering point cloud profiles using renderer colors 2022-05-01 09:13:08 +10:00
Nyall Dawson
6811b41a9c Add opacity by distance from curve effect 2022-04-29 19:58:21 +10:00
Nyall Dawson
548f3df629 Add elevation profile support for point cloud layers 2022-04-29 19:58:21 +10:00
Nyall Dawson
81680ea15b Add profile related settings to point cloud elevation properties 2022-04-29 19:58:21 +10:00
Nyall Dawson
c35d17b6e4 Move useful point cloud renderer enums to Qgis namespace 2022-04-29 19:58:21 +10:00
NEDJIMAbelgacem
ba0deaaa76 fix unit tests 2022-04-29 07:28:22 +01:00
NEDJIMAbelgacem
85499ed235 - Enable estimated statistics warning
- Fix statistics calculation
2022-04-29 06:24:46 +01:00
NEDJIMAbelgacem
cc5a7d3d62 big code refactor 2022-04-28 18:38:49 +01:00
NEDJIMAbelgacem
f33f14843e Refactoring and some fixes 2022-04-27 07:49:15 +01:00
NEDJIMAbelgacem
b02af16183 initial implementation 2022-04-22 07:32:28 +01:00
Nyall Dawson
9a99ed8800 Don't show vector layers with no interesting elevation properties
set by default in newly created elevation profiles

Fixes #48286
2022-04-22 13:07:16 +10:00
Nyall Dawson
1fc20cb026 Show elevation specific tooltips 2022-04-22 13:07:16 +10:00
Nyall Dawson
8ee20464a0 Ensure that elevation properties are copied whenever a layer is cloned 2022-04-07 19:22:19 +10:00
uclaros
b61bc22885 test renderer properties, not actual rendering 2022-04-04 02:57:00 -07:00
uclaros
c16e9a204c Sync pointcloud layer's 3d renderer style with 2d renderer 2022-04-04 02:57:00 -07:00
uclaros
74fc47458b Report untwine errors to the user 2022-04-01 02:20:25 -07:00
Martin Dobias
9edf55ae41
Merge pull request #47257 from uclaros/filtering-pointclouds
Add support for pointcloud filtering
2022-03-11 13:13:48 -08:00
uclaros
74030fdc1c skipping sipping 2022-03-11 15:34:35 +02:00
uclaros
749d7937f4 remove non-implemented enums 2022-03-10 21:52:15 +02:00
uclaros
6ba6338305 operator conversion handling 2022-03-09 16:42:54 +02:00
uclaros
14fe9b85b3 added QgsPointCloudAttribute::convertValueToDouble() 2022-03-09 14:10:22 +02:00
uclaros
d9c524fce7 refactor extending attribute collections 2022-03-09 13:26:37 +02:00
uclaros
1088c9fa4a remove methods using QgsExpression as parameter 2022-03-09 12:14:40 +02:00
uclaros
4b4c8634f7 rename parameter 2022-03-09 11:42:53 +02:00
uclaros
17dd63633a remove duplicate code 2022-03-08 11:55:24 +02:00
uclaros
8c88e876a2 Create expressions from strings
handle conversion errors as parsing errors
handle setSubsetString return values
some more tidying up
2022-03-04 19:14:57 +02:00
uclaros
2da89589ce includes and docstrings 2022-03-03 18:48:54 +02:00
uclaros
5becf36b19 minor cleanup 2022-03-03 18:12:50 +02:00
uclaros
44a96df194 remove qstring based constructor 2022-03-03 17:16:10 +02:00
uclaros
78a324e2ce Use QgsExpression and convert nodes to QgsPointCloudExpressionNode* 2022-03-03 15:27:02 +02:00