166 Commits

Author SHA1 Message Date
Matthias Kuhn
5962afdf21
Improve expression documentation for sqlite_fetch_and_increment 2019-01-11 10:53:17 +01:00
Matthias Kuhn
d3b4c7d83a
Add cached mode to sqlite_fetch_and_increment for transactions 2019-01-10 10:35:24 +01:00
Matthias Kuhn
8754d55a09
Fix JSON 2019-01-08 11:36:16 +01:00
Matthias Kuhn
af027d9d10
Add NULLIF expression function [FEATURE] 2019-01-08 10:56:34 +01:00
Matthias Kuhn
b4bc072030
Improve function help for sqlite_fetch_and_increment 2018-12-21 14:06:53 +01:00
Matthias Kuhn
e698ba877a
Fix JSON formatting 2018-12-21 09:14:44 +01:00
Matthias Kuhn
ff1f2dffea
Add sqlite_fetch_and increment docs 2018-12-20 14:32:24 +01:00
Mathieu Pellerin
e9e1e0d6f3
[FEATURE][expression] Brand new array_sort() function 2018-12-20 11:47:16 +07:00
Matthias Kuhn
0f037daf47
Merge pull request #8649 from qgis/expression_function_decode_uri
Expression function `decode_uri`
2018-12-19 08:32:09 +01:00
Nyall Dawson
06d5f924f6 More square brackets 2018-12-19 05:21:49 +10:00
Matthias Kuhn
08965487dd
Double escape for JSON and C++ 2018-12-18 17:04:50 +01:00
Matthias Kuhn
10140b1ed1
Fix JSON escaping 2018-12-18 14:57:23 +01:00
Matthias Kuhn
2b5830ec9c
Function help improvements 2018-12-18 14:54:58 +01:00
Matthias Kuhn
7a8939442f
Fix typo 2018-12-18 14:20:11 +01:00
Matthias Kuhn
d3a1285f63
Function help improvements 2018-12-18 14:18:43 +01:00
Matthias Kuhn
65e60d17aa
Add path to layer_property expression function 2018-12-18 13:47:46 +01:00
Matthias Kuhn
3cee54cf25
Fix function help json 2018-12-18 13:47:46 +01:00
Matthias Kuhn
84584012ec
Add docs and tests for decode_uri 2018-12-18 13:47:46 +01:00
Harel Dan
1c74e0b04d
fix function call in example 2018-12-13 18:18:04 +02:00
stra2da
0e4b0980d8 first example deleted, cause it is for combine function 2018-11-30 07:39:57 +10:00
Alister Hood
5256611169 Expression calculator: clarify documentation for x_at() and y_at() 2018-11-29 23:26:43 +13:00
Nyall Dawson
1b79b9a140 [FEATURE] force_rhr expression function
Forces polygons to follow the right hand rule, in which the area that
is bounded by a polygon is to the right of the boundary. In particular,
the exterior ring is oriented in a clockwise direction and the
interior rings in a counter-clockwise direction.
2018-11-09 19:06:48 +10:00
Juergen E. Fischer
9ad01cf9ba replace three dots with ellipsises in translation strings 2018-10-27 19:06:37 +02:00
Etienne Trimaille
d6a2cbf178 add missing optional flag in some qgs expression helps 2018-10-25 18:20:23 +10:00
nirvn
b7a0c8cf89 [FEATURE] hstore_to_map() / map_to_hstore() expression functions 2018-09-14 11:21:40 +07:00
nirvn
68162a5416 [FEATURE] json_to_map() / map_to_json() expression functions 2018-09-14 11:21:40 +07:00
Etienne Trimaille
1409547ee0 [FEATURE] add conversion from float to DMS format 2018-09-14 05:18:38 +10:00
stra2da
5048978ee0 Update relation_aggregate 2018-09-11 07:28:59 +10:00
stra2da
35b11b02b2 Update aggregate 2018-09-11 07:28:59 +10:00
stra2da
7fbc828acb Update relation_aggregate 2018-09-11 07:28:59 +10:00
Harrissou Sant-anna
236a53e77c Fix example display 2018-08-27 21:35:39 +10:00
Matthias Kuhn
3cd68999b0
Merge pull request #7698 from m-kuhn/wfsDateTimeNow
Support for now() in WFS filters
2018-08-26 07:43:09 +02:00
Matthias Kuhn
7a91b807d7 Add note about now() being static to help 2018-08-25 13:52:33 +02:00
Etienne Trimaille
d65ad453cf fix array formatting for array_filter 2018-08-25 11:34:42 +10:00
Harrissou Sant-anna
40223db87d
Merge branch 'master' into patch-2 2018-08-24 16:05:15 +02:00
Matthias Kuhn
31fadd1c00
Merge pull request #7692 from m-kuhn/arrayRep
Adjust representation of arrays and maps in expressions
2018-08-24 15:51:14 +02:00
Matthias Kuhn
ec4483a51a Update map and array examples 2018-08-24 14:04:27 +02:00
Harrissou Sant-anna
399bbf1a00
Fix array_to_string description and add default value example 2018-08-24 11:54:34 +02:00
Harrissou Sant-anna
8e8f4a5ea7
Fixes generate_series examples 2018-08-24 11:28:58 +02:00
Matthias Kuhn
51ec333199
Merge pull request #7688 from m-kuhn/array_filter
Add array_filter expression function
2018-08-23 15:54:21 +02:00
Matthias Kuhn
283c34ed04 Adjust array representation in help 2018-08-23 14:13:32 +02:00
Nyall Dawson
89cd7858e5 Used named parameters for with_variable function 2018-08-23 21:15:32 +10:00
Matthias Kuhn
edc272481f Add array_filter expression function 2018-08-23 07:02:41 +02:00
Etienne Trimaille
0a20621191 [FEATURE] add foreach expression for arrays 2018-08-23 12:32:32 +10:00
nirvn
3c3cc43010 [FEATURE] Add generate_series(start,stop,step) expression function
The function creates an array containing a sequence of numbers.
2018-08-20 11:56:49 +07:00
Nyall Dawson
a4386d6116 [FEATURE] line_substring function
Returns the portion of a line (or curve) geometry which falls
between the specified start and end distances (measured from the
beginning of the line). Z and M values are linearly interpolated
from existing values.

Fixes #15611
2018-08-15 14:01:59 +10:00
Mathieu Pellerin
2d964919f6
[FEATURE][expression] add raster_value() function (#7487) 2018-07-27 12:56:04 +07:00
Alessandro Pasotti
1e046a1726 Updated docs for current_value function 2018-05-15 12:45:43 +02:00
Alessandro Pasotti
63d2086de4 Rename functions from get_current_form_field_value to current_value
and current_geometry
2018-05-15 08:34:08 +02:00
Alessandro Pasotti
83328ae596 [feature] Form context expressions in value relation widget
The value relation widget filter expression can now use two
new functions/variables that have access to the current
values and geometry of the form being edited.

This allows for dynamic filtering (drill-down) as explained
in the crowdfunding page:
https://north-road.com/drill-down-cascading-forms/

The new functions/variables are:

Function:
get_current_form_field_value( 'FIELD_NAME' )

Variable:
@current_form_geometry
2018-05-15 08:34:08 +02:00