81001 Commits

Author SHA1 Message Date
Alexander Bruy
bc6a937933 add pdal_wrench as an external dependency 2023-03-22 16:04:01 +01:00
Alexander Bruy
c9af4f5537 bump PDAL minimum version to 2.5 2023-03-22 16:04:01 +01:00
Jean Felder
2ba0ca9122 qgs3dmapsettings: remove the unused renderers logic
This is never used. The set or update renderer logic is handled in
Qgs3DMapScene by listening to the `onLayersChanged` and
`onLayerRenderer3DChanged` signals (see the previous commit).
2023-03-22 15:39:46 +01:00
Jean Felder
046ee93a2b qgs3dmapscene: remove unnecessary onRenderersChanged logic
This logic is never triggered. Upading a layer is already is already
handled by `onLayersChanged` and `onLayerRenderer3DChanged`:

- `onLayersChanged` creates or remove an entity when a layer is added
or removed
- `onLayerRenderer3DChanged` recreates an entity when a layer's
renderer is changed
2023-03-22 15:39:46 +01:00
Nyall Dawson
49d56c52fa Update test 2023-03-22 14:08:26 +10:00
Nyall Dawson
54907b3f06 Fix cppcheck warning 2023-03-22 14:08:26 +10:00
Nyall Dawson
18bbb833e7 Maptiler auth can be used for xyzvectortiles provider 2023-03-22 14:08:26 +10:00
Nyall Dawson
a951563dd7 Update QgsVectorTileLayer encode/decode uri handling and expand tests 2023-03-22 14:08:26 +10:00
Nyall Dawson
d239e390a8 Use standard data provider metadata createProvider methods for most
vector tile data providers

