881 Commits

Author SHA1 Message Date
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
Alessandro Pasotti
595807171d Server: datetime basic filter support for OAPIF 2019-10-30 11:53:14 +01:00
Alessandro Pasotti
d67c934684 Fix MXE builds 2019-10-30 11:01:46 +01:00
Juergen E. Fischer
b81d306047 spelling fixes (closes #32408) 2019-10-26 10:50:30 +10:00
lbartoletti
3b9c240ba7 rewrite functions. Only hash(string, method), md5(string) and sha256(string) are available now 2019-10-26 08:32:26 +10:00
lbartoletti
ba7770c7cc fix build 2019-10-26 08:32:26 +10:00
lbartoletti
910c3c478e add help files 2019-10-26 08:32:26 +10:00
Matthias Kuhn
de2400f8b0 typo 2019-10-26 08:28:51 +10:00
Matthias Kuhn
e6a06ec3b2 Also copy svg, icons and doc to build dir, into /data/ subdir 2019-10-26 08:28:51 +10:00
Matthias Kuhn
651b7b18d6 Copy resources to build dir
Fix #31796
2019-10-26 08:28:51 +10:00
Alessandro Pasotti
112a1cd9ca PG source select maintain newline in tooltips 2019-10-22 13:23:16 +02:00
Alessandro Pasotti
9f54bda17e PG source select word wrap table comments 2019-10-22 13:20:10 +02:00
Alessandro Pasotti
23f1ca66f9 PG source select align table comment top 2019-10-22 13:16:45 +02:00
Julien Cabieces
e4da0ac8c9 Revert "Merge pull request #31374 from troopa81/parallelize_snap_caching"
This reverts commit 87b1aa9a5d6efb279693aea68dc2dcb5b51b3e86
2019-10-18 14:50:33 +10:00
Alessandro Pasotti
6fed2fafd7 Fix bbox multiple array and add two more tests 2019-10-17 10:22:59 +02:00