DelazJ
058a323c4e
Use 'string' as first parameter for substr_count function
2025-09-19 10:10:51 +02:00
DelazJ
ea329a31d0
Adjust substr_count expression help text
2025-09-18 11:28:13 +02:00
Tudor Barascu
0936526ba7
add count_substring expression
2025-09-18 01:08:40 +02:00
Tudor Bărăscu
1587150943
improve help of num_geometries function
2025-09-18 07:34:31 +10:00
Harrissou Sant-anna
646f761a73
Fix text case
2025-09-01 10:34:16 +10:00
Harrissou Sant-anna
ea27b563ed
Indicate correct output for the roundness function
...
This function may return and not TRUE.
2025-09-01 10:34:16 +10:00
Tudor Bărăscu
9a894bad76
improve round function help
...
address review
address review
2025-08-09 18:42:42 +02:00
Nyall Dawson
d55ca18e48
Adapt date strings to work for qt 6 builds
2025-07-25 01:52:43 +10:00
Nyall Dawson
e5508b2d74
Expand examples, tests
2025-07-25 01:52:43 +10:00
Nyall Dawson
3075e6b709
Add expression functions set_timezone and convert_timezone
...
These functions replace the current timezone for a datetime object
and convert a datetime object to a different timezone respectively.
2025-07-25 01:52:43 +10:00
Nyall Dawson
687f91711f
Add expression function to get the timezone from a datetime value
2025-07-25 01:52:43 +10:00
Nyall Dawson
b6173ac2ef
Add timezone_from_id, timezone_id expression functions
...
These functions allow creating a timezone from a IANA time zone
database ID, or extracting the IANA ID from a timezone object
respectively.
2025-07-25 01:52:43 +10:00
Tudor Bărăscu
0b2161cf3b
more help improvements
2025-07-03 20:06:43 +02:00
Tudor Bărăscu
d9a2a54351
improve boundary, convex_hull, end_point, geom_to_wkt help
2025-07-03 20:06:43 +02:00
Tudor Bărăscu
e2e3c05705
improve help for length and perimeter functions
2025-07-03 20:06:43 +02:00
Tudor Bărăscu
8265b4e995
improve area function help
...
Give an example of the most probable usage of this function
2025-07-03 20:06:43 +02:00
Andrea Giudiceandrea
ec42b1af2a
[expressions] Fix concave_hull function help
2025-05-13 22:08:31 +02:00
Etienne Trimaille
df3f9a12cc
Expressions - Add 2 examples with @layer_cursor_point about raster maptip
2025-05-06 07:49:16 +10:00
Nyall Dawson
95e8d14677
Add 'repeat' expression function
...
Repeats a given string a specified number of times.
Eg
repeat('Hello', 3) -> 'HelloHelloHello'
2025-04-06 15:45:27 +10:00
Nyall Dawson
59d6850aac
[expressions] Add 'reverse' variant for reversing a string
...
Allows using a string argument for the reverse function, which
returns a reversed version of the string
2025-04-06 15:45:27 +10:00
Harrissou Sant-anna
3fc8cadbf9
Add regexp to ~ function's tags
...
Fixes #60781
2025-03-04 08:15:16 +10:00
Harrissou Sant-anna
959ccbd111
Use a more user-friendly "authority ID" label
2025-02-17 10:43:58 +10:00
Alexander Bruy
8cbe41cd02
improve functions help
2025-02-14 08:48:38 +10:00
Alexander Bruy
2655f3125f
update bearing and transform expression functions to accept either string
...
representing CRS authid or CRS object
2025-02-14 08:48:38 +10:00
Alexander Bruy
1aad0d7d9a
rename functions
2025-02-14 08:48:38 +10:00
Alexander Bruy
f44bcc623a
add functions help
2025-02-14 08:48:38 +10:00
Alessandro Pasotti
7c5db3b307
Update to_string
2025-02-07 07:17:35 +01:00
Alessandro Pasotti
685a002e6f
Mention in the docs that to_string is not locale-aware
...
Fixes #60440
2025-02-06 10:24:50 +01:00
Harrissou Sant-anna
be1cd30f41
Fix examples of the scale_exponential expression function
2024-12-27 07:01:15 +09:00
Alessandro Pasotti
759590fa0b
overlay_intersects: flatten collections and filter by type
...
Partial fix for #59408
- try to merge multilinestrings to get the max length
- consider the tested geomery type when intersection is a collection
Funded by: Body & Soul ♬
2024-12-09 08:08:09 +01:00
Étienne Trimaille
a3383689a6
Add an example with a string to the to_bool expression
2024-11-26 08:04:41 +10:00
Mathieu Pellerin
52dd3047ac
[expression] Add a to_bool() function to convert various value types into a boolean
2024-11-19 15:09:58 +07:00
Julien Cabieces
6c2c9b7750
feat(Expression): Add project_color_object function
...
Which contrary to project_color doesn't return a string
representation there is no rgb conversion involved
2024-10-01 14:03:55 +10:00
Julien Cabieces
c6c755b51a
feat(Expression): Add ramp_color_object function
...
Which contrary to ramp_color doesn't return a string
representation there is no rgb conversion involved
2024-10-01 14:03:55 +10:00
Mathieu Pellerin
e1709a3655
Address review
2024-09-08 10:56:58 +07:00
Mathieu Pellerin
5cd1e31b82
[expression] Add line_interpolate_point_by_m and line_locate_m expressions
2024-09-08 10:52:04 +07:00
Julien Cabieces
87142708d1
feat(Expression): Make darker/lighter works with color object
...
and not just string representation
2024-09-03 09:46:26 +02:00
Julien Cabieces
f4b463db05
feat(Expression): Make (set_)color_part functions works with object
...
not just string representation
2024-09-03 09:46:26 +02:00
Julien Cabieces
dd41e147f8
feat(Expression): Add color_mix function
...
It takes string representation or color object as arguments so the
function can work with CMYK color without changing its color type and converting it to RGB.
2024-09-03 09:46:26 +02:00
Julien Cabieces
0b034b7e87
feat(Expression): Make color_grayscale_average works with object
...
So the function can work with CMYK color without changing its color
type and converting it to RGB.
2024-09-03 09:46:26 +02:00
Julien Cabieces
3fd6c3bdfe
feat(Expression): Add color_hsvf
...
Contrary to color_hsv, color_hsvf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Julien Cabieces
15bae7e6ab
feat(Expression): Add color_hslf
...
Contrary to color_hsl, color_hslf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Julien Cabieces
53db863fe2
feat(Expression): Add color_cmykf
...
Contrary to color_cmyk, color_cmykf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Julien Cabieces
3203704931
feat(Expression): Add color_rgbf
...
Contrary to color_rgb, color_rgbf allows to load a color from float
component (and not int) into a QColor object (and not a string representation).
2024-09-03 07:39:05 +10:00
Tudor Bărăscu
b4b84813d3
Be clear that the expressions return invalid when they cannot convert
...
I got mislead by the "Nothing is returned if a value cannot be converted" as it led
me to believe I was expecting NULL.
2024-05-30 07:29:04 +10:00
uclaros
10559048c0
QGIS does rock, but we need comprehensive examples
2024-05-10 06:18:16 +10:00
uclaros
03f967848c
add missing tr to header generated by map_to_html_table expression function
2024-05-10 06:18:16 +10:00
Germap
eac5f8e521
[Expressions] Add missing tag (crs ellipsoid) to layer_property function
2024-01-28 09:42:26 +01:00
uclaros
f0ec3a0aea
finalize mesh label rendering
2024-01-08 05:20:26 -08:00
Alexander Bruy
9ded559386
initial support for mesh labeling
2024-01-08 05:20:26 -08:00