Andrea Giudiceandrea
531afc3935
[SpatiaLite] Fix getQueryGeometryDetails() for Z, M and ZM
2024-04-19 18:11:48 +02:00
Alessandro Pasotti
c23aaa4c24
Fix double featureCount argument
2024-04-19 18:08:28 +02:00
Germán Carrillo
a81d51c9dc
[dxf] Remember settings for DataDefinedBlocks in DXF Export (app) dialog
2024-04-19 17:33:48 +02:00
Germán Carrillo
448d5e36f5
[processing] Expose DXF Export's data defined blocks functionality to processing
2024-04-19 17:32:29 +02:00
Mathieu Pellerin
d9677bcb1c
Merge pull request #57016 from gacarrillor/dxf_overridden_name
...
[dxf] Allow users to override the layer name to be exported to DXF
2024-04-19 20:44:09 +07:00
Alessandro Pasotti
8349254f4d
Update test_qgsowsconnection.py
2024-04-19 13:44:48 +02:00
Alessandro Pasotti
8d1633d2ba
Update test_qgsowsconnection.py
2024-04-19 11:54:32 +02:00
Alessandro Pasotti
751cb4f5d9
Simplify code and set default to 10 for old connections
2024-04-19 09:56:13 +02:00
Harrissou Sant-anna
220abf7aa9
Fix casting of symbol layer densityArea property
2024-04-19 07:08:34 +10:00
Alessandro Pasotti
022706179f
Spell check
2024-04-18 11:11:41 +02:00
Alessandro Pasotti
3b40f090dc
WMS: GetFeatureInfo FEATURE_COUNT set connection default
...
Allow to set a default FEATURE_COUNT (default 10) individually for
each WMS connection.
This default also works when adding WMS layers from the browser and it
can be overridden for each individual layer when added from the
datasource manager.
The deafult user experience when adding layers from the datasource
manager is not changed: the default of 10 still applies unless it
is explicitly set from the connection settings.
Fix #45206
Founded by: QGIS user group Germany (QGIS Anwendergruppe Deutschland e.V.)
2024-04-18 10:36:20 +02:00
Nyall Dawson
fbad0b4e28
Fix test on newer GDAL versions
2024-04-18 13:25:16 +10:00
Nyall Dawson
d95ac4a7ea
Better reporting for invalid field names for some algorithms
2024-04-18 13:25:06 +10:00
Nyall Dawson
5b912fab9d
Escape filenames correctly
2024-04-18 11:32:28 +10:00
Nyall Dawson
c033ac8ccd
Show filename in exceptions raised from Python console scripts
...
Instead of "", ensure the actual filename (or tab title, for unsaved
scripts) is shown in exceptions
2024-04-18 11:32:28 +10:00
Nyall Dawson
3688035942
Ensure filename is shown when an exception occurs in a dropped Py script
2024-04-18 11:32:28 +10:00
Nyall Dawson
3ac4fd4ca8
Ensure __file__ is set when running python scripts dropped onto QGIS
2024-04-18 11:32:28 +10:00
Nyall Dawson
5e85f29512
Add Google Fonts processing script
2024-04-18 11:31:55 +10:00
Nyall Dawson
b70fba6762
Download Google fonts from github, not broken Google fonts download url
...
Note that not all fonts available from Google fonts are present on
the github repo for some reason, eg Open Sans Condensed is not.
Fixes #57070
2024-04-18 11:31:55 +10:00
Mathieu Pellerin
62c5427f58
Merge pull request #57161 from nirvn/qml_invokable_additions
...
[qml] Add a couple of Q_INVOKABLE in QgsProject and QgsVectorLayer to ease layer and feature fetching + editing
2024-04-17 23:25:31 +07:00
Alessandro Pasotti
dd0412da89
Merge pull request #57046 from elpaso/bugfix-server-oapif-layerpermissions
...
Server/OAPIF: fix unreported issue with access control layer permissions
2024-04-17 15:33:31 +02:00
Alessandro Pasotti
f9688deeef
Server/OAPIF: fix unreported issue with access control layer permissions
...
When 'canRead' property for a published WFS layer was set to False
from an access control filter plugin the whole /collections reques
was returning a 404 insted of returning the list of published layers
(minus the filtered ones).
2024-04-17 14:06:30 +02:00
Mathieu Pellerin
37af25e0b6
Move some invokables to properties
2024-04-17 18:27:33 +07:00
Mathieu Pellerin
fbd4af04ef
[qml] Allow for getting/setting attribute by index and name
2024-04-17 18:07:43 +07:00
Mathieu Pellerin
6709debbac
Fix sipify.pl script not handling Q_INVOKABLE inline
2024-04-17 18:07:43 +07:00
Mathieu Pellerin
70ceb9d317
[qml] Expose map layers by name project function
2024-04-17 18:07:43 +07:00
Mathieu Pellerin
6f1f5d2ef6
[qml] Make a couple of vector layer editing/deletion functions invokable
2024-04-17 18:07:43 +07:00
Mathieu Pellerin
5d796e9dfa
[qml] Make QgsFields a QGadet and make some functions invokable
2024-04-17 11:15:23 +07:00
Germán Carrillo
82fb6ccd24
[dxf] Address review: prefer overridden layer name over layer title (the former can be changed in the export dialog, whereas the latter must be done in the layer properties, therefore, overridden layer name is closer to the export intention and should take the precedence)
2024-04-16 17:54:46 +02:00
Germán Carrillo
c2e248befc
[dxf] Allow users to recover original layer name after overriding it (by using the QgsFilterLineEdit with default value)
2024-04-16 11:33:49 +02:00
Nyall Dawson
f53fbfb4dd
Avoid a bunch of text to double round trip conversions
...
Simplify api, and add a bunch of tests
2024-04-16 13:12:23 +10:00
Alexander Bruy
72226c5983
use project scales in label rendering and new 2D canvas dock if they are
...
set (fix #51326 )
2024-04-16 13:12:23 +10:00
CodeBardian
0f9b830d58
access column header from source model
2024-04-16 08:57:51 +10:00
ostr00000
65ef22fa77
refactor startup script detection
...
- use pathlib,
- change complex one-line condition to function,
- use `QgsMessageLog`,
2024-04-16 08:41:11 +10:00
ostr00000
809564bad0
add check for PYQGIS_STARTUP
to avoid executing provided file twice
2024-04-16 08:41:11 +10:00
Alessandro Pasotti
64e2fdc9aa
Merge pull request #57126 from elpaso/bugfix-gh57121-fields-dialog-crash
...
Fix crash when setting default on form field properties
2024-04-15 08:37:53 +02:00
rldhont
359cd426b6
[processing] Fix Output Variant availability
...
With #54358 [processing] Add a new 'Calculate expression' algorithm for use in models, a processing output type for variant values has been introduced.
This output Should be used when the output is a flexible type and may represent any QVariant value, like QgsPoint, and must be available for use as inputs for most parameter types.
In ba7bdec, `QgsProcessingOutputVariant::typeName()` is sometimes added in widget wrapper `compatibleParameterTypes` instead of `compatibleOutputTypes`.
For example, the `QgsProcessingOutputVariant::typeName()` is in `QgsProcessingPointWidgetWrapper::compatibleParameterTypes()` instead of `QgsProcessingPointWidgetWrapper::compatibleOutputTypes()`, so `QgsPoint` output in a variant could not be used as an input parameter.
2024-04-15 10:15:26 +10:00
rldhont
9a6cb9ff47
Merge pull request #56777 from rldhont/fix-server-getprint-html-mode-manualcontent
...
[Bugfix] Server GetPrint set HTML content of QgsLayoutItemHtml and not only URL
2024-04-14 15:28:32 +02:00
Loïc Bartoletti
5cf4dcdc5d
Clipboard: Add WKB option to clipboard
2024-04-12 08:54:30 +02:00
Alessandro Pasotti
27cc642925
Update qgsattributesformproperties.cpp
2024-04-12 08:44:47 +02:00
Alessandro Pasotti
bb2d01be57
Update src/gui/vector/qgsattributesformproperties.cpp
...
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2024-04-12 08:28:57 +02:00
Nyall Dawson
902f91fccb
Hide another qt wayland related warning
2024-04-12 09:53:20 +10:00
Nyall Dawson
027dd2a80b
Add QGIS 4 TODO
2024-04-12 09:53:20 +10:00
Nyall Dawson
fd594751dc
Silence some qt warnings which aren't our fault
2024-04-12 09:53:20 +10:00
Nyall Dawson
018c844828
Use QThreadStorage for GEOS context on windows
2024-04-12 05:25:13 +10:00
Julien Cabieces
3d31ba4d39
Merge pull request #57124 from 3nids/sipify-ver
...
[sipify] support different since versions in C++ vs PyQGIS
2024-04-11 16:56:26 +02:00
Denis Rouzaud
3a2dcd5629
Update qgsvectorlayer.h
2024-04-11 14:09:24 +02:00
Denis Rouzaud
1c0392abc0
Update sipify.pl
2024-04-11 14:08:38 +02:00
Alessandro Pasotti
95a649169a
Fix crash when setting default on form field properties
...
Fix #57121
Founded by: Take the A train ♫
2024-04-11 13:27:54 +02:00
Denis Rouzaud
709690551d
[sipify] support different since versions in C++ bs PyQGIS
2024-04-11 11:01:19 +02:00