4213 Commits

Author SHA1 Message Date
Nyall Dawson
065465e472 Improve some documentation 2022-05-17 09:55:40 +10:00
uclaros
79738c8e78 classify pointclouds by attribute 2022-05-13 19:17:13 +02:00
Martin Dobias
571820327d
Merge pull request #48321 from NEDJIMAbelgacem/point-cloud-stats-calculator
Statistics calculator for point cloud
2022-05-12 23:21:06 +02:00
Nyall Dawson
86f7d4e89e [api] Add QgsCombinedStyleModel class, for combining entities from several
QgsStyle models into a single combined view
2022-05-12 19:58:04 +10:00
Nyall Dawson
6c73cfcd45 Add name to QgsStyle 2022-05-12 19:58:04 +10:00
Nyall Dawson
a11b4ebf83 Add QgsSingleItemModel, a QAbstractItemModel subclass for a single
item
2022-05-12 19:58:04 +10:00
Julien Cabieces
a25e6e5e0e Add a method to initialize 2nd pass jobs with 1s pass generated ones 2022-05-12 11:45:39 +10:00
Julien Cabieces
558463688d QPainterPath is implicitly shared, no need to return reference 2022-05-12 11:45:39 +10:00
Julien Cabieces
a57281c836 Vectorization of selective masking 2022-05-12 11:45:39 +10:00
NEDJIMAbelgacem
720008a3de fix test 2022-05-10 19:19:24 +01:00
NEDJIMAbelgacem
e5bce023a5 Merge branch 'master' into point-cloud-stats-calculator 2022-05-10 19:18:58 +01:00
NEDJIMAbelgacem
a6e28b4ce1 fix test 2022-05-10 10:08:37 +01:00
Julien Cabieces
29f4b0ed6f remove exclude skipped-base-class for numeric format classes 2022-05-10 08:27:47 +10:00
Julien Cabieces
d937a59067 Fixes fully-qualified-moc-types 2022-05-10 08:27:47 +10: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
Mathieu Pellerin
383b2f9f78 Fix dox 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
366b88cae5 Address review 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
21f99d1234 Fix doxygen check 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
9e0d077d6e Migrate randomize fill color and default opacity settings 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
95b637520b Implement a QgsProjectStyleSettings class 2022-05-09 14:44:28 +10:00
Nyall Dawson
f0946aa807 Make QgsClipper::clipLineSegment public 2022-05-07 21:42:54 +10:00
NEDJIMAbelgacem
1ba060cb82 Change to using statistics class and fix SIP 2022-05-06 10:28:09 +01:00
Alessandro Pasotti
0d871029be
Merge pull request #48353 from elpaso/form-font-label2
Allow drag and drop forms label font and color customization
2022-05-06 09:44:27 +02:00
Nyall Dawson
2a51be0e7d Disable classes spin box for fixed range classification method 2022-05-06 13:44:31 +10:00
Nyall Dawson
e5c0a14ecd [feature] Add a new classification method for "Fixed interval"
Allows users to create graduated breaks using a specific interval
width for classes (instead of the total number of classes)

Sponsored by SLYR
2022-05-06 13:44:31 +10:00
Nyall Dawson
97bb5f6e95 Try to fix build 2022-05-06 08:58:41 +10:00
Nyall Dawson
ca710d64e0 Implement identify support for point cloud results 2022-05-06 08:58:41 +10:00
Nyall Dawson
3c086ead05 Add framework for identifying results from profile generators 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
e163361da9 Add option to show markers over continuous surface plot 2022-05-03 12:15:02 +10:00
Nyall Dawson
826cbe37d6 [feature] Add an "interpretation" option for vector elevation profiles
Choices are "individual features" (the default behavior) or "continuous
surface". The new Continuous Surface option is designed for vector
layers which represent a continuous elevation surface, e.g contour
lines or surveyed elevation points. When selected, the elevation
chart will be rendered as a surface instead of separate features
by joining the sampled elevation results into a continuous line.

There's also the same option exposed as for raster and mesh layers
where the appearance can be toggled from a single line to a "fill
below" symbol.

Fixes #48341
2022-05-03 12:15:02 +10:00
Nyall Dawson
eeb444948f Add mechanism for python clients to setup custom QNetworkReply
preprocessors

Since it's not possible to overwrite
QgsNetworkAccessManager::createRequest, the normal Qt approach for
adding custom handling for replies is not possible. This new API
adds a QgsNetworkAccessManager.setReplyPreprocessor() method
which allows clients to add a custom reply preprocessor for implementing
their own logic for replies.

For example:

    def _on_ready_read(reply):
        print(reply.peek(reply.bytesAvailable()))

    def _my_preprocessor(request, reply):
        if reply.operation() == QNetworkAccessManager.PutOperation:
            reply.readyRead.connect(partial(_on_ready_read, reply))

    QgsNetworkAccessManager.setReplyPreprocessor(_my_preprocessor)

Fixes #48169
2022-05-02 12:31:42 +10:00
Nyall Dawson
c9678be608 Simplify api 2022-05-01 09:13:08 +10:00
Nyall Dawson
e415cad690 Avoid unnecessary layer redraw 2022-05-01 09:13:08 +10:00
Nyall Dawson
6ca9c4bdc1 Clearer name for signal 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
Alessandro Pasotti
247d86a712 Fix mingw build 2022-04-29 19:32:57 +02:00
Alessandro Pasotti
d2fee63ca9 sip skip == 2022-04-29 15:17:46 +02:00
Alessandro Pasotti
1cb3c613d4 Add test for attribute editor element
LabelStyle
2022-04-29 14:56:19 +02:00
Nyall Dawson
f0f7ae54a6 Enum class 2022-04-29 19:58:21 +10:00
Nyall Dawson
e6b65767cf Use different snap tolerances when snapping to points vs snapping
to continuous elevation surfaces

When snapping to a surface we want to be very "grabby" in the height
axis but ungrabby in the distance axis. For points we should be equally
grabby on either axis.
2022-04-29 19:58:21 +10:00
Nyall Dawson
0f13138e0c Fix typo 2022-04-29 19:58:21 +10:00
Nyall Dawson
a9e1f1125f Use DPI directly instead of scale factor 2022-04-29 19:58:21 +10:00
Nyall Dawson
6811b41a9c Add opacity by distance from curve effect 2022-04-29 19:58:21 +10:00