23828 Commits

Author SHA1 Message Date
qgis-bot
440539389d auto sipify 🍺 2024-09-04 09:09:38 +00:00
Nyall Dawson
519b82183c Fix numeric format configuration in dialog mode 2024-09-04 19:06:26 +10:00
Nyall Dawson
bfb6e1cc76 Address review 2024-09-04 19:06:26 +10:00
Nyall Dawson
1eb3d82c11 Pass proper expression context on to numeric format widget 2024-09-04 19:06:26 +10:00
Nyall Dawson
05003ba2fa [feature] Add "Linear Referencing" symbol layer type
This new symbol layer type allows placing text labels at regular
intervals along a line (or at positions corresponding to
existing vertices). Positions can be calculated using
Cartesian distances, or interpolated from z/m values.

Functionality includes:

- Labels can be placed using fixed cartesian 2d distances,
at regular linearly interpolated spacing calculated using
the Z or M values in geometries, or at existing vertices
- Labels can show either the running total distance, or
the linearly interpolated Z/M value
- Uses text rendered to draw labels, so the full range
of functionality is available for the labels (including
buffers, shadows, etc)
- Uses the QGIS numeric format classes to format numbers
as strings, so users have full range of customisation
options for eg decimal places
- An optional "skip multiples of" setting. If set, then
labels which are a multiple of this value will be skipped
over. This allows construction of complex referencing labels,
eg where a symbol has two linear referencing symbol layers,
one set to label every 100m in a small font, skipping multiples
of 1000, and a second set to label every 1000m in a big
bold font
- Labels are rendered using an angle calculated by averaging
the linestring, so sharp tiny jaggies don't result in
unslightly label rotation
- Optionally, markers can be placed at referenced points
in the line string, using a full QGIS marker symbol (this allows
eg showing a cross-hatch at the labeled point, for a "ruler"
style line)
- Data defined control over the placement intervals, skip
multiples setting, marker visibility and average angle
calculation length

Notes:

- When using the distance-based placement or labels, the
distances are calculated using 2D only, Cartesian calculations
based on the original layer CRS. This could potentially be
extended in future to expose options for 3D Cartesian distances,
or ellipsoidal distance calculations.

Sponsored by the Swiss QGIS User Group
2024-09-04 19:06:26 +10:00
qgis-bot
d2f38a45ed auto sipify 🍺 2024-09-04 05:37:58 +00:00
Alessandro Pasotti
fac763d385
Merge pull request #58559 from elpaso/bugfix-gh52219-relation-ref-not-null-followup
Fix default AllowNotNULL for relation ref wdgt
2024-09-04 07:34:54 +02:00
qgis-bot
38c75784be auto sipify 🍺 2024-09-04 03:57:45 +00:00
Nyall Dawson
15c7343a97 Fix indentation of fromFunction docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
cbb741fb35 Use correct subheader underline 2024-09-04 13:54:39 +10:00
Nyall Dawson
55f78cfce1 Fix QgsSvgCache parameter formatting 2024-09-04 13:54:39 +10:00
Nyall Dawson
dd01c630e7 Checkin files 2024-09-04 13:54:39 +10:00
Nyall Dawson
4db6237246 Deprecate signal which is never emitted 2024-09-04 13:54:39 +10:00
Nyall Dawson
c6233cb312 Add missing signal docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
104ffa885a Cleanup docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
a4723d7b97 Add missing signal docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
e5c5ecb88c Add missing signal docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
2e60236344 Fix list in return value 2024-09-04 13:54:39 +10:00
Nyall Dawson
94f6e9c71b Correctly handle \param[in,out] in sipify 2024-09-04 13:54:39 +10:00
Nyall Dawson
e1a1b064b2 Fix multiline return with SIP_OUT 2024-09-04 13:54:39 +10:00
Nyall Dawson
59e1dedd04 Remove private notes, fix malformed notes 2024-09-04 13:54:39 +10:00
Nyall Dawson
a5ba59d016 Fix malformed notes 2024-09-04 13:54:39 +10:00
Nyall Dawson
0191ecbccd Add missing docs for signals 2024-09-04 13:54:39 +10:00
Nyall Dawson
98d1cbe40a Fix malformed tags 2024-09-04 13:54:39 +10:00
Nyall Dawson
1a8a072aac Fix up \param formatting 2024-09-04 13:54:39 +10:00
Nyall Dawson
60e376826d Fix tag 2024-09-04 13:54:39 +10:00
Nyall Dawson
bfa3bb3fc6 Misc doc cleanups 2024-09-04 13:54:39 +10:00
Nyall Dawson
31760c0955 Fix docs for QgsServerRequest 2024-09-04 13:54:39 +10:00
Nyall Dawson
dfaed5d57e Fix inline link 2024-09-04 13:54:39 +10:00
Nyall Dawson
be5877d517 pass is a reserved keyword in python, use password instead 2024-09-04 13:54:39 +10:00
Nyall Dawson
502ad84f83 Cleanup QgsUnitSelectionWidget docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
8f6b511b0b Fix class link 2024-09-04 13:54:39 +10:00
Nyall Dawson
f5ecf161c3 Add missing docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
1fb218854c Fix formatting of equation 2024-09-04 13:54:39 +10:00
Nyall Dawson
c8a8e37376 Sipify all 2024-09-04 13:54:39 +10:00
Nyall Dawson
609abe07aa Fix test 2024-09-04 13:54:39 +10:00
Nyall Dawson
9e36048b32 Remove dead code 2024-09-04 13:54:39 +10:00
Nyall Dawson
79f2f8a412 Cleanup some CPT city docs 2024-09-04 13:54:39 +10:00
Nyall Dawson
1a4cb34371 Correctly format QgsFileUtils examples 2024-09-04 13:54:39 +10:00
Nyall Dawson
261458e3e4 "is" is a reserved keywork in Python
We can't use it for a named keyword argument. Rename to something
safer.
2024-09-04 13:54:39 +10:00
Nyall Dawson
8a138dff2c Add missing signal docs for QgsDataItem 2024-09-04 13:54:39 +10:00
Nyall Dawson
7713f79572 Some QgsGml doc cleanups 2024-09-04 13:54:39 +10:00
Nyall Dawson
39dd7abeb9 Mark globs as code literals 2024-09-04 13:54:39 +10:00
Juergen E. Fischer
f6799dba43 fix sip_check failure 2024-09-04 09:04:50 +10:00
Juergen E. Fischer
50c03ccf02 apply osgeo4w patches 2024-09-04 09:04:50 +10:00
qgis-bot
d46973d9c1 auto sipify 🍺 2024-09-03 20:35:11 +00:00
Nyall Dawson
f2e4c3dfb7 Don't mangle http see links in PyQGIS docs 2024-09-04 06:32:03 +10:00
Nyall Dawson
534ca73c59 Fix missing see also trailing notes in PyQGIS documentation 2024-09-04 06:32:03 +10:00
Nyall Dawson
4628bc9d85 More \see cleanups 2024-09-04 06:32:03 +10:00
Nyall Dawson
b89a1f9f1c Remove broken see also links 2024-09-04 06:32:03 +10:00