22346 Commits

Author SHA1 Message Date
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
Julien Cabieces
b4613b9839
Fixes #53204 : use setting from registry in processing config (#53458) 2023-06-14 10:25:36 +02:00
Nyall Dawson
30acad6819 Cleanup iface signal connections when unloading processing
plugin

Fixes #53455
2023-06-14 17:33:47 +10:00
Nyall Dawson
fcfe98c8ed Some super-safety in overridden stdout/stderr to ensure we don't
try to write to a deleted qwidget
2023-06-14 07:48:13 +10:00
Nyall Dawson
def4acc14a Gracefully restore the system stdout/stderr when the python console
is about to be destroyed
2023-06-14 07:48:13 +10:00
Nyall Dawson
80f97c5e72
Implement responsive cancelation also for fields retrieval 2023-06-13 10:55:38 +10:00
Andrea Giudiceandrea
e450b2d9c5 [grass] r.series: add missing tvalue option 2023-06-13 07:30:04 +10:00
Julien Cabieces
cdd3a3a5bb Fixes #53412 : transfer back rasterblock back to python caller 2023-06-13 04:56:13 +10:00
Nyall Dawson
4ebfa34eeb Correctly cleanup project archive files before attempting
to clear/replace archive

Otherwise the temporary archive directory cannot be removed,
resulting in many "QTemporaryDir: Unable to remove" warnings
and leftover temporary directories

