1014 Commits

Author SHA1 Message Date
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
Richard Duivenvoorde
5f24a0b214 Change help answer to what is actually shown in the preview 2019-10-14 09:35:22 +10:00
Nyall Dawson
ffe66bff82 [needs-docs] Add option to take no action ("Leave as an unknown CRS") when
a layer is loaded which has no CRS

This is the new default behavior. It effectively defers the choice of CRS
from layer loading time to a later time which is convenient for users. E.g.
it no longer asks for CRS choice 100x when loading 100 files into QGIS at once.
(Effectively an application crash/hang... no one will sit through these 100 dialogs!)

The new behavior means there's no prompt (by default!) when loading these layers,
and instead the layers will be shown in the layer tree with an "unknown CRS"
indicator icon. They'll also be un-referenced, with coordinates from the layer
treated as purely numerically, non-earth values. I.e. the same behavior
as all layers get when a project is set to have no CRS.

The user can then resolve these in their own time, and by using convenient
shortcuts like highlighting multiple layers at once and then setting the CRS
for all these in a single action.

Fixes #19762, #27634, #24815  (and probably others)
2019-10-09 15:01:51 +10:00
Juergen E. Fischer
7f54c6acf0 debian packging [ci skip]:
* scripts/scandeps.pl: remove python3-autopep8 from INSTALL build
  dependency list (not an actually dependency anyway)
* include eoan in INSTALL
2019-10-08 20:27:47 +02:00
nirvn
3fefd137b7 Fix spelling, revert world_map.gpkg change (arg) 2019-10-07 15:47:30 +07:00
nirvn
6b1e31170e Add tests 2019-10-07 15:47:30 +07:00
Alessandro Pasotti
61579538b2 Oouch (again) on that silly WMS 1.3.0 inverted axis
A reminder for me (from geoserver docs)

The WMS 1.3.0 specification mandates that the axis ordering for geographic coordinate systems defined in the EPSG database be latitude/longitude, or y/x. This is contrary to the fact that most spatial data is usually in longitude/latitude, or x/y. This requires that the coordinate order in the BBOX parameter be reversed for SRS values which are geographic coordinate systems.
2019-10-05 19:22:54 +02:00
Harrissou Sant-anna
575ecffe30 Add "concatenate_unique" as aggregate parameter
to relation_aggregate function
2019-10-03 13:28:36 +10:00
Harrissou Sant-anna
ef11da6359 Add "concatenate_unique" and "array_agg" as aggregate parameter
of aggregate function
2019-10-03 13:28:36 +10:00
Nyall Dawson
b7062b54f6 More optimisations to tesselation conversion to tri polys
Use an unordered set for previously encountered points, avoids expensive
loop through existing points to determine point uniqueness
2019-10-02 21:37:52 +10:00
Harrissou Sant-anna
f75a0cc4da Various fixes on date functions help
including replacement of todate and tointerval, use of third person
conjugation and addition/fix of examples
2019-09-27 17:44:11 +10:00
Alessandro Pasotti
30e2fbfe88 Server fix openapi HTML template and improve styling
Mostly cosmetic fixes plus re-add links to openapi
json in case content-type is NOT OPENAPI3, because
it would break validation in that cae.
2019-09-23 09:50:21 +02:00
Alessandro Pasotti
f568e6f06c Server OGC API OPENAPI validation
Fix some OPENAPI validation issues.

Swagger is happy now, except for the MAP=/...
in the query string: no query string parameters
are allowed in the endpoint, but we can
fix this in the web server configuration.
2019-09-21 15:43:12 +02:00
nirvn
c7aeb4ceb2 [themes] Add disabled state for tree/table/list widgets 2019-09-18 18:06:51 +07:00
Denis Rouzaud
68a78059c0
fix adding/removing classes in graduated renderer widget (#31824) 2019-09-17 11:57:48 +02:00
Denis Rouzaud
f13e0ebc86
[locator] fix sorting of grouped results (#31797)
when they do not arrive in a sequence
2019-09-16 16:14:51 +02:00
Juergen E. Fischer
db6d34a846 add translation strings [ci skip] 2019-09-10 17:14:27 +02:00
Nyall Dawson
576ac8b6cd Fix invalid "no active vector layer" errors in offset tool 2019-09-09 12:24:14 +10:00