87445 Commits

Author SHA1 Message Date
Nyall Dawson
bc52832b47 Lazily hack around markdown title underline not being long enough
Causes a bunch of warnings when building the PyQGIS docs
2024-08-28 11:58:21 +10:00
Nyall Dawson
6a936472d4 Remove incorrect 'not available in python' note 2024-08-28 11:58:21 +10:00
Nyall Dawson
088aea0d0d Fix incorrect use of inline returns 2024-08-28 11:58:21 +10:00
signedav
2078935a77 readCustomProperties is already called by readCommonStyle 2024-08-28 10:29:23 +10:00
signedav
d2bb72c457 consider pipe elements for symbology and raster only when symbology OR raster category has been selected (and of course allstylecategories) 2024-08-28 10:29:23 +10:00
signedav
84900c937a Provide categories to copy/paste style in rasterlayers 2024-08-28 10:29:23 +10:00
signedav
6518a64b05 Save FileBasedAttributeTables path when category is active 2024-08-28 10:29:23 +10:00
signedav
bd1c04ed5b Provide categories for raster that make sense like. The implementations are already there (in commonStyle e.g.) except for Attribute Table / and customProperties are exported in every case... 2024-08-28 10:29:23 +10:00
Matthias Kuhn
c062429a1f
Merge pull request #58502 from DelazJ/AlgsTitleinModeler
Modeler - Show group in the algorithm dialog title
2024-08-27 20:48:58 +02:00
Harrissou Sant-anna
bb275d1188
Modeler - Show group in the algorithm dialog title 2024-08-27 18:41:52 +02:00
Mathieu Pellerin
504c2e55fc [expression] Fix eval_template() not working with field caltulator and virtual fields 2024-08-27 22:15:09 +07:00
Nyall Dawson
3b912d171c Apply suggestions from code review 2024-08-27 11:52:36 +10:00
signedav
8027ee5507 named properly and added short description 2024-08-27 11:52:36 +10:00
signedav
7290a7acaf Improve tags, name, description because it's not given that file download is an http request and you can use this alogrithm for http requests and don't care about the file (just create a tmp file).
Don't allow the filename as optional because it fails without it anyway in the QgsFileDownloader.
2024-08-27 11:52:36 +10:00
Jean Felder
fee80841a1 testqgs3drendering: Update polygon_edges_height control images
This test contains a lot of control_images and some of them look
outdated. Replace all those images with a new default image and mask
which works in both qt5 and qt6 current versions.
2024-08-27 10:01:32 +10:00
qgis-bot
8ab71756cf auto sipify 🍺 2024-08-26 20:57:49 +00:00
Julien Cabieces
41700277f9 style(ColorWidget): s/supportDirection/hasDirection 2024-08-27 06:54:44 +10:00
Julien Cabieces
2f69449c10 style(ColorWidget): make cppcheck happy 2024-08-27 06:54:44 +10:00
Julien Cabieces
4fc8d1b870 style(ColorWidget): Use switch to properly support direction or not 2024-08-27 06:54:44 +10:00
Julien Cabieces
becfe9111d fix(ColorWidget): Synchronize color model with color ramp one
Fixes #58324
2024-08-27 06:54:44 +10:00
Nyall Dawson
d9d2d5cbd5 Allow reordering fields in new vector layer dialogs
(including scratch, shp, gpkg and spatialite)

