558 Commits

Author SHA1 Message Date
Harrissou Sant-anna
1b38619279 More harmonization of expression output TRUE 2022-04-04 09:47:19 +10:00
Alessandro Pasotti
995c2905ca
Merge pull request #47866 from elpaso/true-false-function-docs
Replace 1/0 with TRUE/FALSE in function help
2022-03-31 10:31:21 +02:00
Alessandro Pasotti
b82e83624d
Update array_intersect 2022-03-30 19:31:12 +02:00
Alessandro Pasotti
612e8fa1fd
Update resources/function_help/json/within 2022-03-30 18:48:02 +02:00
Alessandro Pasotti
f1ae82c7f7
Apply suggestions from code review 2022-03-30 14:49:30 +02:00
Mathieu Pellerin
37abd1b5c4 Improve description of num_geometries() expression function to explicitly state support for multi-part geometries 2022-03-23 14:05:33 +10:00
Alessandro Pasotti
1201690790 Some more TRUE/FALSE homogenization 2022-03-21 09:20:52 +01:00
Alessandro Pasotti
db37ec5530
Apply suggestions from code review
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-03-21 09:17:02 +01:00
Alessandro Pasotti
14fdc19e88 Replace 1/0 with TRUE/FALSE in function help 2022-03-19 09:00:56 +01:00
Alessandro Pasotti
34f0e59735 Address PR review comments and handle NULLS
Refactor the evaluation code, handle NULLs to
return a boolean when it is possible.
2022-03-15 12:13:42 +01:00
Alessandro Pasotti
0f6d38b186 Fix function help 2022-03-14 14:19:53 +01:00
Alessandro Pasotti
abb99faa36 NOT BETWEEN help 2022-03-14 14:19:53 +01:00
Alessandro Pasotti
7601250a54 SQL expression compiler and more tests for BETWEEN 2022-03-14 14:19:52 +01:00
Nyall Dawson
555d966ebf Fix attribute name in get_feature docs 2022-02-23 11:17:41 +10:00
Harrissou Sant-anna
2a4c2bdf3c
Attempt to aerate overlay_intersects help and shorten sentences 2022-02-16 17:34:32 +01:00
Juergen E. Fischer
15a77662d4 fix expression translation string 2022-02-09 20:47:27 +01:00
Nyall Dawson
2bd18332aa [expressions] Make file function (such as base_file_name) gracefully
handle map layer values

These are treated as the file path to the layer.

E.g.

    base_file_name(@some_variable_which_is_a_layer)

will return the base file name of the layer's source
2022-02-07 16:02:37 +10:00
Alex
d0f2cd0ec9
Merge branch 'master' into exp_tagger 2022-01-31 07:46:22 -05:00
Alex
2175337568 Update resources/function_help/json/array_remove_at
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-01-31 13:31:02 +10:00
roya0045
6b6427069e address comments 2022-01-31 13:31:02 +10:00
roya0045
3105c5e01d improvement & bugfix 2022-01-31 13:31:02 +10:00
Alex
68a7f46c1b
Merge branch 'master' into exp_tagger 2022-01-13 18:49:53 -05:00
Alessandro Pasotti
18979e579c
Merge pull request #46683 from elpaso/overlay_intersects_sort_by_intersection_size
Overlay intersects sort by intersection size
2022-01-13 23:51:50 +01:00
roya0045
13502bc613 add missing functs 2022-01-13 08:56:17 -05:00
roya0045
70ab8651a0 missing functs and improvements 2022-01-12 10:26:38 -05:00
Alex
fed4c74928
Apply suggestions from code review
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-01-11 11:25:21 -05:00
Alex
d7ffe0b7ec
DelazJ bonification
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-01-11 11:17:49 -05:00
roya0045
57e25ca19e proposal tags
made with https://gist.github.com/roya0045/eaa19acabe1033569f97b40604b7e6df
2022-01-07 08:33:29 -05:00
Alessandro Pasotti
83799958c0
Update resources/function_help/json/overlay_intersects
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-01-07 10:23:36 +01:00
Alessandro Pasotti
d7797c0b8f
Update resources/function_help/json/overlay_intersects
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2022-01-07 10:23:05 +01:00
Alessandro Pasotti
5b4a5dc8eb
Update resources/function_help/json/overlay_intersects
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2022-01-06 22:45:37 +01:00
Alessandro Pasotti
fb7b3e0569 Address PR review comments 2022-01-06 14:56:49 +01:00
Nyall Dawson
47715fec63 [feature][expression] Add geometry_type function
Returns the high-level type of a geometry (Point/Line/Polygon)
2022-01-06 17:22:22 +10:00
Alessandro Pasotti
df64116867
Merge pull request #46684 from roya0045/improve_func_doc
extend geometry_n definition
2022-01-05 09:45:36 +01:00
Alessandro Pasotti
89d54caaa4
Merge pull request #46502 from elpaso/formatted_attributes
New represent_attributes function
2022-01-04 09:31:54 +01:00
Alex
35d9e12eb7 extend geometry_n def 2022-01-03 11:39:45 -05:00
Martin Pergler
551026c592 Fix default value for buffer cap argument
Default is 'round' (tested), old value 8 was a miscopy from line above.
2021-12-26 07:26:28 +10:00
Alessandro Pasotti
bdc4bd2c53 Rename to sort_by_intersection_size, function help 2021-12-21 16:59:14 +01:00
Alessandro Pasotti
40947d4266 Invert args 2021-12-17 15:18:59 +01:00
Alessandro Pasotti
e2266aafe0 Remove obsolete file 2021-12-15 23:49:23 +01:00
Alessandro Pasotti
ae8fc0d4f6 Tests for represent_attributes 2021-12-14 18:02:18 +01:00
Etienne Trimaille
60d1c917ef Add example with hamming_distance with different length 2021-12-14 11:22:37 +10:00
Alessandro Pasotti
f0a337cff0 Renamed to represent_attributes 2021-12-13 16:35:36 +01:00
roya0045
df07610064 get_features multi arg 2021-12-08 08:55:26 -05:00
Alessandro Pasotti
a90e34a765 Address PR comments 2021-12-08 06:44:44 +10:00
Alessandro Pasotti
dfee28974a Move url_encode to Maps group 2021-12-08 06:44:44 +10:00
Alessandro Pasotti
5aa7037ecb Better wording? 2021-11-29 14:11:11 +10:00
Alessandro Pasotti
4e4bade6ea Handle GEOS >= 9.3 and mention it in the docs 2021-11-29 14:11:11 +10:00
Alessandro Pasotti
3283aa4228 Handle linestrings 2021-11-29 14:11:11 +10:00
Alessandro Pasotti
9d65691949 Disable tests for GEOS < 9.3 2021-11-29 14:11:11 +10:00