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
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
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
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
bdm-oslandia
06a09f83f3
qgsbox3d: Add support for toString method
2023-07-05 09:12:36 +02:00
bdm-oslandia
0773042adb
qgsbox3d: Add isEmpty method
...
This has is the following logic:
- QgSBox3d().isEmpty() == True
- QgSBox3d().isEmpty(0, 0, 0, 0, 0, 0) == True
- QgSBox3d().isEmpty(1, 1, 1, 1, 1, 1) == True
2023-07-05 09:12:36 +02:00
bdm-oslandia
0f961e890b
qgsbox3d: Add isNull method
...
This has is the following logic:
- QgSBox3d().isNull() == True
- QgSBox3d().isNull(0, 0, 0, 0, 0, 0) == False
- QgSBox3d().isNull(1, 1, 1, 1, 1, 1) == False
2023-07-05 09:12:36 +02:00
bdm-oslandia
6d1a08a5c3
qgsbox3d: Use nan for default values
...
This will be necessary to properly define `isNull` method in the next
commit.
This way, it behaves the same as `QgsPoint`.
Co-Authored by Jean Felder
2023-07-05 09:12:35 +02:00
bdm-oslandia
5293002ad3
qgsbox3d: Add a setMinimal method
2023-07-05 00:39:11 +02:00
Loïc Bartoletti
e5ea4d2291
resolveDefaultEncoding: return UTF-8 as default in case of undefined locale or error
2023-07-05 06:06:10 +10:00
Loïc Bartoletti
09ac50fd36
move logic to QgsProcessingUtils and create a convenient method resolveDefaultEncoding()
2023-07-05 06:06:10 +10:00
bdm-oslandia
34e123e846
qgsbox3d: Add a normalize step parameter to the constructors
...
This allows to choose if a normalization step needs to be applied. It
is set to True by default to allow backward compatibility with the
api.
2023-07-04 17:32:10 +02:00
bdm-oslandia
48800e7802
qgsbox3d: Add 3d optional parameters to the QgsRectangle constructor
2023-07-04 17:32:10 +02:00
Harrissou Sant-anna
15c09cb16e
Tweaking user profile selector dialog and settings
...
- Simplify labels
- Group items with relabeling
- Provide clear name to selector dialog
2023-07-03 07:50:34 +10:00
Nyall Dawson
4b673bf860
Improve documentation
2023-06-29 20:43:08 +10:00
Nyall Dawson
933db142c5
Add method to test whether 3 points are collinear
2023-06-29 20:43:08 +10:00
Nyall Dawson
b14d42d147
Add method to return the fraction along a line for a point
2023-06-29 20:43:08 +10:00
Nyall Dawson
4557632c46
Move enum
2023-06-28 17:47:17 +10:00
Nyall Dawson
1e1535d63d
Handle tiled mesh layers in more code paths
2023-06-28 17:47:17 +10:00
Nyall Dawson
5cf8f2ceb5
Shell for QgsTiledMeshLayer/QgsTiledMeshDataProvider
2023-06-28 17:47:17 +10:00
Nyall Dawson
8adb33cbcf
Add TiledMesh to Qgis::MapLayerType enum and partially handle
2023-06-28 17:47:17 +10:00
Nyall Dawson
61a3f44e98
Provider registry tiled mesh file handling support
2023-06-28 17:39:09 +10:00
Mathieu Pellerin
1f1d1f981c
[vector tile] Add a pair of function to QgsVectorTileLayer to toggle labels rendering just like QgsVectorLayer
2023-06-27 20:43:33 +07:00
Nyall Dawson
eca6b7a409
Add framework for handling non-keyboard/mouse map controllers
...
This is the base API interface classes for creation of custom
2d or 3d map controllers, and registering them in a common
QgsInputControllerManager singleton class.
2023-06-27 14:49:20 +10:00
Yoann Quenach de Quivillic
fd8b6b0bcd
Fix user selector icon size #53548
2023-06-26 08:35:10 +10:00
Martin Dobias
f848b7cd8e
Fix global map shading to work high DPI
2023-06-26 08:27:56 +10:00
Chris Mayo
ecdb1e2989
Fix build with WITH_BINDINGS=yes and WITH_QTSERIALPORT=no
...
auto_generated/sensor/qgsabstractsensor.sip: In function ‘const sipTypeDef* sipSubClass_QgsAbstractSensor(void**)’:
auto_generated/sensor/qgsabstractsensor.sip:35: error: ‘QgsSerialPortSensor’ does not name a type; did you mean ‘sipName_QgsSerialPortSensor’?
2023-06-26 08:24:43 +10:00
Nyall Dawson
c2352af95b
Add mechanism to make screen properties available for icon
...
generation in layer tree model
2023-06-23 15:05:15 +10:00
Nyall Dawson
7d4c4e3ce2
Address review
2023-06-22 18:49:22 +10:00
Nyall Dawson
0f76f986be
Add unit tests for QgsScreenProperties
2023-06-22 18:49:22 +10:00
Nyall Dawson
ff7a5c934c
Fix pixelated icons in style lists on hi dpi displays
...
Use QgsScreenProperties in style model to ensure we
correctly generate preview icons matching the device
pixel ratio and DPI of all attached displays
2023-06-22 18:49:22 +10:00
Nyall Dawson
b5e3af7a3a
Use QgsScreenProperties instead of direct QScreen pointers
2023-06-22 18:49:22 +10:00
Nyall Dawson
b6338da0b7
Create QgsScreenProperties as a small storage class for QScreen settings
2023-06-22 18:49:22 +10:00
Nyall Dawson
0641766902
Fix incorrect sizing & pixelation of symbol previews on hidpi
...
displays
2023-06-22 18:49:22 +10:00
Nyall Dawson
1298018bc4
Fix incorrect sizing of symbol layer previews on hidpi display,
...
pixelated icons
2023-06-22 18:49:22 +10:00
Mathieu Pellerin
c23d7eca97
[vector tiles] Fix rendering of styles with a min. zoom level that is higher
...
than the tile maximum zoom level (fixes #53481 )
2023-06-22 17:10:28 +10:00