Stéphane Brunner
3d0b27ea5d
Merge pull request #46629 from sbrunner/fix-headers
...
Fix headers
2022-01-13 19:28:17 +01:00
Vincent Cloarec
9965eccdce
Template parameter {usage} for XYZ raster and vector tiles ( #46731 )
2022-01-13 15:11:31 +01:00
Nyall Dawson
7a7fb285cd
Don't always reset custom crs format to wkt when it was originally
...
defined using a proj string
2022-01-13 13:58:00 +10:00
Nyall Dawson
370bdfd84d
Add api to allow the native format for a crs definition (i.e. wkt
...
or proj) to be saved when the crs is saved to xml
Allows us a way to present a custom crs in the same format as it was
originally defined using
2022-01-13 13:58:00 +10:00
NEDJIMAbelgacem
66b481ac36
use QgsProjectDirtyBlocker instead of connect disconnect dance
2022-01-12 13:46:49 +10:00
NEDJIMAbelgacem
96f7c474bf
remove dirtifying the project on hide & show and add proper project dirtyfing when the project changes
2022-01-12 13:46:49 +10:00
NEDJIMAbelgacem
ff5bde77a4
rename stuff
2022-01-12 13:46:49 +10:00
NEDJIMAbelgacem
f54136e616
address Nyall reviews
2022-01-12 13:46:49 +10:00
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
adc7b6a143
CRS selection dialog can now be opened inlined
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
Nyall Dawson
e692969896
Use combo box instead of tab in projection selection dialog
...
to select CRS type, and split widget out from dialog class
2022-01-11 19:50:46 +10:00
Nyall Dawson
d8de543872
Add "Custom CRS" tab to projection selection dialog
...
This allows users to just directly enter a custom CRS definition
(from proj or wkt), instead of requiring them to add a custom
CRS to their database.
It's much friendlier for users who just want to defined a custom
projection for e.g. an overview map.
2022-01-11 19:50:46 +10:00
Nyall Dawson
0ad1324780
Split off part of custom projection dialog into reusable
...
QgsCrsDefinitionWidget widget
2022-01-11 19:50:46 +10:00
Damiano Lombardi
028eaf839d
Rebase to master
2022-01-10 09:32:19 +01:00
Damiano Lombardi
2973735a6b
Apply suggestions from code review
2022-01-10 08:36:44 +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
jakimowb
d7bf988817
Expose QgsFieldCalculator to public API ( #46748 )
...
* shows QgsFieldCalculator in public API
* removed unnecessary comment
* QgsFieldCalculator:
made public slots private and added code documentation
* fixed doc string
* Apply suggestions from code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
* updated sip file
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2022-01-08 16:28:27 +01:00
Denis Rouzaud
6bf4aeb83d
const method
2022-01-07 20:30:21 +01:00
Denis Rouzaud
124bfd3f84
fix includes before guard ( #46744 )
2022-01-07 14:42:01 +00: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
01b61dc1eb
fixed style
2022-01-07 11:30:49 +10: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
Stéphane Brunner
a5a27207a0
Use QMetaEnum
2022-01-06 15:34:34 +01:00
Alexander Bruy
1c096ceb52
allow negative values for buffer distance in GDAL buffer algorithm ( fix #46667 )
2022-01-06 17:53:54 +10: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
Denis Rouzaud
795bb6a245
move QgsMapToolCaptureRubberband class to its own file
2022-01-03 10:55:40 +01:00
nirvn
406520f754
[processing] Add an optional output extent to the gdal raster calculator algorithm
2022-01-02 13:15:43 +07: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