282 Commits

Author SHA1 Message Date
Harrissou Sant-anna
2fa991921d Fix regexp_match example output 2020-09-01 08:45:10 +10:00
Nyall Dawson
23c7bd61b9 Update resources/function_help/json/extend 2020-08-31 11:19:06 +10:00
Harrissou Sant-anna
fc1f3bfbf2 Add example for aggregate collect functions
fix #24962
2020-08-31 11:19:06 +10:00
Harrissou Sant-anna
7c6ce37e2f Backslash and groups rearrangement to regex based examples
fix qgis/QGIS-Documentation#5760
2020-08-31 11:19:06 +10:00
Harrissou Sant-anna
97247efef4 Various improvements to expression
- Add/fix details to description and examples to illustrate
- indicate string for geom_to_wkt
2020-08-31 11:19:06 +10:00
Harrissou Sant-anna
13573d2b29 geom_to_wkt returns a string 2020-08-31 11:19:06 +10:00
Harrissou Sant-anna
ae8ea31a0f More updates of expression help
- Expose default values of args
- Fix args name or description
- Fix/add more examples (to show various possibilities of a function or so
that functions that relate have examples that relate)
2020-08-21 13:02:35 +10:00
Harrissou Sant-anna
3c35b75308 Use correct arg for rotate function 2020-08-15 11:51:04 +10:00
Harrissou Sant-anna
fc88150ffd Use correct argument name in the help file
segments and not segment
2020-08-15 11:51:04 +10:00
Harrissou Sant-anna
d49d10bf4d Fix make_triangle parameters name 2020-08-15 11:51:04 +10:00
Harrissou Sant-anna
e9dd082c97 Avoid same name for different parameters in a function
Fix duplicate "geometry" named parameters
2020-08-15 11:51:04 +10:00
Harrissou Sant-anna
3846b04f0a Harmonize geometry-based parameters name in expression
using 'geometry1' instead of 'geometry_a' or 'geometry a'
2020-08-15 11:51:04 +10:00
Harrissou Sant-anna
4f3a2f1da6 Add missing quotes 2020-08-14 08:23:49 +10:00
Harrissou Sant-anna
fa1a9aca36 Fix functions declaring variable length of arguments
while it's actually a fixed number
2020-08-14 08:23:49 +10:00
Harrissou Sant-anna
1d0749d72d Extend aggregate's concatenator and order_by args description 2020-08-10 08:32:18 +10:00
Harrissou Sant-anna
57b620c92f Use 'value' parameter instead of 'val' 2020-08-10 08:32:18 +10:00
Harrissou Sant-anna
43a20fed2b Updates on expression functions help
fix examples and description
add/update examples to "cross-link" functions
2020-08-10 08:32:18 +10:00
nirvn
07ab4b3255 [FEATURE][expression] Add a to_decimal() function to convert degree/minute/second strings 2020-07-31 08:06:32 +07:00
Harrissou Sant-anna
a4372d21b7 Fully explain the examples
avoiding use of $geometry function in explanation
2020-07-31 03:07:46 +10:00
Harrissou Sant-anna
490c8ff8d2 Replace geom parameter with geometry, for harmonization 2020-07-31 03:07:46 +10:00
Harrissou Sant-anna
8d4843d27b Harmonize NULL spelling in function help 2020-07-30 05:00:13 +10:00
Harrissou Sant-anna
8bf698074d Fix formatting 2020-07-21 10:16:00 +10:00
Harrissou Sant-anna
4e2cf102e0 Add precision to multipoint feature $x and $y functions
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2020-07-21 10:16:00 +10:00
Harrissou Sant-anna
5901d5dc6f Add precision and examples to x, y and z expression functions 2020-07-21 10:16:00 +10:00
Alexandre Neto
83836766be Apply suggestions from Havart
Co-authored-by: Håvard Tveite <havard.tveite@nmbu.no>
2020-07-21 10:12:13 +10:00
Alexandre Neto
fe9e14a5dd Apply suggestions from code review
Co-authored-by: Håvard Tveite <havard.tveite@nmbu.no>
2020-07-21 10:12:13 +10:00
Alexandre Neto
ea6c0446eb Apply suggestions from code review
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2020-07-21 10:12:13 +10:00
Alexandre Neto
ce5a643857 Improve CASE help 2020-07-21 10:12:13 +10:00
Alexandre Neto
c345622723 Fix some HTML syntax to play better with the QGIS-Documentation script 2020-07-21 10:12:13 +10:00
Alexandre Neto
6d2ccb4e3b Update help files 2020-07-21 10:12:13 +10:00
Alexandre Neto
9c631e7d96 Remove obsolete help files
Add missing group help files
2020-07-21 10:12:13 +10:00
Nyall Dawson
bd830ba2dd [feature][expressions] Add "main_angle" function to return the estimated
main angle of a geometry

