1356 Commits

Author SHA1 Message Date
pathmapper
29b5c6eac4 [server/OAPIF] Make pagesize configurable for collection items HTML page 2023-04-23 13:17:02 +02:00
Nyall Dawson
f7a7a24edb Make map id optional in map_credits layout function
If not specified, the credits for ALL layers from ALL maps
will be collected
2023-04-13 17:44:37 +10:00
Nyall Dawson
fe158c2faa Fix some invalid help example expressions 2023-04-12 09:51:36 +10:00
Nyall Dawson
850fb3ae46 Remove unused outdated help files 2023-04-12 09:51:36 +10:00
Harrissou Sant-anna
91bc780404 Another unnecessary parenthesis 2023-04-11 07:25:37 +10:00
Harrissou Sant-anna
7269abe1ab Add precision to concatenator parameter 2023-04-11 07:25:37 +10:00
Harrissou Sant-anna
a2b2459995 Remove excessive parenthesis 2023-04-11 07:25:37 +10:00
Yoann Quenach de Quivillic
e98e655171
Map tip position improvements (#52469) 2023-04-08 13:23:40 +07:00
Harrissou Sant-anna
7235ee7d83 better wording
Co-authored-by: Mathieu Pellerin <nirvn.asia@gmail.com>
2023-04-05 06:53:36 +10:00
DelazJ
d9edb37154 Add a group for sensors expressions 2023-04-05 06:53:36 +10:00
DelazJ
e3a86b1acd Delete unused 'Conditions' group 2023-04-05 06:53:36 +10:00
Harrissou Sant-anna
5f8c4ae5f5 Add example of flip_coordinates with linestring 2023-04-04 05:12:34 +10:00
Alessandro Pasotti
184b5e452d
Merge pull request #52051 from pathmapper/full_pagination
[server/OAPIF] Add full pagination for collection items HTML page
2023-03-29 10:38:16 +02:00
Mathieu Pellerin
d2b117a3c8 [sensors] Brand new sensors framework (manager, registry, sensor types) 2023-03-24 15:28:47 +07:00
dependabot[bot]
0dc6e00767 Bump webpack from 5.75.0 to 5.76.1 in /resources/server/src/landingpage
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-16 04:57:50 +10:00
pathmapper
4148211a8e [OAPIF] Add full pagination for collection items HTML page 2023-03-13 13:15:47 +01:00
Harrissou Sant-anna
d979743ef0 Add more details to the modulo operator 2023-03-07 09:45:01 +10:00
Nyall Dawson
3c91c624c8 [expressions][feature] Add ltrim/rtrim functions
Allows trimming spaces or other characters from just the
start or end of strings
2023-03-06 08:38:38 +10:00
dependabot[bot]
11eab8d0e8 Bump @sideway/formula in /resources/server/src/landingpage
Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sideway/formula/releases)
- [Commits](https://github.com/sideway/formula/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 06:41:01 +10:00
Nyall Dawson
49adde6b9a [expressions] Re-permit format_number to omit group separators
After 6fcef30cc50, group separators were always included in the
results from format_number (even if a locale which doesn't use
them like the 'C' locale is specified). 6fcef30cc50 was added
to fix an old regression, but in doing so we lost flexibility
to skip unwanted separators.

Workaround this by introducing a new opt-in omit_group_separators
argument for format_number to skip the thousand separators when
desired. Also add an opt-in trim_trailing_zeroes argument for
further flexibility.
2023-02-07 15:15:04 +10:00
Denis Rouzaud
38005d930c
fix read-only settings (#51689) 2023-02-01 17:07:19 +01:00
Mathieu Pellerin
c092f32431 [themes] Style video widget with a black background 2023-01-27 17:06:03 +10:00
Denis Rouzaud
1adf2791f5 adapt ini file 2023-01-16 09:00:51 +01:00
Nyall Dawson
fae25a6857 Update resources/function_help/json/feature_id 2023-01-13 13:26:56 +10:00
Nyall Dawson
390cb760c9 [feature][expressions] Add feature_id(some feature) function
Allows for retrieving the feature ID of a feature object. Accepts
one argument which must be a feature object. Accordingly this
function can be used with the results of any other function
which returns feature objects, such as "get_feature", "overlay_*",
etc.

Fixes #51116
2023-01-13 13:26:56 +10:00
Mathieu Pellerin
660990e0d8 Follow up 7e2e622 : improve functions help 2023-01-11 06:51:38 +10:00
Nyall Dawson
b23eb1d250 [feature] New function "load_layer"
This function (available only in Processing expressions for now),
allows loading a map layer via a source string and provider name.

It is designed to allow use of the expression functions which
directly reference map layers (such as the aggregate functions)
with a hardcoded layer path, eg. then permitting these functions
to be used outside of a project (such as via the qgis_process tool)
2023-01-09 14:35:50 +10:00
pathmapper
361faa9224 Update Leaflet to latest release 2023-01-09 12:03:50 +10:00
dependabot[bot]
389a8edc72 Bump json5 from 1.0.1 to 1.0.2 in /resources/server/src/landingpage
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 05:50:14 +10:00
Harrissou Sant-anna
d8eac90dff missing comma 2023-01-03 13:53:19 +10:00
Harrissou Sant-anna
df50648717 Correctly expose optional argument in represent_value function 2023-01-03 13:53:19 +10:00
Mathieu Pellerin
7e2e6220e8
[expressions] New is_feature_valid()/is_attribute_valid() functions (#51303) 2022-12-30 20:00:23 +07:00
pathmapper
b27ab6e901 Update some server landingpage dependencies
Use @babel/eslint-parser instead of babel-eslint which is deprecated:
https://www.npmjs.com/package/babel-eslint

Includes some adjustments related to the deps update.
2022-12-08 10:52:47 +10:00
Nyall Dawson
ebb606fdd8 xml/xsd updates 2022-12-01 06:56:46 +10:00
Nyall Dawson
dfee01d754 Use enumeration in xsd 2022-12-01 06:56:46 +10:00
Nyall Dawson
6b65b42493 [feature] Add key dates to layer/project metadata
This adds the following fields to the QGIS layer/project metadata
standard:

- Date created
- Date published
- Date revised
- Date superseded

(Previously the layer metadata had no date fields, and project
metadata had only the created date field)
2022-12-01 06:56:46 +10:00
Antoine Facchini
46ed1e12bd refacto: replace the parameter name 'i' to 'vertex' 2022-11-29 17:47:53 +01:00
Antoine Facchini
77e9491329 docs: inform users that some expression functions are deprecated 2022-11-29 17:47:52 +01:00
Antoine Facchini
d8131a0791 feature: add x_at, y_at, z_at and m_at expressions 2022-11-29 17:47:52 +01:00
dependabot[bot]
b60ff3c8ff Bump loader-utils in /resources/server/src/landingpage
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 12:54:28 +10:00
Alessandro Pasotti
66e5a4e319 Remove spaces 2022-11-10 13:04:40 +01:00
Alessandro Pasotti
71c513a281 Raster maptips and html map functions 2022-11-09 09:48:03 +01:00
Alessandro Pasotti
f040c260bd Raster maptips 2022-11-09 09:48:02 +01:00
Alessandro Pasotti
b37f5f4b03 Raster attributes and raster maptips 2022-11-09 09:48:02 +01:00
dependabot[bot]
64fc1df57e Bump loader-utils in /resources/server/src/landingpage
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-09 11:13:14 +10:00
Mathieu Pellerin
bec8dbbc45 [themes] Fix menu item color regression with Night Mapping
(fixes #50674)
2022-10-27 09:26:00 +10:00
Loïc Bartoletti
497bda676e cleanup: remove qgis_srs.sh
This script is not used since years.
Use the crssync utility instead.
2022-10-20 13:27:12 +10:00
Mathieu Pellerin
a5e65be034 [themes] Fix line edit placeholder text color 2022-10-11 11:48:34 +07:00
Tomas Johansson
95e00c50d2
Resolves 'Delete holes' bug when 'area' argument is used
Fixes #49578
2022-10-03 07:58:31 +10:00
Salvatore Fiandaca
502a539a24 print error example concave hull
function correction in the example in the help from `concavehull` to `concave_hull`
2022-10-03 07:14:50 +10:00