22392 Commits

Author SHA1 Message Date
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
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
ASAI Hitoshi
04952b447e Add antialias setting to raster tile processing plugin 2023-07-03 10:46:09 +10: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
Andrea Giudiceandrea
5377930242 GRASS: add ext module for v.reclass
In order to check that either 'rules' or 'column' parameter is set
2023-07-03 07:36:30 +10:00
Andrea Giudiceandrea
534d9f329d Fix v.reclass description file
Make the 'column' parameter optional
2023-06-30 06:44:56 +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
Nyall Dawson
6e02d953fd Fix interaction of locked scale ranges with zoom distance range tool
in elevation profile canvas

Fixes #53303
2023-06-28 17:16:39 +10:00
Nyall Dawson
a3e06229ec Deprecate layer type specific signals from QgsAbstractDataSourceWidget
and move toward generic signal for all layer types
2023-06-28 12:08:23 +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
c3b20257dc Address review comments 2023-06-27 14:49:20 +10:00
Nyall Dawson
391ab37539 Another 3.32 -> 3.34 update 2023-06-27 14:49:20 +10:00
Nyall Dawson
d849feabfb Change to version 3.34 2023-06-27 14:49:20 +10:00
Nyall Dawson
0233b38f29 Fix build 2023-06-27 14:49:20 +10:00
Nyall Dawson
ac74fb6b0a Add unit tests, fix sip annotation 2023-06-27 14:49:20 +10:00
Nyall Dawson
75340527d0 Allow setting 2d input controller for map canvas 2023-06-27 14:49:20 +10:00
Nyall Dawson
f86e46ed7a Add optional WITH_QTGAMEPAD cmake switch, and create 2d/3d gamepad
map controller classes which expose QGamepad functionality

Especially handy because the underlying QGamepad classes
are not accessible to Python
2023-06-27 14:49:20 +10: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
Alessandro Pasotti
8b8d5d9031
Merge pull request #53438 from elpaso/bugfix-gh48020-server-opacities-parameter-does-not-apply-to-labels
Server: fix label opacity when OPACITIES is set
2023-06-21 16:32:16 +02:00
Nyall Dawson
730081dceb Handle view device pixel ratio when generating preview icons
for text format and label settings
2023-06-21 13:46:50 +10:00
Nyall Dawson
86f06d065b Add framework for style model to handle generation of icons
with different device pixel ratios
2023-06-21 13:46:50 +10:00
Nyall Dawson
a4843be25b Move qgsVsiPrefix to QgsGdalUtils::vsiPrefixForPath 2023-06-20 14:41:59 +10:00
Yoann Quenach de Quivillic
145078aacc Fix map and elevation profile data defined background color 2023-06-20 07:03:57 +10:00
Loïc Bartoletti
871a3c25a5
Merge pull request #53063 from benoitdm-oslandia/fix/minor_3d_fixes
Fix/minor 3d fixes
2023-06-15 06:55:23 +02:00
Nyall Dawson
8838f894ef Fix accidental api break 2023-06-15 08:28:44 +10:00
Nyall Dawson
0601164102 Add missing documentation to QgsRasterFileWriter 2023-06-15 08:28:44 +10:00
Nyall Dawson
26493802dc Move some QgsRasterFileWriter enums to qgis 2023-06-15 08:28:44 +10:00
bdm-oslandia
ecd7212e6c fix(3D): replace geometry renderer identification (main/selected) by property
3D geometry renderer identification in QgsChunkedEntity was made according to the object name and can be prone to error. Now we used a property (prop name is defined in a const) with values from enum.
2023-06-14 10:31:02 +02:00