Returns the angle of the oriented minimum bounding box which covers the
geometry value.

Useful for data defined overrides in symbology of label expressions,
e.g. to rotate labels to match the overall angle of a polygon, and
similar for line pattern fills...
2020-07-16 08:44:51 +10:00
Harrissou Sant-anna
e6f3c7fc70
Move maptip function help to variants structure 2020-07-14 01:15:21 +02:00
Harrissou Sant-anna
133f8ad0fe
Move display_expression help to variants style 2020-07-13 22:31:31 +02:00
Harrissou Sant-anna
9cf31e96ee
Swap display_expression parameters 2020-07-12 11:18:25 +02:00
Harrissou Sant-anna
2004184a96
Use string representation for Color functions example output 2020-07-10 10:22:07 +10:00
Harrissou Sant-anna
ecb617cfa0 Update darker function description 2020-07-04 07:10:09 +10:00
SrNetoChan
72c0c245e2 Rename JSON help file to match function name 2020-07-02 15:03:16 +10:00
SrNetoChan
d097adeacd Add groups to function_help files 2020-07-02 15:03:16 +10:00
Richard Duivenvoorde
d1d4824d58
Fix #36983 arguments of is_selected are flipped
Improve documentation of is_selected function to describe all available variants
2020-06-09 19:57:59 +10:00
nirvn
cbd3068443 [expression] Add optional language parameter to format_number() to control locale across different systems 2020-06-05 16:25:49 +07:00
Andrea Giudiceandrea
fd31c85f45 Fix order_by parameter in relation_aggregate function help 2020-06-01 10:05:19 +10:00
Etienne Trimaille
4587cc1484 review help about maptip and display_expression 2020-05-20 13:53:43 +10:00
Nyall Dawson
f49067cf27 Documentation improvements 2020-05-20 12:40:19 +10:00
Jan Caha
0b260248dc remove variableLenArguments from help 2020-05-20 12:40:19 +10:00
Jan Caha
988ac20647 [feature][expression] base64 to and from helps 2020-05-20 12:40:19 +10:00
Håvard Tveite
1ad63e931a
geom_to_wkb - update description 2020-05-18 07:52:59 +10:00
Nyall Dawson
da042bb61d [feature][expressions] New expression function "make_interval"
Allows direct construction of interval values from years/months/weeks/
days/hours/minutes/second values, without having to construct
a string representation of the interval first
2020-05-09 20:22:52 +10:00
Nyall Dawson
c2715d7b44 [FEATURE][expressions] Add make_date, make_time and make_datetime functions
These functions allow for direct creation of date/time values. Previously
this was only possible by going through the to_datetime/to_date/to_time
functions, which are string based and accordingly frustrating/inefficient
to use when you have numeric date/time component values.
2020-05-07 14:46:54 +10:00
Jan Caha
89fe6347ae
[feature] close_line expression function
Closes an open (multi)linestring geometry
2020-05-02 09:08:35 +10:00