1326 Commits

Author SHA1 Message Date
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
Harrissou Sant-anna
8de9cd4548 Fix array_get argument name
Fixes https://github.com/qgis/QGIS-Documentation/issues/7814
2022-09-30 09:30:07 +10:00
Harrissou Sant-anna
264221442c Format between and not between functions syntax to match other operators' 2022-09-26 11:25:35 +10:00
dependabot[bot]
937b145011 Bump vuetify from 2.6.2 to 2.6.10 in /resources/server/src/landingpage
Bumps [vuetify](https://github.com/vuetifyjs/vuetify/tree/HEAD/packages/vuetify) from 2.6.2 to 2.6.10.
- [Release notes](https://github.com/vuetifyjs/vuetify/releases)
- [Commits](https://github.com/vuetifyjs/vuetify/commits/v2.6.10/packages/vuetify)

---
updated-dependencies:
- dependency-name: vuetify
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 09:37:48 +10:00
Even Rouault
939da08506 world_map.gpkg: little fix to avoid warning with recent GDAL versions
Recent GDAL versions emit in the console a non critical warning when opening
world_map.gpkg at QGIS startup:
"Warning 1: Non-conformant content for record 1 in column update_time, 2019-08-15T21:28:22Z, successfully parsed"

The reason is that values in the update_time column in the layer_styles
column lack milliseconds information.

```
$ sqlite3 ../resources/data/world_map.gpkg "select update_time from layer_styles"
2019-08-15T21:28:22Z
2019-08-15T21:29:54Z
2019-08-15T21:30:31Z
2019-08-22T08:16:25Z
```

Fixed with:
```
$ sqlite3 ../resources/data/world_map.gpkg "update layer_styles set update_time = substr(update_time,0,length(update_time)) || '.000Z'"

$ sqlite3 ../resources/data/world_map.gpkg "select update_time from layer_styles"
2019-08-15T21:28:22.000Z
2019-08-15T21:29:54.000Z
2019-08-15T21:30:31.000Z
2019-08-22T08:16:25.000Z
```
2022-09-26 09:18:27 +10:00
Nyall Dawson
bf9325d679 Generalize a warning 2022-09-19 09:17:30 +02:00
Harrissou Sant-anna
c3b1fd43b9 make_valid - Add an example of unclosed polygon and reedit empty geometry example 2022-09-16 06:59:18 +10:00
Nyall Dawson
341add8cb9 Add new variable form of current feature expression functions
This adds a newer style variable form of referencing the current
feature and its attributes in expressions.

The newly introduced variables are:

- @feature: a replacement for $currentfeature, contains the
current feature
- @id: a replacement for $id, contains the current feature id
- @geometry: a replacement for $geometry, contains the current
feature geometry

This is intended as a step towards eventually deprecating the
older $ style functions, and providing a more consistent
approach to expressions instead of the older unpredictable mix of @/$.
For now these old functions still work (and likely will ALWAYS
remain working for old project compatibility), AND they are also
still exposed in the UI just to avoid user confusion (eventually
we can hide them).
2022-09-09 11:30:25 +10:00
Harrissou Sant-anna
55319c4485 Add linework based example 2022-09-09 07:13:57 +10:00
Harrissou Sant-anna
5507547d95 Fix make_valid examples 2022-09-09 07:13:57 +10:00
pathmapper
f23007454d Remove optional attribution prefix from maps 2022-09-08 14:35:26 +02:00
pathmapper
5a7d90dce8 Remove not needed listener
There's no function "featureOver".
2022-09-08 13:45:23 +02:00
Nyall Dawson
dcdb4cd054 [feature][expressions] Add new shared_paths function
Returns a collection containing paths shared by the two
input geometries. Those going in the same direction are
in the first element of the collection, those going in
the opposite direction are in the second element. The
paths themselves are given in the direction of the first
geometry.

(Exposes the GEOS shared paths functionality for use
in expressions.)
2022-09-05 13:02:40 +10:00
Nyall Dawson
b9413ed7b9 [expressions] Add 'method' and 'keep_collapsed' parameters to make_valid function 2022-09-05 12:35:53 +10:00
Harrissou Sant-anna
af22f2cf01 Fix and add examples of geometries_to_array function 2022-09-04 07:02:10 +10:00
Alex
09c8a19627
[expressions] Add make_valid and geometries_to_array functions 2022-09-03 09:35:54 +10:00
Loïc Bartoletti
ada9fc6d45
Merge pull request #50052 from DelazJ/makerectangles3points
Remove excess parentheses
2022-09-01 13:39:09 +02:00
Harrissou Sant-anna
744203324f
Remove excess parentheses 2022-09-01 11:07:37 +02:00
Loïc Bartoletti
80e7ba354a
Add Concave hull API and expression function
Exposes the GEOS concave hull operation to QgsGeometry API and a via a new concave_hull expression function.

Requires GEOS 3.11+
2022-09-01 02:58:35 +00:00
Mathieu Pellerin
f061f6314f [qt6][themes] Fix drop down arrow position for instant popup tool buttons 2022-08-22 15:11:57 +07:00
Hannes
d8d850c2ed Improvements to line_interpolate_point() docs
- Make it more obvious that the distance is in CRS units, not a percentage, on the first example
- Add example that ends up with floating point coordinates
- Add example that returns NULL
2022-08-22 09:09:09 +10:00
arnaud.morvan@camptocamp.com
f571d0a6ae Add myself as a contributor 2022-08-19 10:07:44 +10:00
nicogodet
fc6fc25586
Add myself to contributors 2022-08-16 10:20:54 +10:00
Nyall Dawson
a06ec1345a Apply suggestions from code review 2022-07-26 16:49:45 +10:00
Zayne Tomlins
915c3f0102 Added name to contributors.json 2022-07-26 16:49:45 +10:00
James Shaeffer
567315d658
Update cpt-city to version 2.24 2022-07-22 07:27:13 +00:00
dependabot[bot]
ed490a62de Bump terser from 5.10.0 to 5.14.2 in /resources/server/src/landingpage
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 09:17:24 +10:00
Harrissou Sant-anna
42181ab68b
Add examples to NOT BETWEEN function
showcasing equality with bounds value as well as case-sensitivity
2022-06-27 13:15:00 +02:00
Harrissou Sant-anna
5319bd3ebe
Add tag 2022-06-27 13:14:43 +02:00
Harrissou Sant-anna
00613efb61
Add examples to the between function
showcasing equality with bounds value as well as case-sensitivity
2022-06-27 13:08:00 +02:00
Mathieu Pellerin
2cfef2cf28 [themes] Follow up 216ed99: re-add borders for disabled list/table widgets 2022-06-20 10:09:29 +10:00