88009 Commits

Author SHA1 Message Date
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
Germán Carrillo
463bf249bb [core] Address review: switch from define to static const 2024-09-25 19:46:58 -05:00
Germán Carrillo
eb201c56e6 [gui] Switch from string-based connections to functor-based ones 2024-09-25 19:41:35 -05:00
Germán Carrillo
01055d7a2d [gui] Diagram panel: connect effects and font widgets to live updates; switch from string-based connections to functor-based ones 2024-09-25 19:41:12 -05:00
qgis-bot
da1f55b7d1 auto sipify 🍺 2024-09-25 05:09:28 +00:00
Denis Rouzaud
eafa4b48b2
fix Python API compatibility (#58860)
* fix Python API compatibility

* Update qgis.h
2024-09-25 07:06:11 +02:00
Denis Rouzaud
6d4e343792
[mvt] fix line dash arrays using literals (#58857)
* [mvt] fix line dash arrays using literals

* Update src/core/vectortile/qgsmapboxglstyleconverter.h

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

---------

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-09-25 07:05:36 +02:00
Germán Carrillo
0916ed1f16 [core] Stacked diagrams: use one-liner to reverse renderers (std::reverse) 2024-09-24 20:36:04 -05:00
Even Rouault
dc1583bd7c
QgsJsonUtils: add a way to disable use of field formatters
Fixes #58861
2024-09-24 22:49:08 +02:00
Germán Carrillo
5fef1f633f [gui] Diagrams panel: make sure color and effects buttons can open a subpanel 2024-09-24 12:01:08 -05:00
Jorge Gustavo Rocha
b5d1779845
Change default WKT output to honor a space between geometry type and Z, M or ZM (#58010)
* Change default WKT output to honor a space between geometry type and Z, M ou ZM

* Update src/core/geometry/qgsabstractgeometry.cpp

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

* Suffix spell fix

* Fix remaining tests

* more tests fixed

* Fix failing test

* Fix last failing test after git merge master

* Tests against ORACLE

---------

Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-09-24 18:06:55 +02:00
vcloarec
2f65b86524 update vcloarec location 2024-09-24 16:17:44 +02:00
Alessandro Pasotti
906e9f9509
Merge pull request #58852 from pathmapper/fix_link_rel_property
[server][oapif] Fix link rel property
2024-09-24 12:51:37 +02:00
Alessandro Pasotti
7eaec14105
Merge pull request #58844 from elpaso/bugfix-gh58620-advanced-digitizing-coords-display
[digitizing] Advanced: fix distance input with non-meter CRSs
2024-09-24 08:50:51 +02:00
pathmapper
71ed302093 [server][oapif] Fix link rel property 2024-09-24 07:36:17 +02:00