pathmapper
2ae8c4506c
Server landingpage sources updates
2021-04-09 14:21:26 +02:00
pathmapper
fc29304bde
Update minified version (follow-up on #42697 )
2021-04-08 11:03:27 +02:00
pathmapper
7bede8cfeb
Use recommended osm tile url for server API - Features and landingpage ( #42697 )
...
* Use recommended osm tile url
2021-04-08 08:22:20 +10:00
Hannes
5e0d409b3e
Update help for date handling expression functions, remove "variable"
2021-03-31 09:00:13 +10:00
Hannes
000f8ee410
Improve docs about locales for date handling expression functions
2021-03-31 09:00:13 +10:00
nirvn
6c6fd067b0
[ui] Move layer_property() function from General to Map Layers group for ease of discoverability
2021-03-12 12:31:19 +10:00
Harrissou Sant-anna
ffbedde2cf
Delete json_to_map function
2021-03-11 07:38:00 +10:00
Harrissou Sant-anna
4037a76c4c
Delete map_to_json function
2021-03-11 07:38:00 +10:00
Nyall Dawson
fbf46350d1
Merge pull request #42096 from DelazJ/mapsFunctions
...
improvements fixes to Maps functions
2021-03-09 08:44:44 +10:00
Harrissou Sant-anna
c91043aee8
Remove trailing comma
2021-03-09 06:15:41 +10:00
Harrissou Sant-anna
4e89d1aef6
format_date function does not only take and output date
...
datetime or time can be used to output something else
2021-03-09 06:15:41 +10:00
Harrissou Sant-anna
ed6a85894c
Fix json_to_map example output
2021-03-08 12:56:22 +01:00
Harrissou Sant-anna
a216ffc5fa
Fix from_json output
2021-03-08 12:49:44 +01:00
Harrissou Sant-anna
210a69e2c9
map_insert overrides existing key
2021-03-08 12:43:17 +01:00
Harrissou Sant-anna
a9e05dca15
Fix typo and more details to map_get function
2021-03-08 12:33:14 +01:00
Harrissou Sant-anna
c3e31b0495
Add missing quote
2021-03-08 12:24:54 +01:00
Harrissou Sant-anna
0aecc06c56
Fix map_to_hstore example, output a string
2021-03-08 12:22:55 +01:00
Harrissou Sant-anna
34357c1b0b
Update hstore_to_map example output
2021-03-08 12:20:18 +01:00
Harrissou Sant-anna
eaacde8eff
Fix array_replace group name
2021-02-25 11:28:03 +10:00
Damiano
0707d6f54c
array_count, array_prioritize, array_replace added to expressions ( #41338 )
2021-02-24 15:14:10 +10:00
Andrea Giudiceandrea
d7167e48d0
[feature][expressions] Add "length3D" function to return the 3D length
...
of a LineGeometry type geometry using QgsLineString::length3D(). If the geometry is not a 3D line string, it returns its 2D length.
2021-02-24 12:59:28 +10:00
Mathieu Pellerin
b04fe1fac1
[themes] Fix combo box and menu items left spacing/padding issue
2021-02-23 12:56:02 +07:00
Nyall Dawson
e11801d34e
Require Proj version 6 or later, drop old proj 4 compatibility code
2021-02-23 12:47:04 +10:00
Matthias Kuhn
14e5c6094d
Merge pull request #41364 from domi4484/modeMajorityConfusion
...
Fix array mode/majority confusion
2021-02-20 10:09:52 +01:00
Alessandro Pasotti
9489afe02a
Feature: mime_type expression function
...
Adds a mime_type( bytes ) expression function
Funded by: Today I didn't go skiing.
2021-02-20 05:03:09 +10:00
Harrissou Sant-anna
d4b1f3d4b4
Fix typo
2021-02-19 18:10:51 +10:00
Damiano Lombardi
5a9782de29
expressions array_majority/minority renamed parameter first to any
2021-02-17 15:57:36 +01:00
Patrice Pineault
0c36f28295
Added my name to the contributors map
2021-02-17 08:50:04 +10:00
Damiano
76f09fd7d4
Added some tests with strings
2021-02-15 10:48:43 +01:00
Harrissou Sant-anna
68f1d306ff
Fix example in help of format function
2021-02-15 06:20:52 +10:00
Richard Duivenvoorde
b47c6a9c1e
Use QRegularExpression::UseUnicodePropertiesOption in regular expressions ( #41507 )
...
Should fix : #41453 in which values holding UTF diacritics were not handled.
While these expressions are used for (international) text values, I think
they should be usable with Unicode (instead of ASCII only)
See:
https://doc.qt.io/qt-5/qregularexpression.html
and:
https://doc.qt.io/qt-5/qregularexpression.html#PatternOption-enum
2021-02-13 09:24:33 +10:00
Harrissou Sant-anna
8eb93c581f
Add link to ISO language codes for format_date function
2021-02-11 11:08:40 +10:00
Harrissou Sant-anna
e41d32864d
Update the format_number example
...
and add link to list of iso language codes
2021-02-11 11:08:40 +10:00
Damiano
6845431681
Apply suggestions from code review
...
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2021-02-10 14:47:08 +01:00
Alessandro Pasotti
7c8a887122
Server Landing page source code
...
Fixes #41468
2021-02-10 09:04:23 +01:00
Damiano
e854dc7101
Fixed typo
2021-02-09 14:30:05 +01:00
Damiano
951aa5a7a1
array_mode renamed back to array_majority
...
See https://github.com/qgis/QGIS/pull/41364#issuecomment-773877724
2021-02-09 14:20:14 +01:00
Damiano Lombardi
034ace4ba3
Corrected spelling
2021-02-04 19:24:49 +01:00
Damiano
a9edb93e0c
array_mode new parameter merge
...
- array_mode new parameter merge for return value behaviour
- updated expression documentation for array_mode, majority and minority
- updated tests
2021-02-04 16:41:16 +01:00
Damiano
7345c128ed
Fix arrax mode/majority confusion
...
https://github.com/qgis/QGIS/pull/40364#issuecomment-752096652
Refences #33302
2021-02-04 10:06:21 +01:00
TurboGraphxBeige
34ef8e160a
Manage multiple layers selection for actions Zoom/Pan to Selection and Zoom to Layers. Fixes #40647
2021-02-02 06:52:21 +10:00
Harrissou Sant-anna
e127a62bf6
Fix longest_common_substring function help
2021-01-29 04:27:38 +10:00
Nyall Dawson
d821f0addb
[providers] Mark db2 provider as deprecated, and hide from QGIS
...
UI by default
To enable deprecated providers users must set the hidden
"providers/showDeprecated" settings key to true
This gives us a gentle approach to removing unmaintained core
providers.
2021-01-27 05:43:41 +10:00
Belgacem
e222cd530b
add myself to contributors list
2021-01-15 11:03:24 +10:00
Nyall Dawson
bbb4334c4b
Update references to compositions in expression function help
2021-01-10 12:42:14 +10:00
Nyall Dawson
88a0a8eb66
[feature][layouts] Add map_credits function
...
This function collates a list of all the layer metadata attribution
strings for the layers shown inside a specified map item.
For example:
array_to_string( map_credits( 'Main Map' ) )
Returns a comma separated list of layer credits for layers shown in the
'Main Map' layout item, e.g 'CC-BY-NC, CC-BY-SA'
There's an optional include_layer_names argument you can use
to include layer names before their attribution:
array_to_string( map_credits( 'Main Map',
include_layer_names := true,
layer_name_separator := ': ' ) )
Returns a comma separated list of layer names and their credits for layers
shown in the 'Main Map' layout item,
e.g. 'Railway lines: CC-BY-NC, Basemap: CC-BY-SA'"
2021-01-10 10:38:52 +10:00
Harrissou Sant-anna
1444ce3a34
Fix to_date* functions links to qt doc
...
QDateTime::fromString documentation no longer lists all the expressions
to construct the format, so we point to each component doc
2021-01-09 07:07:12 +10:00
uclaros
9348e75934
Added invalid syntax tests with non array parameters
2020-12-29 08:16:52 +10:00
uclaros
d3e2bd1eae
Added array_sum expression function
2020-12-29 08:16:52 +10:00
uclaros
a870070b64
Added array_mean, array_median expression functions
2020-12-29 08:16:52 +10:00