1316 Commits

Author SHA1 Message Date
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
Mathieu Pellerin
216ed9925b [ui][themes] Fix undesired border line for QFrame widgets 2022-06-17 14:31:36 +07:00
pathmapper
21aeec7047 Add myself (Björn Hinkeldey) to CONTRIBUTORS 2022-06-17 10:30:20 +10:00
Sandro Santilli
8c18fa28b6 Drop gpkg_metadata_reference_column_name_update trigger generated by GDAL < 2.4.0
Presence of this trigger results in QGIS dropping it whenever the file
is opened in read-write mode (as it happens with vector layer is
created from it)

See https://github.com/qgis/QGIS/issues/48937#issuecomment-1152726973
2022-06-11 01:35:14 +02:00
dependabot[bot]
ca405dac81 Bump async from 2.6.3 to 2.6.4 in /resources/server/src/landingpage
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 11:24:45 +10:00
dependabot[bot]
73d5db63dd Bump ejs from 3.1.6 to 3.1.7 in /resources/server/src/landingpage
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 12:28:53 +10:00
Jürgen Fischer
6bfc29603e Document SQL to reassign Crimea to the Ukraine 2022-04-29 17:01:35 +02:00
Juergen E. Fischer
1c7d903c8c world_map.gpkg fix (fixes #46810)
update states_provinces set iso_a2='UA',sov_a3='UA',adm0_a3='UA',admin='Ukraine',gu_a3='UKR' where name IN ('Crimea','Sevastopol');
update countries set geom=st_union(geom, (select st_union(geom) from states_provinces where name IN ('Crimea','Sevastopol'))) where name='Ukraine';
update countries set geom=st_difference(geom, (select st_union(geom) from states_provinces where name IN ('Crimea','Sevastopol'))) where name='Russia';
2022-04-29 17:01:35 +02:00
Nyall Dawson
9d6a6a2233 Update resources/function_help/json/LIKE
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
2022-04-22 15:49:26 +10:00
Etienne Trimaille
a43cb5ea33 Expressions - Add some tags for search with "start", "begin", "end" 2022-04-22 15:49:26 +10:00
Andrea Giudiceandrea
d34d1cee73
Add myself (Andrea Giudiceandrea) to contributors.json 2022-04-08 14:23:59 +02:00