Fixes #38241
2024-08-26 12:32:09 +10:00
velle
450966f682 Changed the formatting of showSettings output:
- now uses dash-bullets for each param
- spaces instead of tabs, tabs were not correctly indented in Python console
- "Application state" -> "QgsApplication state"
2024-08-26 12:05:10 +10:00
Even Rouault
26a5d442c5
Merge pull request #58384 from troopa81/remove_ogc_urn_version
[ServerWFS] Remove version from OGC urn
2024-08-25 12:17:14 +02:00
qgis-bot
b553b04ae9 auto sipify 🍺 2024-08-25 02:37:44 +00:00
Nyall Dawson
0467d3fc31 Address review 2024-08-25 12:34:51 +10:00
Nyall Dawson
fbfafdf8a9 Fix algorithm 2024-08-25 12:34:51 +10:00
Nyall Dawson
79283e18b4 Use resize handles for corner nodes
Fixes #58427
2024-08-25 12:34:51 +10:00
Nyall Dawson
370f74803f Only upgrade annotations on desktop 2024-08-25 12:34:51 +10:00
Nyall Dawson
a4f6b51e9d Expand tests 2024-08-25 12:34:51 +10:00
Nyall Dawson
692e1d4885 Adapt rect text widget to expose placement modes 2024-08-25 12:34:51 +10:00
Nyall Dawson
0fa21402f8 Expand tests 2024-08-25 12:34:51 +10:00
Nyall Dawson
6127088395 Make common base class for annotation items which render in rect
And avoid a bunch of duplicate code
2024-08-25 12:34:51 +10:00
Nyall Dawson
df4f29320b Remove action for creating old text annotations
The new Text in Rect annotation item should be used instead
2024-08-25 12:34:51 +10:00
Nyall Dawson
e64bd80ff2 Add auto-upgrade for old text annotations 2024-08-25 12:34:51 +10:00
Nyall Dawson
2d277f0a53 Fix crash when deleting nodes 2024-08-25 12:34:51 +10:00
Nyall Dawson
ed03e5a9ed Remove action for creating old SVG annotation items
The new Picture annotation item should be used instead
2024-08-25 12:34:51 +10:00
Nyall Dawson
b49114aa82 Add tests 2024-08-25 12:34:51 +10:00
Nyall Dawson
525ff64e88 Auto upgrade old SVG annotations to picture annotation items on project load 2024-08-25 12:34:51 +10:00
Nyall Dawson
1ce2940d2c Add framework to upgrade older annotations to annotation layer items on project load 2024-08-25 12:34:51 +10:00
Nyall Dawson
990e31d866 Fix false positive clang tidy warning 2024-08-25 12:34:38 +10:00
Nyall Dawson
5c1427c807 Add QgsLineString::lineLocationPointByM
This method attempts to interpolate the point on a linestringM
where a specified m value falls. It does this by interpolating
M values along the line string segments, finding the first
segment at which the target M value falls. If the M value
corresponds to a part of the line with constant m values, then
the center point of this constant m value portion will be
returned.
2024-08-25 12:34:38 +10:00
Nyall Dawson
374f0a5fcc Fix bug with inverted polygon renderer vs OTF simplification
The simplification MUST be applied prior to transforming geometries,
or the precalculated simplification tolerance will no be correct
and may be excessive (eg when the simplification tolerance
was calculated for a map in meters, yet the rendered layer is
in degrees -- in this case we would simplify the inverted geometry
with a tolerance of ~1 degree!)

Ensure that we apply the simplification FIRST, then transform,
and disable further simplification when rendering the calculated
inverted feature. This is also a performance boost, because we
are simplifying geometries prior to transforming + calculating
the inversion, so usually end up with a lot less vertices
to handle in those operations...
2024-08-25 12:34:18 +10:00
qgis-bot
ecfd18cea6 auto sipify 🍺 2024-08-23 09:37:22 +00:00
signedav
02c36d9fd6
Merge pull request #58448 from signedav/releditorfilter
Filter in Linking Dialogue of Relation Editor Widget
2024-08-23 11:34:13 +02:00
signedav
cc4a9aee5b
Merge pull request #58463 from signedav/openurlproc
Processing Algorithm "Open file or URL"
2024-08-23 11:33:26 +02:00
signedav
745cf3851b
Update src/analysis/processing/qgsalgorithmurlopener.cpp
Co-authored-by: Étienne Trimaille <gustrimaille@yahoo.fr>
2024-08-23 09:48:30 +02:00
Alessandro Pasotti
f7838c724e
Merge pull request #58470 from nyalldawson/better_ogr_error
[ogr] Make attribute error when adding features more helpful
2024-08-23 08:14:18 +02:00
signedav
e3f35b69f7 Renaming to more convenient name and add short description. 2024-08-23 08:12:47 +02:00
signedav
1ac5f23b26
Update src/analysis/processing/qgsalgorithmurlopener.cpp
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-08-23 08:02:51 +02:00
signedav
92b16e22b0
Update src/analysis/processing/qgsalgorithmurlopener.cpp
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-08-23 08:02:26 +02:00