The exception is QgsArcGisVectorTileServiceDataProvider - that requires
a bit of fiddly refactoring before it would be possible
2023-03-22 14:08:26 +10:00
Nyall Dawson
fa947eae22 Use separate provider metadata for each vector tile data provider 2023-03-22 14:08:26 +10:00
Nyall Dawson
2a6d6c0548 Use unique names for vector tile data providers 2023-03-22 14:08:26 +10:00
Jean Felder
d4c2da999f qgs3daxis: Fix a typo in the constructor description 2023-03-22 08:21:21 +10:00
Nyall Dawson
c20d083e80 Make Execute SQL dialog non-modal
Allows running mutiple sql concurrently, and checking layer properties
etc while the dialog is open
2023-03-22 08:18:49 +10:00
Nyall Dawson
1a2988027c Show tooltips in sql results window 2023-03-22 08:18:49 +10:00
Nyall Dawson
4985633633 Add a right-click menu to SQL results window, with option to copy
cell contents
2023-03-22 08:18:49 +10:00
Stefanos Natsis
b371267fbe
Improved 3d measure tool (#52208)
* cleanup 3d measure tool class from pickers

* update qgs3dmapscene and identify tool

* remove pickers from chunked entity and terrain entity

* add QgsRay3d::intersects( QgsBox3d );

* demterrain and tesselated polygon geometry intersection checks

* Add vertex markers to 3d rubber bands
Add moveLastPoint() support for 3d rubber bands

* Forward keyEvents to 3d map tools

* proof of concept, needs refactoring

* move intersection logic to ChunkedEntities

* move ray casting logic to Qgs3DUtils

* cleanup map tools

* rename intersectEntity to rayIntersection, further cleanup

* cleanup

* move RayCastContext param
fix last rubberband marker
use singleResult for pointclouds
cleanup

* replace autos

* fix FID fetching logic
fix rule based rendering hits
fix selected feature hits

* fix clearing identify results, startDrag tolerance

* use doubles when dealing with map coordinates
return world coords in point cloud RayHits

* dosctrings and method rename

* use raycastingtools::ray3d

* move RayHit and Context to raycastingutils

* sip skip new methods

* fix build

* remove unused

* added docstring

* fix forward declarations

* fix qt6 build

* Use anti-aliasing for better looking billboards

* Slightly improve styling of 3D rubber band

* Make it possible to have 3D rubber band always on top

Also adds some docs to the frame graph implementation

* Do not leave the final rubber band segment when measuring is done

* address review comments

* spelling typo

* make cppcheck happy

* address benoit and loic review comments

* remove previous bool QgsTerrainEntity::rayIntersection() implementation

* add consts, update test mask

---------

Co-authored-by: Martin Dobias <wonder.sk@gmail.com>
2023-03-21 22:01:45 +01:00
signedav
74baacc456
Merge pull request #52246 from signedav/fetchlimit_relationreference
Relation Reference: Limit number of entries (resp. unlimit it) per widget
2023-03-21 13:24:51 +01:00
vcloarec
3556ece363 expose Qgs3dMapCanvas in app lib 2023-03-21 09:45:34 +10:00
Denis Rouzaud
8bebb66687 fix doc 2023-03-21 09:44:19 +10:00
Denis Rouzaud
4e10546b4b follow-up refctoring settings for code editor 2023-03-21 09:44:19 +10:00
Jean Felder
61087b9bdc qgs3daxis: Fix camera conf by taking into account terrain offset
This was found by Stefanos Natsis.
2023-03-21 09:43:04 +10:00
Nyall Dawson
b11e2eb926 Fix grass provider 2023-03-21 03:50:08 +10:00
Nyall Dawson
9d44782be4 [processing] Allow temporary folder to be temporarily changed through
the algorithm settings panel
2023-03-21 03:50:08 +10:00
Nyall Dawson
fa22256717 Allow temporary folder location to be overridden through
QgsProcessingContext
2023-03-21 03:50:08 +10:00
Nyall Dawson
30598b9ad9 Pass QgsProcessingContext on to all processing functions which
generate temporary file names
2023-03-21 03:50:08 +10:00
Nyall Dawson
505a1e63d3 Fix doxygen test 2023-03-21 03:49:39 +10:00
Nyall Dawson
ce8f6a5d40 Add missing CORE_EXPORT 2023-03-21 03:49:39 +10:00
Nyall Dawson
8a3d9d20f7 Fix doxygen error 2023-03-21 03:49:39 +10:00
Nyall Dawson
aadfbab40f Split vector tile classes into separate files 2023-03-21 03:49:39 +10:00
Jean Felder
50f3420bce qgsterraingenerator: Use Qgs3DUtils 2023-03-20 15:06:25 +01:00
signedav
4eaeb3ec2b add since note 2023-03-20 13:04:33 +01:00
Matthias Kuhn
0ee7b4cd70
Merge pull request #52303 from YoannQDQ/reverse-wheel-zoom 2023-03-20 07:56:20 +01:00
Nyall Dawson
56ce8ca673 Add reset buttons to numeric controls 2023-03-20 16:06:24 +10:00
Nyall Dawson
a6b4742e97 Use settings registry for new settings 2023-03-20 16:06:24 +10:00
Nyall Dawson
1c2aead582 Remove duplicate code 2023-03-20 16:06:24 +10:00
Nyall Dawson
8e526353f9 Move toggle comment handling to base QgsCodeEditor class 2023-03-20 16:06:24 +10:00
Nyall Dawson
e04aa7b187 Massive speed up to QgsStringUtils::levenshteinDistance by using std::vector instead of QVector 2023-03-20 16:06:24 +10:00
Nyall Dawson
68bc918200 Spelling 2023-03-20 16:06:24 +10:00
Nyall Dawson
e6dd89f89c Fix capability check 2023-03-20 16:06:24 +10:00
Nyall Dawson
6c8bda7bab Fix crash in processing script editor when text is changed programatically 2023-03-20 16:06:24 +10:00
Nyall Dawson
8a3ab39bd3 Fix invalid base class used in processing ui file 2023-03-20 16:06:24 +10:00
Nyall Dawson
f3132a8e10 [processing] Fix python script editor windows can get garbage collected
Fixes #52304
2023-03-20 16:06:24 +10:00
Nyall Dawson
a4f325c92f Apply syntax check before running black 2023-03-20 16:06:24 +10:00
Nyall Dawson
3312bf1ad2 Move syntax checking capability to QgsCodeEditorPython 2023-03-20 16:06:24 +10:00
Nyall Dawson
ac5f8da74e Support reformatting in base QgsCodeEditorPython class 2023-03-20 16:06:24 +10:00
Nyall Dawson
ce9e57c0b0 Expose reformat code action right click menu for QgsCodeEditors which support
reformatting
2023-03-20 16:06:24 +10:00
Nyall Dawson
7b61080557 Port generic portions of reformat code action to base class 2023-03-20 16:06:24 +10:00
Nyall Dawson
069f1a647e Add language capabilities 2023-03-20 16:06:24 +10:00
Nyall Dawson
be004f5fa1 Fix clang tidy warning 2023-03-20 11:55:31 +10:00
Nyall Dawson
953c7201d8 Documentation 2023-03-20 11:55:31 +10:00