22458 Commits

Author SHA1 Message Date
Nyall Dawson
f658e5de7b Create class for representing tiled mesh node bounding volumes
And implement for sphere, region and oriented box bounding volume
types
2023-07-18 12:35:45 +02:00
Nyall Dawson
9e5015aa47 Add equality operators for QgsOrientedBox3D 2023-07-18 12:35:45 +02:00
Nyall Dawson
8beb6a08c4 Add method to get corners of oriented box 3d 2023-07-18 12:35:45 +02:00
AkosSeres
14e2be69ae Fix formatting 2023-07-18 15:50:45 +10:00
AkosSeres
b800c90aa7 Fix high ram usage of XYZ tile generation 2023-07-18 15:50:45 +10:00
Alessandro Pasotti
37fc5d5a61
Merge pull request #53841 from elpaso/raster-band-description-gh-53831
Support raster band description
2023-07-17 19:00:31 +02:00
Alessandro Pasotti
8b5a2b55d3 Move comment 2023-07-17 15:53:30 +02:00
Nyall Dawson
c4b3608462 Rename to QgsOrientedBox3d 2023-07-16 14:43:38 +10:00
Nyall Dawson
8ca716907e Move QgsOrientedBoundingBox out to own file 2023-07-16 14:43:38 +10:00
Nyall Dawson
f5b4fbd9f1 Add QgsSphere::centerVector for returning center of sphere as a
vector
2023-07-16 14:43:38 +10:00
Nyall Dawson
d1d0f02661 Handle spherical volumes for cesium layer bounds 2023-07-16 14:43:38 +10:00
Nyall Dawson
5ab122bc62 Add new class QgsSphere for representing 3d spheres 2023-07-16 14:43:38 +10:00
Nyall Dawson
015fff4d39 Add support for oriented boxes as cesium volumes 2023-07-16 14:43:38 +10:00
Alessandro Pasotti
96e7f9eb5a Show raster band description
Fix #53831
2023-07-14 17:41:26 +02:00
Nyall Dawson
e567b35cab Fix crash when trying to re-load a layer from processing results
into the project when that layer already exists in the project

Fixes #53576
Fixes #53729
2023-07-13 15:03:29 +10:00
Nyall Dawson
c547f56776 [feature] Add 'DTM Filter (slope-based)' algorithm for filtering a
digital elevation model in order to classify pixels into ground
and non-ground cells

This is a port of the SAGA "DTM Filter (slope-based)" tool to a native
QGIS algorithm.

It also serves as a nice reference algorithm for raster based tools
which operate on a neighbourhood of pixels.
2023-07-13 14:10:00 +10:00
Martin Dobias
1e48ebff1f Add setX, setY, setZ functions to QgsVector3D 2023-07-13 10:09:37 +10:00
Nyall Dawson
3641670b01 Add optional tile padding boundary to QgsRasterIterator
Allows returned blocks to overlap by the specified number of pixels.
Useful for algorithms which need to consider neighbouring pixels in
a tiled approach, without tile boundary artefacts.
2023-07-12 19:04:59 +10:00
Nyall Dawson
a739ad7097 Use nlohmann for json instead of QVariant
But leave QVariant version of util function for use in Python scripts
2023-07-12 14:58:33 +10:00
Nyall Dawson
b81e52dd43 Parse bounding region values from cesium tiles root tileset 2023-07-12 14:58:33 +10:00
Nyall Dawson
abeb8ae5fa Read tileset on creating cesium tiles data provider
And add some very basic provider metadata
2023-07-12 14:58:33 +10:00
Nyall Dawson
aa59687137 Setup framework for tiled mesh data providers to be cloned 2023-07-12 14:58:33 +10:00
Nyall Dawson
bc8c3a75b0 Add method to translate proj projection names
And abort crssync if unhandled projection strings are found
2023-07-11 14:57:04 +10:00
Nyall Dawson
95dc22f6b5 Fix handling of ' in enum docstrings in sipify 2023-07-09 22:48:59 +10:00
Nyall Dawson
71d6188e3d Add method to return CRS type, based on proj_get_type() values
And show in CRS details for layer properties
2023-07-09 22:48:59 +10:00
Nyall Dawson
31138aa970 Add method to retrieve list of known crs authorities 2023-07-09 18:14:10 +10:00
Nyall Dawson
3b1b6d56ec Correctly use horizontal vs single crs extraction methods in different
functions
2023-07-09 18:14:10 +10:00
Yoann Quenach de Quivillic
a49515abba Apply suggestions from code review 2023-07-08 04:53:44 +10:00
Yoann Quenach de Quivillic
8f3676dd80 Add search tolerance to QgsLayoutViewToolSelect 2023-07-08 04:53:44 +10:00
Nyall Dawson
325a5cb16a Fix lint 2023-07-07 14:29:28 +10:00
Nyall Dawson
394315955e Apply suggestions from code review 2023-07-07 14:29:28 +10:00
Matthias Kuhn
1626b7e928 Move tests to QgisUnitTests 2023-07-07 14:29:28 +10:00
Matthias Kuhn
54b45078b5 Monkey patch and deprecate API 2023-07-07 14:29:28 +10:00
Nyall Dawson
1a1d2a7a8d Alternative approach to a QGIS specific unittest class 2023-07-07 14:29:28 +10:00
Loïc Bartoletti
6339e5fb78
Merge pull request #53629 from ptitjano/feat/provider-extent-3d
Add some new methods to QgsBox3d
2023-07-06 17:33:31 +02:00
bdm-oslandia
80a9043cad
qgsbox3d: Add combineWith methods 2023-07-06 14:12:02 +02:00
bdm-oslandia
1bae6ee1f1
qgsbox3d: Add a new contains method based on x,y,z coordinates 2023-07-06 14:12:02 +02:00
bdm-oslandia
58c161f1b5
qgsbox3d: Add is3D method 2023-07-06 14:12:00 +02:00
Nyall Dawson
4595f65cde Implement tiled mesh source select widget 2023-07-06 18:10:46 +10:00
Nyall Dawson
8f4ec245c6 Standardise layer properties dialog title creation 2023-07-06 15:03:32 +10:00
AlisterH
75420dee18 remove unnecessary casts from last commit 2023-07-06 13:45:15 +10:00
AlisterH
158b0e2bae Use more pathlib instead of os module 2023-07-06 13:45:15 +10:00
AlisterH
0420b158ef More informative message if ext module fails to load 2023-07-06 13:45:15 +10:00
AlisterH
5e29c75d2f Update python/plugins/grassprovider/Grass7Utils.py
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
47fa0c8197 Update python/plugins/grassprovider/Grass7AlgorithmProvider.py
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
75d204d766 Update python/plugins/grassprovider/Grass7AlgorithmProvider.py
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
6cc773d758 Add comments 2023-07-06 13:45:15 +10:00
AlisterH
c0ca40aebb add userDescriptionFolder() method 2023-07-06 13:45:15 +10:00
AlisterH
2c006b185d fix lint errors 2023-07-06 13:45:15 +10:00
AlisterH
f08e5e9469 support grass algorithms in profile folder 2023-07-06 13:45:15 +10:00