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
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
Nyall Dawson
11817f0ebd
Fix build
2023-07-05 12:37:46 +10:00
Nyall Dawson
9e12fd66aa
De-duplicate config page widget handling
2023-07-05 12:37:46 +10:00
Nyall Dawson
db405bd640
Consolidate rollback code
2023-07-05 12:37:46 +10:00
Nyall Dawson
6a822cb710
Deprecate old methods
2023-07-05 12:37:46 +10:00
Nyall Dawson
32174125c0
Move more code to base class
2023-07-05 12:37:46 +10:00
Nyall Dawson
84f842d85b
Move more common code to base class
2023-07-05 12:37:46 +10:00
Nyall Dawson
2f7cf5dcdc
Move to inheritance instead, using QgsLayerPropertiesDialog base class
2023-07-05 12:37:46 +10:00
Nyall Dawson
b55b1790ac
Start a new class for common functionality across layer properties
...
dialogs, and consolidate all duplicate metadata load from file
code in there
2023-07-05 12:37:46 +10:00
Nyall Dawson
6c4409d71f
Expand documentation
2023-07-05 09:43:32 +10:00
Nyall Dawson
151ab7e886
Support tiled mesh layers in app layer creation functions
2023-07-05 09:43:32 +10:00
bdm-oslandia
5293002ad3
qgsbox3d: Add a setMinimal method
2023-07-05 00:39:11 +02:00
Loïc Bartoletti
c298bda614
Update python/plugins/processing/tools/dataobjects.py
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-07-05 06:06:10 +10: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
Loïc Bartoletti
9bd8c1298c
Processing: determine and set default encoding from locale
...
A shapefile can have a .cpg file to determine its encoding.
However, in processing, this file is not created when the
encoding is set to the magic "System" value.
This PR aims to propose to automatically determine the system
encoding using QT's codecForLocale.
So, even when using the magic "System" value, the cpg file
will be created with the true system encoding name.
Fixes #50603
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
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