88022 Commits

Author SHA1 Message Date
Germán Carrillo
4800c7717b [gui] Add icon for Stacked Diagrams 2024-10-01 08:36:30 +10:00
Harrissou Sant-anna
b144272277 Fix buttons tab order and vertical expansion 2024-10-01 07:30:01 +10:00
Germán Carrillo
771b03348f [core] Fix restoring projects using stacked bar diagrams 2024-10-01 07:25:50 +10:00
Matthias Kuhn
d4d7684526
Merge pull request #58879 from m-kuhn/install-3d-headers
Install 3D headers
2024-09-30 10:50:15 +02:00
Matthias Kuhn
4a0d2a367a
Merge branch 'master' into install-3d-headers 2024-09-30 09:40:46 +02:00
Mathieu Pellerin
6f3e33e144 Follow up a27fecf: use pre-existing key naming 2024-09-30 14:02:31 +10:00
merydian
a7621a2e54 Use QByteArray.data() for as_shapely 2024-09-30 13:22:21 +10:00
merydian
bb6ec91291 Improve performance of as_shapely
By utilizing QgsGeometry.asWkb() this is ~8.45 times faster than the previous implementation.
2024-09-30 13:22:21 +10:00
merydian
1aba57c8ce Remove unnecessary import 2024-09-30 13:22:21 +10:00
merydian
82772b7865 Place shapely related things in separate try statement 2024-09-30 13:22:21 +10:00
merydian
bbf6bc5e11 Implement QgsGeometry.as_numpy and .as_shapely 2024-09-30 13:22:21 +10:00
Hannes
3388f1f683
Add info about usable "expression dialect" to filter dialog (#58730)
Show SQL dialect used for layer filtering
2024-09-30 11:25:23 +10:00
Yoann Quenach de Quivillic
39782d67fd Add comment on style index 2024-09-30 10:12:35 +10:00
Yoann Quenach de Quivillic
8981b49634 Fix syntax highlighting after exception 2024-09-30 10:12:35 +10:00
signedav
a05e55b0d5 fix texts 2024-09-30 09:58:43 +10:00
signedav
45e76598fa Use QgsBlockingRequest and add possiblity to choose output file and add possilbity of authentication config 2024-09-30 09:58:43 +10:00
signedav
b4182af225 Lightweight HTTP(S) request algorithm performing post / get requests and passing back the replys to the output. 2024-09-30 09:58:43 +10:00
Ben
29aa436cd6 Remove isSpatial() check from QgsMapToolAdvancedDigitizing overridden
canvas event methods.
2024-09-30 09:46:13 +10:00
Ben
f77a0bc61d Disable snapping when the add feature tool is activated on a non-spatial vector layer.
Also manage digitizing cursors properly when switching between spatial and
non-spatial vector layer with both in edit mode and add feature tool active.

Fixes #56152
2024-09-30 09:46:13 +10:00
ostr00000
02236e6b99 delays PYQGIS_STARTUP logs until qgis module is loaded 2024-09-30 09:42:43 +10:00
Even Rouault
98de62cc7a Save Raster Layer as: do not propose PDF as possible format, which is not supported
The PDF driver only supports 'random' creation for vectors, not raster.
For raster, it only supports CreateCopy() mode

Refs #58891
2024-09-30 09:38:37 +10:00
David Koňařík
e74bb60ad4 Support heightAt() on Quantized Mesh terrain 2024-09-29 16:52:06 +02:00
David Koňařík
4314a87413 Allow converting Quantized Mesh tiles to QgsMesh 2024-09-29 16:52:06 +02:00
David Koňařík
7864003652 Initialize terrain generator correctly in tests 2024-09-29 16:50:22 +02:00
David Koňařík
c88750fc30 Fix 3D terrain generator init sequence 2024-09-29 16:50:22 +02:00
David Koňařík
bb40c6da84 Improve Quantized Mesh HTTP error handling 2024-09-29 16:50:22 +02:00
David Koňařík
c3a03e5e87 Add UVs for Quantized Mesh skirt 2024-09-29 16:50:22 +02:00
David Koňařík
7d58ca084e Fix authcfg warnings 2024-09-29 16:50:22 +02:00
David Koňařík
e5b2da8d63 Limit Quantized Mesh terrain to map extent 2024-09-29 16:50:22 +02:00
qgis-bot
cc8c62fc99 auto sipify 🍺 2024-09-28 23:00:59 +00:00
Nyall Dawson
0f9861d45e Test masks 2024-09-29 08:57:52 +10:00
Nyall Dawson
93012dd5af [feature] Support img tags in HTML label text
Allows use of img tags in HTML label content. The following logic
is applied:

- Image path is set via the src="xxx" attribute. Local, HTTP, and
base64 encoded paths are permitted
- Any image format readable by QGIS can be used
- Image sizes can be specified via the width="##" and height="##"
attributes. If width or height is not specified it will automatically
be calculated from the original image size
- If width or height are specified, they are considered to be
in POINTS
- The css width/height settings are NOT respected (this is a Qt
limitation)
- Images are not supported for curved text labels
- Images are placed inline only, floating images are not supported

Sponsored by City of Freiburg im Breisgau
2024-09-29 08:57:52 +10:00
Nyall Dawson
ffc6dd208d Allow QgsTextFragment to represent an inline image object
Modifies the QgsTextDocument API to extract images from HTML
content, and store in the associated
QgsTextFragment/QgsTextCharacterFormat objects
2024-09-29 08:57:52 +10:00
Nyall Dawson
74b921e84b Allow HTML data urls for QgsImageCache
Adds support for base64 encoded image decoding when the path
is a HTML data URL (in addition to the existing "base64:..."
format support)

Allows use of eg "data:image/jpeg;base64,XXXXXXXX" formats
for image paths, so that the image cache can correctly handle
embedded image paths from HTML/CSS content
2024-09-29 08:57:52 +10:00
Denis Rouzaud
44d8b9bb64 adapt test 2024-09-27 12:37:14 +02:00
Denis Rouzaud
edeb2a938d [mvt] use scale_exponential expression 2024-09-27 12:37:14 +02:00
Denis Rouzaud
2bd635461a
[mvt] fix opacity incorrectly for low scale (#58882)
* [mvt] fix opacity incorrectly for low scale

if the opactiy was defined by expression on the lower scale bound, it was incorrectly set to 0

* simplify test
2024-09-27 08:49:42 +02:00
qgis-bot
1e24f487f1 auto sipify 🍺 2024-09-27 06:41:09 +00:00
Julien Cabieces
b06984f42b fix(SvgSelectorWidget): Correctly use QPixmapCache
With previous code, pixmap was never taken from cache
2024-09-27 08:37:56 +02:00
qgis-bot
4550beadb5 auto sipify 🍺 2024-09-27 05:58:03 +00:00
Denis Rouzaud
ca3b40cb8c
Merge pull request #58568 from gacarrillor/stacked_diagrams
[feature] Introduce stacked diagrams
2024-09-27 07:54:49 +02:00
Denis Rouzaud
9302008d48
[mvt] support rotations for labels (#58881)
* [mvt] support rotations for labels

* fix code style

* Update src/core/vectortile/qgsmapboxglstyleconverter.cpp

Co-authored-by: Even Rouault <even.rouault@spatialys.com>

---------

Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2024-09-27 04:34:12 +02:00
Germán Carrillo
b8f976012a [core] Address review, stacked diagrams: include maxScale for rendering with scale dependent visibility 2024-09-26 20:52:02 -05:00
qgis-bot
27e1ec90e7 auto sipify 🍺 2024-09-26 21:40:29 +00:00
Even Rouault
8335dab269
Merge pull request #58864 from rouault/fix_58861
QgsJsonUtils: add a way to disable use of field formatters
2024-09-26 23:37:12 +02:00
Germán Carrillo
37de287f7c [core] Addres review: skip SIP for some static const diagram names 2024-09-26 09:48:19 -05:00
qgis-bot
6a488de21a auto sipify 🍺 2024-09-26 12:20:58 +00:00
Denis Rouzaud
590232d70a
add template method to return specific type of layers in map canvas (#58878)
* add template method to return specific type of layers in map canvas

* Apply suggestions from code review

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>

---------

Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2024-09-26 14:17:36 +02:00
Matthias Kuhn
0118590a6c Install 3D headers 2024-09-26 13:16:38 +02:00
Germán Carrillo
463bf249bb [core] Address review: switch from define to static const 2024-09-25 19:46:58 -05:00