Refs #53034
2023-06-09 11:19:33 +10:00
Hannes
6a14504c10 Further clarify CRS' hasAxisInverted
Thanks to @pathmapper & @nyalldawson
2023-06-09 07:06:58 +10:00
Nyall Dawson
7a784cdfd6 Flag OneDrive remote folders as remote, slow to open paths on Windows
Refs #51710
2023-06-08 14:06:01 +10:00
Alexander Bruy
7543fabc91 add "resample" to the list of tags for GDAL's warp algorithm (fix #49208) 2023-06-08 08:39:25 +10:00
Alexander Bruy
a84011ecd7 do not raise error in processing algoirthm if map tool previously used
by the canvas was destroyed (fix #53294)
2023-06-08 08:37:17 +10:00
Alexander Bruy
8923c43311 set default value for CRS parameter in Define Shapefile projection
algorithm (fix #53309)

If default value is not set and prameter is not optional its widget end
up in conflicting state: invalid CRS is set but widget requires a valid
one. As a result even if user selects a valid crs, widget fails to
validate selection.
2023-06-08 08:31:30 +10:00
Alessandro Pasotti
b7324438b1
Merge pull request #53296 from elpaso/bugfix-gh53229-layout-filter-expression-context
Add more context to the legend filter expressions in layouts
2023-06-07 08:45:24 +02:00
Loïc Bartoletti
9938c594d0 [GRASS] Use -stable link to manuals 2023-06-07 10:00:23 +10:00
Matthias Kuhn
da158bbfd8
Merge pull request #53249 from nirvn/dxf_export_scale_angle
[dxf] Use a single reference bock when exporting markers with only data defined size and/or angle
2023-06-07 00:14:55 +02:00
Denis Rouzaud
5bccd556e2
move QgsTolerance::UnitType to Qgis::MapUnitType (#53347)
* move QgsTolerance::UnitType to Qgis::MapUnitType

* missing forward declaration

* forward declaration

* use MapToolUnit

* forward declaration

* sipify

* fix tests

* Apply suggestions from code review

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>

* forward declaration

* forward declaration

* forward declaration

* sipify

* fix missing parenthesis

---------

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-06-06 18:33:50 +02:00
Alessandro Pasotti
e7ebb8bc1b Simplify context passing 2023-06-06 10:08:17 +02:00
Nyall Dawson
b141f2f7b4
Fix grass provider points to out of date help documents
Instead of storing the calculated default URL for the help
documentation within the user's profile, make the help
PATH setting an optional override. This avoids the setting persisting
an older help URL when the user's grass installation is
updated to a newer version.

Change the existing setting key to a new one so that the
setting is reset for all users, so that old profile
settings don't apply and override the default.

Fixes #53105
2023-06-06 08:48:05 +10:00
Nyall Dawson
a764e2da76 Expose setting for point text annotations to control how
the text annotation should handle map rotation

Previously, text annotations just ignore map rotation, which
matches how regular map labels are handled. But this is not
desirable for some point text annotations, where it can
be considered a bug that the item ignores the map rotation (eg
when a text annotation has been placed to align with a feature
on the map, such as a road)

There's no one "correct" behaviour here, so add a new
combo box widget in the annotation point text settings with
options for
"Ignore Map Rotation"
"Rotate With Map"
so that users can pick the desired behavior for their annotations
2023-06-02 17:26:07 +10:00
Harrissou Sant-anna
52ec6016a7
Add 'Int8' as raster data types to Processing GDAL algorithms (#51755) 2023-06-01 22:39:01 +02:00
Matthias Kuhn
084d7a4dd3
Merge pull request #53328 from m-kuhn/intsall_qgslayoutchecker 2023-06-01 16:00:46 +02:00
Alessandro Pasotti
ec2a6a013a Fix crash in layout legend, plus pass context to the renderer
- fix crash reported in https://github.com/qgis/QGIS/pull/53296#issuecomment-1570127573
- pass the expression context to the legend renderer and to the hit test
2023-06-01 14:41:36 +02:00
Juergen E. Fischer
2f46999125 spelling fix 2023-06-01 14:40:29 +02:00
Matthias Kuhn
2832146814 Enable QgsLayoutChecker also without tests 2023-06-01 13:25:59 +02:00
Alessandro Pasotti
e3196484e1 Add more context to the legend filter expressions in layouts
Fix #53229
2023-05-31 09:56:25 +02:00
AlisterH
8e9901baa6 modernise 2023-05-31 10:09:47 +10:00
AlisterH
7a25346cc7 fix flake test I think 2023-05-31 10:09:47 +10:00
AlisterH
f1f4d243fc override processInputs for g.extension algorithms 2023-05-31 10:09:47 +10:00
AlisterH
6bae9e07c9 Update g.extension.list.txt
Write list to file
2023-05-31 10:09:47 +10:00
AlisterH
aea90ec68a Add algorithm to list GRASS addons 2023-05-31 10:09:47 +10:00
AlisterH
e4b10d15c4 Add algorithm to manage GRASS addons 2023-05-31 10:09:47 +10:00
Alexander Bruy
d0c7c6e930 fix formula for exponential interpolation
The scale_exp function renamed to scale_polynomial and has an alias
scale_exp to preserve backward compatibility.

A new function using correct formula was added as scale_exponential.
2023-05-31 09:02:01 +10:00
Nyall Dawson
ae638d2637 Allow setting distance unit for layout elevation profile items 2023-05-29 14:18:35 +10:00
Nyall Dawson
bb5cfb87ff Add no labels option 2023-05-29 14:18:35 +10:00
Nyall Dawson
2d105204f6 [feature] Expose choice of distance unit in elevation profile settings
menu

Allows users to change the distance unit for situations where the
map's default distance unit isn't appropriate
2023-05-29 14:18:35 +10:00
Nyall Dawson
ddc0012f9c Add api to set a label suffix and placement for labels in plot axis 2023-05-29 14:18:35 +10:00
Mathieu Pellerin
31d5d6360e [dxf] Use a single reference bock when exporting markers with only data defined size and/or angle 2023-05-27 15:07:17 +07:00
Nyall Dawson
3201a62702 Add missing documentation 2023-05-27 06:34:04 +10:00
Nyall Dawson
7f8fd5ea8e Create QgsProfileExporterTask task for generating and exporting
elevation profiles to files
2023-05-27 06:34:04 +10:00
Nyall Dawson
a865a762a4 Add driver filter option for formats capable of multi-layer storage 2023-05-27 06:34:04 +10:00
Nyall Dawson
33ffe9f6b9 [api] Add framework for exporting elevation profile results
as vector layers
2023-05-27 06:34:04 +10:00
Mathieu Pellerin
37ebf9c5e2
[gui][editor widgets] Show value relation description when hovering the combobox (#53237) 2023-05-26 17:12:14 +02:00