895 Commits

Author SHA1 Message Date
Harrissou Sant-anna
375242cb18 Fix geom_from_gml example display 2020-03-09 07:30:55 +10:00
Alessandro Pasotti
3246a92db8
Merge pull request #34827 from elpaso/parent-form-current-value-2
[feature] Get current parent form values in child forms
2020-03-05 10:51:43 +01:00
Harrissou Sant-anna
ae45af58d6 Add details to project expression and fix example 2020-03-05 09:52:59 +10:00
Alessandro Pasotti
195efa42a1 Final touches to the parent form API 2020-03-04 08:52:52 +01:00
Juergen E. Fischer
edee4a3d10 spelling fixes (closes #32408) 2020-02-28 21:04:02 +01:00
Nyall Dawson
7057b37899 Check in updated internal srs db based on latest proj version 2020-02-27 14:33:02 +10:00
Raymond Nijssen
3f80823b34 fix for format_date() help text 2020-02-27 06:36:26 +10:00
Alessandro Pasotti
f1c6bdf00c Move jsonformatter to own dir, add license and src
Fixes #34586
2020-02-23 18:08:36 +01:00
Nyall Dawson
5251852f04 Record proj version number in srs6.db after running srssync utility
And when running srssync, return early if the version number is unchanged
from the last run.

This avoids running the full (slow, on proj 6 builds) srssync with
every build, which is PITA for rapid development...
2020-02-22 06:48:10 +10:00
Nyall Dawson
b840ad7f5c Fix srcsync "... can't be updated" warnings under proj 7 2020-02-20 17:53:05 +10:00
lbartoletti
51ba7e8a89 Fix hash help
I realize that I didn't change it after our discussion on the PR https://github.com/qgis/QGIS/pull/31726.
2020-02-14 06:40:22 +10:00
Nyall Dawson
947fe8d54a Add an advanced settings key to allow disabling of the "pan distance"
message which shows in the status bar after a pan operation
2020-02-06 04:35:23 +10:00
Nyall Dawson
0030c31a81 Update ini descriptions 2020-01-21 11:28:15 +10:00
Nyall Dawson
b14997dc11 Address review comments, don't store username if anonymize_saved_projects is true 2020-01-21 11:28:15 +10:00
Nyall Dawson
56a572f9d5 [gps] Allow GPS serial port connection properties to be specified in QSettings
Instead of hardcoding these values, allow them to be customised by changing
settings in QSettings (either via the settings ini file or through the
advanced settings editor), as some serial GPS devices require non-default
settings for the connection to work correctly.
2020-01-13 13:45:34 +13:00
Nyall Dawson
d8645f5285 Update rotate function help for optional center point 2020-01-02 14:45:06 +10:00
Raymond Nijssen
933f1cac72 [FEATURE] rotate() expression function
Allows rotation of geometries around a point
2020-01-02 14:45:06 +10:00
Nyall Dawson
c5e0ada6bd [needs-docs] Add optional global settings allowing for hard limits
to be placed on the maximum number of point, line and polygon candidates
which are generated for label features

These settings are set via the core\rendering\label_candidates_limit_*
settings, and allow for global limits to be set on the maximum number
of candidates allowed for label features. Placing these limits can
improve map rendering time, at the expense of worse label placement or
potentially missing map labels. (By default no global limit is set, which
means the labeling engine auto calculates the limit or uses the project
level settings)

The intended use case is for server administrators who are seeking for
maximum rendering speed to globally set these limits, causing them to
apply to all projects without the need for project-specific tweaks.
2019-12-26 13:18:10 +10:00
Alessandro Pasotti
b894cb7c2c User -> User expressions 2019-12-18 20:16:28 +01:00
Alessandro Pasotti
a8c0e4cbf6 User expressions followup
- renamed the group to "User"
- added help text for the group
- added QgsSettings Expressions namespace
- reworded tooltips for store/remove actions
2019-12-18 14:24:02 +01:00
signedav
4cbd9a1ee3
Merge pull request #33197 from signedav/searchtags_functions
Search tags on expression functions
2019-12-17 09:28:26 +00:00
Matthias Kuhn
98f8a89704
Merge pull request #33204 from olivierdalang/feature_random_seed_squashed
[FEATURE][expressions] allow to seed random functions
2019-12-17 07:31:26 +01:00
Matthias Kuhn
3b4437bcf8
Merge pull request #33333 from lbartoletti/expression-is_empty
Add expressions is_empty(geom)  is_empty_or_null(geom)
2019-12-16 08:06:58 +01:00
lbartoletti
c7fca820e5
Update resources/function_help/json/is_empty
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-12-16 06:32:23 +01:00
lbartoletti
c7bc3af96c add expression is_empty_or_null 2019-12-13 07:21:53 +01:00
lbartoletti
780d9e9fd7 fix and improve description 2019-12-13 07:21:33 +01:00
lbartoletti
6c49ada54e fix function_help 2 2019-12-12 16:16:42 +01:00
Nyall Dawson
4e4cd313bd Add a WKT column to tbl_srs
proj string definitions of CRSes are lossy, so we need to gradually
transition to WKT definitions instead
2019-12-12 14:44:50 +10:00
lbartoletti
2491284596 fix function_help 2019-12-11 13:54:23 +01:00
lbartoletti
23c9a61a99 Add expression is_empty(geom) 2019-12-11 12:07:07 +01:00
David Signer
5409bd4cb4 fix spelling 2019-12-04 16:31:38 +01:00
David Signer
314e2339eb write tags to the expression functions help object 2019-12-03 15:29:16 +01:00
olivierdalang
65fed42213 [FEATURE][expressions] allow to seed random functions
useful to get deterministic random values
2019-12-03 13:35:27 +01:00
Nyall Dawson
8b968cf2f5 Add missing documentation for geom_to_wkt precision argument 2019-11-26 03:58:51 +10:00
Nyall Dawson
37f2d2d8ae Fix function help for project function
Fixes #33035
2019-11-26 03:58:51 +10:00
Matthias Kuhn
63911c1d01
Merge pull request #32551 from rduivenvoorde/from_epoch
[FEATURE] Add datetime_from_epoch (MSec from epoch) expression function
2019-11-22 11:09:37 +01:00
nirvn
617955ac1e [expression] Language support for format_date() and to_{date,datetime,time}()
By default, those expression use the application's locale. The addition of an optional
language parameter allows handling of dates that wouldn't match that default
locale (say for e.g. an English system running QGIS trying to transform a
French-formatted string into a date object).
2019-11-18 12:13:47 +07:00
Pete King
0e7edd5588 [feature] is_valid expression
Returns true if a geometry is considered valid according to the OGC validity rules
2019-11-18 02:31:48 +10:00
Alessandro Pasotti
2eb410844f
Merge pull request #32694 from elpaso/server-wfs3-transaction-simple-2
[feature] Server OAPIF simple transactions
2019-11-15 14:21:03 +01:00
Harrissou Sant-anna
d8cbabe2bb Update contributors.json 2019-11-12 03:11:32 +10:00
Alessandro Pasotti
9188d4b539 Server OAPIF template enhancements: links and buttons 2019-11-11 13:53:32 +01:00
root676
a418941c45 add myself to contributors 2019-11-11 05:26:02 +10:00
Alessandro Pasotti
8931d7256f Server OAPIF nl2br template function
Introduce a new template function to replace nl with <br>
2019-11-05 13:55:17 +01:00
Nyall Dawson
fed75afa95 [FEATURE] Add expression functions for converting to/from wkb
Adds geom_from_wkb and geom_to_wkb, which mirror the existing
geom_from_wkt/geom_to_wkt functions but for WKB representations
of geometries.

Since QGIS 3.6 we've had good support for binary blob values in
expressions and field values, so adding these functions allows
users to work with binary blob fields containing WKB representations
of geometries (e.g. with a geometry generator showing the encoded
geometries)
2019-11-04 13:00:11 +10:00
Richard Duivenvoorde
f67fe846da Rename to 'DateTimeFromEpoch' and add 2 extra tests 2019-11-01 21:44:58 +01:00
Richard Duivenvoorde
ae0f8ffe8c
Update resources/function_help/json/from_epoch
Co-Authored-By: Étienne Trimaille <gustrimaille@yahoo.fr>
2019-10-31 19:59:56 +01:00
Richard Duivenvoorde
8f9d493cc2 Add from_epoch (MSec from epoch) expression function 2019-10-31 15:59:07 +01:00
Alessandro Pasotti
e689a65bb3
Merge pull request #32322 from elpaso/server-wfs3-timefilter-dimensions
[feature] Server wfs3 timefilter dimensions
2019-10-30 18:29:49 +01:00
Alessandro Pasotti
358c814722 Server OAPIF temporal extent 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
a1bfc163ef Server OAPIF, better styles and API HTML output 2019-10-30 11:53:14 +01:00