1099 Commits

Author SHA1 Message Date
Martin Pergler
2fed93cdfd
Better help for format function
Added description of what syntax/parsing engine is used for the formatting. Motivated by https://github.com/qgis/QGIS/issues/42806, but in general a good idea so users can look up more in detail what is possible. Also uniformized spelling (placeholder vs placeholder).
2021-05-05 09:04:36 +10:00
Nyall Dawson
e99ac61394 Add default label style for waterbodies to symbology database 2021-05-04 12:18:38 +10:00
Stefanos Natsis
9a42f23491
Order map keys by length before using in replace function
Fix #42940
2021-04-27 14:05:23 +10:00
Nyall Dawson
6f8af4da1b Rename to just 'Watercouses' 2021-04-27 11:14:01 +10:00
Nyall Dawson
6ae3160536 Add the first "out of the box" label style to the default style database
Adds a new label style for watercourses
2021-04-27 11:14:01 +10:00
Nyall Dawson
668d8d9185 Add new viridis color ramps (rocket, cividis, mako, turbo) to default
style

Credit to https://github.com/sjmgarnier/viridis

Note -- unless you bypass the version check on line 3271 of qgsstyle.cpp
you won't automatically see these appear in your existing style files
until the 3.20 final release!
2021-04-22 13:42:04 +10:00
Alessandro Pasotti
497cd1bb10
Merge pull request #42748 from gacarrillor/add_4_new_user_groups
Update user groups data
2021-04-10 10:56:43 +02:00
Germán Carrillo
23d8c7ab58 Update user groups data (new: SK, EC, AT, GH) 2021-04-09 21:48:40 -05:00
pathmapper
9dd5ad1a2b Update sources url 2021-04-09 14:30:52 +02:00
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