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
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
Salvatore
3660f3f63f
corrections
2018-05-14 15:13:22 +02:00
Juergen E. Fischer
968b50f4f0
expression help: support optional parameters and defaults
2018-05-10 20:15:39 +02:00
Hannes
e8d1099ff3
add optional segments argument
...
text taken from single_sided_buffer
2018-05-10 16:58:12 +02:00
Nyall Dawson
6ca327072a
[FEATURE] Add expression functions for tapered and variable
...
width buffers
Adds:
- tapered_buffer
- buffer_by_m
expression functions. These expose the same functionality as the
equivalent processing algorithms but for use in expressions
such as geometry generators.
2018-05-01 06:16:01 +10:00
Nyall Dawson
d5647bcbdb
[FEATURE] Add wedge_buffer expression function
...
Returns a wedge shaped buffer originating from a point geometry,
with arguments for azimuth, buffer width (in degrees), outer radius
and inner radius.
2018-04-24 10:07:51 +12:00
Nyall Dawson
cae5f81ed1
Add missing expression help
2018-04-05 06:35:13 +10:00
Nyall Dawson
f02602b9bb
[needs-docs] geometry smooth algorithm now also retains and smooths z/m values
...
...instead of just discarding them
Applies to processing algorithm and expression function (and
QgsGeometry::smooth method)
2018-03-30 08:59:00 +11:00
Juergen E. Fischer
158c32979b
fix translation strings
2018-03-09 21:47:49 +01:00
Mathieu Pellerin
b42c893bbc
[FEATURE] color_grayscale_average() and color_mix_rgb() expression functions ( #6554 )
2018-03-07 11:59:52 +07:00
Loïc Bartoletti
0dcea18929
Add missing make_triangle function help. Fix #16406
2018-02-23 14:32:43 +01:00
Harrissou Sant-anna
dd039813f1
Update lpad and rpad functions description
2018-01-18 16:43:43 +10:00
Harrissou Sant-anna
cdbb0df8d7
Add example with NULL value
2018-01-03 06:57:10 +01:00
Etienne Trimaille
387057a1b8
add CRS description in the layer_property expression
2017-10-25 14:18:40 +02:00
Matthias Kuhn
a97d846471
Single parameter version of represent_value
...
Becuase `represent_value("fieldname")` is much shorter to write and in 98%
there is no need to specify the name separately as
`represent_value("fieldname", 'fieldname')`.
2017-09-29 10:58:18 +02:00
Matthias Kuhn
b527be02d7
Fix function help for represent_value
2017-09-26 14:28:44 +02:00
Matthias Kuhn
beddd25074
[FEATURE] Expression function represent_value
...
This will lookup the representation value given the widget
configuration. This is helpful to get nicely formatted messages for
value maps, value relations and others in expressions.
2017-09-26 14:28:44 +02:00
lbartoletti
6ae929e9cb
initial commit
2017-09-08 08:06:21 +02:00
DiGro
b3448ed4a8
Typo corrected
...
appoximation --> should be: approximation
2017-09-05 15:28:40 +02:00
Nyall Dawson
0a9e9944b4
[FEATURE] Expression function for hausdorff distance
...
Allows calculation of the Hausdorff distance between two
geometries
2017-08-31 08:02:44 +10:00
arnaud.morvan@camptocamp.com
e34a593c65
[FEATURE] Add expression function array_agg
2017-08-12 10:18:21 +02:00
Andreas Neumann
267286ee61
Correct an error in array_slice function description
...
There was a copy/paste error in the "name"
2017-08-09 16:34:20 +02:00
Nyall Dawson
4ab4a1fcad
Spell check 'mitre' -> 'miter' (i.e. use en-us variation)
2017-08-07 18:08:57 +10:00
andreasneumann
42d7e0b898
renamed parameter names of array_slice, ran prepare-commit.sh
2017-08-06 19:11:32 +02:00
andreasneumann
89784691b1
[FEATURE] array_slice expression function
2017-08-06 19:11:32 +02:00
Andreas Neumann
303f9b7cdd
[FEATURE] expression function array_reverse
2017-08-05 22:45:11 +02:00
Andreas Neumann
c3ae3bfc74
Added new help files to the expression function groups of Arrays and Maps
2017-08-04 20:30:37 +02:00
Andreas Neumann
c2138ca4bd
Correct help of expression array_remove_all
2017-08-04 16:25:23 +02:00
lbartoletti
d88a7f4198
add missing help for inclination
2017-08-01 21:48:03 +02:00
Nyall Dawson
878ee5c067
Add items for project map layers and relations to expression builder
...
Allows easy insertion of map layer IDs and relation IDs into
expressions. Numerous expression functions now utilise these,
so it makes sense to allow them to be easily inserted.
Fix #11680 , #16879
Sponsored by Andreas Neumann
2017-07-31 08:08:18 +10:00
Matthias Kuhn
875a5d6d9d
Merge pull request #4818 from DelazJ/spelling
...
Fix some spelling issues
2017-07-08 10:20:40 +02:00
Matthias Kuhn
066528de4f
get_feature_by_id docs
2017-07-07 13:01:17 +02:00
Matthias Kuhn
f379be2033
array docs
2017-07-07 13:01:17 +02:00
Matthias Kuhn
10dc0d5da9
Rename set_variable to with_variable
2017-07-07 13:00:47 +02:00
Harrissou Sant-anna
15be88918f
Replace "double click" and "doubleclick" by double-click
2017-07-07 01:26:38 +02:00
Nyall Dawson
39d20a4cb4
Move algorithm expression context generation to QgsProcessingAlgorithm
...
Fix error when selecting "from expression" in algorithm parameter dialog
2017-06-06 11:25:09 +10:00
nirvn
3419945a8d
[FEATURE] create_ramp() expression function
2017-05-29 16:31:53 +07:00
lbartoletti
13c1318a5f
New geometry class: QgsRegularPolygon ( #4502 )
2017-05-10 22:23:28 +10:00