NEDJIMAbelgacem
33ee137c32
various fixes
2022-01-12 13:46:49 +10:00
NEDJIMAbelgacem
05824dc1c8
fix sip
2022-01-12 13:46:49 +10:00
NEDJIMAbelgacem
0381373df9
fix ci build
2022-01-12 13:46:49 +10:00
NEDJIMAbelgacem
fb9084f93f
fix docs
2022-01-12 13:46:49 +10:00
NEDJIMAbelgacem
89c661b35d
split 3dviewsmanager into 3dviews manager and dialog class
2022-01-12 13:46:49 +10:00
Nyall Dawson
24a498b57c
Rename to 'toGeographicCrs'
2022-01-11 19:50:46 +10:00
Nyall Dawson
1f240c0196
Add method to convert QgsCoordinateReferenceSystem to geodetic crs
2022-01-11 19:50:46 +10:00
Nyall Dawson
6e7e8d3d7d
Promote CRS format enum to enum class, move to Qgis
2022-01-11 19:50:46 +10:00
Damiano Lombardi
028eaf839d
Rebase to master
2022-01-10 09:32:19 +01:00
Damiano Lombardi
2f703f9c14
Simplified configuration gui
2022-01-10 08:35:14 +01:00
Damiano Lombardi
4310b3f472
Removed ewkt conversion test
2022-01-10 08:34:48 +01:00
Damiano Lombardi
d7a58c6cc3
Removed ewkt conversion functions
2022-01-10 08:34:44 +01:00
Damiano Lombardi
ff04cbbe09
Add possibility do data define label position by point instead of X/Y
2022-01-10 08:18:03 +01:00
Damiano Lombardi
6d2c4245ce
remove unneeded SIP_CONVERT_TO_SUBCLASS_CODE
2022-01-10 08:09:32 +01:00
Damiano Lombardi
9f7353b91c
switch to XY coordinate types when using label move tool
2022-01-10 08:09:28 +01:00
Nyall Dawson
40ba7b0041
Add more granular feedback to Extract Labels algorithm
2022-01-10 15:42:49 +10:00
Mathieu Pellerin
f3c5b6ec9b
Merge pull request #46725 from nirvn/label_alg_extra
...
A couple of additional details and an important fix to the extract labels alg.
2022-01-07 12:54:07 +07:00
Benjamin Jakimow
dc1866f0af
sipified files
2022-01-07 11:30:49 +10:00
Benjamin Jakimow
bb773d0a18
run sipify
...
Signed-off-by: Benjamin Jakimow <benjamin.jakimow@geo.hu-berlin.de>
2022-01-07 11:30:49 +10:00
Benjamin Jakimow
9b3e437ae3
addresses #46673 (QgsProcessingMapLayerComboBox shows layers out of
...
QgsProcessingParameterWidgetContext)
added a `setProject(QgsProject *project)` to QgsMapLayerModel,
QgsMapLayerProxyModel and QgsMapLayerComboBox
QgsProcessingMapLayerComboBox::setWidgetContext(...) now uses the
context project
2022-01-07 11:30:49 +10:00
Matthias Kuhn
3cfdd2d8d7
Only show spatial layers in extent widget
2022-01-06 18:40:50 +01:00
Nyall Dawson
ce7d4220c5
Apply suggestions from code review
2022-01-06 13:01:08 +10:00
Tobias Schmetzer
4a32f0d344
Correct parameter name and version description for doxygen
2022-01-06 13:01:08 +10:00
Tobias Schmetzer
f0c7727467
Make segmentLength argument optional with default as 0 instead of the nullptr option
2022-01-06 13:01:08 +10:00
Tobias Schmetzer
7640026100
Adapt function to comply with default behavior at segmentLength value 0, adapt and improve test cases, include .sip.in files, corrected segmentLength calculation
2022-01-06 13:01:08 +10:00
Tobias Schmetzer
9cbcae58b5
Add QgsGeometryUtils::perpendicularCenterSegment() with description in header file, test case and sip.in for Docx
2022-01-06 13:01:08 +10:00
Nedjima Belgacem
b88b080777
Camera navigation improvements ( #45979 )
...
Fixes two issues in camera navigation:
- Unintuitive camera rotation
- Wrong center point when zooming in/out and rotating
See https://github.com/qgis/QGIS-Enhancement-Proposals/issues/215
This PR employs the following changes:
- The zoom in functionality will zoom in towards the real 3D position of an object in the scene instead the camera view center point used previously.
- The rotation will use the real clicked 3D position of a pixel as well instead of the camera view center point.
- The press and drag behaviour is improved to shift the map in real 3D coordinates instead of some arbitrary measurement (you can see the clicked pixel following the cursor instead of drifting away).
2022-01-05 12:13:25 +01:00
Nyall Dawson
dbff1e16cc
Also add signal for when layer rendering starts
2021-12-31 16:26:50 +10:00
Nyall Dawson
79d50657c7
Add layerRendered signal to QgsMapRendererJob
...
Can be used to provide progress feedback on map render jobs
2021-12-31 16:26:50 +10:00
nirvn
83b5183ac2
[feature] Add a QgsScaleCalculator function to calculate canvas width from a given extent, scale, and dpi
2021-12-30 11:17:58 +07:00
nirvn
6e607313bd
[feature] Handy null painter device class to use with map renderer custom painter jobs
2021-12-30 11:06:41 +07:00
nirvn
4131714907
[feature][api] Add a map settings / render context flag to skip symbol rendering
2021-12-28 20:04:49 +07:00
nirvn
4dbcd389fc
[feature][api] Allow a custom label sink to be used with map renderer jobs
2021-12-28 20:04:49 +07:00
Marco Hugentobler
7fbabb6744
Re-add accidentally removed white-space
2021-12-23 13:25:57 +10:00
Marco Hugentobler
be6d9b5f61
Add bracket (in case %2 is an arithmetic expression) and add unit test
2021-12-23 13:25:57 +10:00
Nyall Dawson
6783347896
Implement framework for history providers
...
As per https://github.com/qgis/QGIS-Enhancement-Proposals/issues/130
2021-12-21 15:32:57 +10:00
Nyall Dawson
5fd9b209ac
[feature] Allow input parameter values for qgis_process to be
...
specified as a JSON object passed via stdin to qgis_process
This provides a mechanism to support complex input parameters
for algorithms, and a way for qgis_process to gain support
for parameter types which are themselves specified as a dictionary
type object.
To indicate that parameters will be specified via stdin then
the qgis_process command must follow the format
qgis_process run algid -
(with a trailing - in place of the usual arguments list).
The JSON object must contain an "inputs" key, which is a map
of the input parameter values.
E.g.
echo "{"inputs": {\"INPUT\": \"my_shape.shp\", DISTANCE: 5}}" | qgis_process run native:buffer -
Specifying input parameters via stdin implies automatically
the --json output format for results.
One big motivation behind this enhancement is to provide a way for
the qgisprocess R libraries to support parameter types such as
aggregates.
Refs https://github.com/paleolimbot/qgisprocess/issues/56
Refs https://github.com/paleolimbot/qgisprocess/issues/44
Sponsored by the Research Institute for Nature and Forest, Flemish Govt
2021-12-20 11:33:50 +10:00
Nyall Dawson
e0dfc46916
Fix typos
2021-12-17 08:29:31 +10:00
Nyall Dawson
53d08d73e6
Add method to convert parameters for a processing algorithm to a JSON
...
serializable map
2021-12-17 08:29:31 +10:00
Nyall Dawson
84cf46a629
Add method to copy QgsProcessingContext settings as a json map
2021-12-17 08:29:31 +10:00
Nyall Dawson
fe471eacce
Add method to QgsProcessingAlgorithm to create equivalent qgis_process command
2021-12-17 08:29:31 +10:00
Nyall Dawson
6315133c8b
Add method to convert parameter value to a list of strings
2021-12-17 08:29:31 +10:00
Nyall Dawson
4e71e45ae2
Add method to convert QgsProcessingContext settings to equivalent
...
qgis_process arguments
2021-12-17 08:29:31 +10:00
Nyall Dawson
ee3257b8e9
Add api to convert a processing parameter value to a string, if possible
...
Designed for use in converting an algorithm's parameters for
representation as a qgis_process command line
2021-12-17 08:29:31 +10:00
Nyall Dawson
e73d51d660
Add api to convert a processing parameter value to a value which
...
is compatible with storage in a JSON object
2021-12-17 08:29:31 +10:00
Julien Cabieces
93399e33a3
Merge pull request #46037 from Koyaani/doc_generation
...
[Doc] Add folders for documentation generation
2021-12-16 15:09:01 +01:00
Matthias Kuhn
9500bfba6d
Merge pull request #46504 from kadas-albireo/master
...
Automatically remove attached files used as layer sources when layer is deleted
2021-12-16 06:24:04 +01:00
Alessandro Pasotti
25337c25b2
Merge pull request #46471 from nyalldawson/fix_44871
...
Fix setting manual table content through PyQGIS
2021-12-15 21:52:38 +01:00
Sandro Mani
792ce7f962
Automatically removed attached layer sources when layer is deleted
2021-12-15 13:20:14 +01:00
Matthias Kuhn
fab5d8a84e
Merge pull request #46493 from suricactus/fix_misleading_docs
...
Fix misleading docs that is only valid if edit buffer is used (so does not work in transaction mode)
2021-12-15 11:49:02 +01:00