Patrick Valsecchi
da58c1d7cf
Add support for empty OGC WMS filters
...
The FILTER query parameter can now look like that:
`(<Filter>...</Filter>)()`
That means that the second layer has no filter. This is compliant with
waht MapServer supports:
https://mapserver.org/development/rfc/ms-rfc-118.html#examples
2018-09-03 15:36:43 +02:00
Luigi Pirelli
6068c199e4
added check for outputChildId
2018-09-03 13:58:02 +02:00
Hugo Mercier
a80117b8b9
Merge pull request #7724 from agiudiceandrea/patch-fix-19636
...
Fix "Filter on joined fields": add geometry for spatial layer and handle special field/layer names
2018-09-03 13:57:29 +02:00
nirvn
9af405c9ae
[layout] Set default legend item title to an empty string
2018-09-03 17:37:46 +07:00
Peter Petrik
199f4effb6
fix tests for mesh layer
2018-09-03 19:41:07 +10:00
Nyall Dawson
74e6e15d9e
[processing] Add test to ensure that model child algorithm parameters
...
which are set to dynamic values are preserved across save/restore
2018-09-03 05:47:12 +10:00
Nyall Dawson
3572ea80bd
Make QgsXmlUtils handle storing/retrieving QgsProperty values
2018-09-03 05:47:12 +10:00
Alessandro Pasotti
d0026d1a23
Merge pull request #7769 from elpaso/bugfix-19695-qlocale-permissive-input
...
Bugfix 19695 qlocale permissive input
2018-09-02 10:16:23 +02:00
Alessandro Pasotti
069dc1b6d9
Fix test
2018-09-02 09:42:16 +02:00
Alessandro Pasotti
bb01ef3456
Add qgsPermissiveToLongLong
2018-09-01 18:01:23 +02:00
Alessandro Pasotti
0b35147a92
Fields: be permissive when parsing formatted numbers
2018-09-01 17:59:56 +02:00
Alessandro Pasotti
3a0899dbcd
Add os import
2018-09-01 19:47:59 +10:00
Alessandro Pasotti
6d6871ca55
Skip test on travis and fix test case
2018-09-01 19:47:59 +10:00
Alessandro Pasotti
e8ca9a24ca
Add spellok
2018-09-01 19:47:59 +10:00
Alessandro Pasotti
4ad0bbb1d1
[test] Add ParentDependsOnSubTask subtask test case
2018-09-01 19:47:59 +10:00
Nyall Dawson
e0fa9eb9cf
Add QStringLiteral(), QStringLiteral( "" ) and QLatin1String( "" )
...
to banned keywords
And replace use with QString()
2018-08-31 12:31:27 +10:00
Nyall Dawson
d683550b88
Fix crash when tasks are canceled before starting
...
Avoids an attempt to unlock an already unlocked mutex,
which causes a crash. Should fix a number of crash report
tickets...
2018-08-31 06:52:23 +10:00
Loïc Bartoletti
a7b6bdba8c
use epsg and fix circularstring test on linux
2018-08-30 10:01:50 +02:00
Nyall Dawson
e5e14dd680
Fix is_closed (and other expression functions) fail with multi* input geometries
...
Fixes #19704
2018-08-29 14:52:39 +10:00
rldhont
65f4bf1956
Merge pull request #7514 from rldhont/server-cache-manager
...
[Server][Feature][needs-docs] Server cache manager and WMTS service
2018-08-28 18:05:42 +02:00
Luigi Pirelli
6aa36166e4
adapted tests to new variables added in expressionContext
2018-08-28 17:06:10 +02:00
Andrea Giudiceandrea
1971f8accd
Fixing intentation
2018-08-27 14:58:06 +02:00
Andrea Giudiceandrea
05fda10363
Filter on joined fields: add geometry for spatial layer and handle sp…
...
…ecial field/layer names
Fixes #19636
"Filter on joined fields" does not work properly in the following two circumstances:
- when the (original) layer is a "spatial layer": the virtual layer created is an attribute only / non-spatial layer, instead of a spatial one
- when at least a field name or a layer name starts with a digit or contains white spaces (or probably also other special characters): the virtual layer is not created at all (actually is created and instantly deleted) without warning the user
This fixes both and also updates the related tests accordingly and adds another test.* Enclose field/layer names in double quotes.
See also [QGIS-Developer] "Filter on joined fields" and Virtual layers not working as expected
More details: https://issues.qgis.org/issues/19636#note-13
Projects and layers to test the bugs: https://issues.qgis.org/attachments/download/13196/test_filter_qgis.zip
2018-08-27 14:33:10 +02:00
Nyall Dawson
ff9e3890e0
[needs-docs] Rename map_layers_ids to map_layer_ids
...
It's more natural grammar
2018-08-27 14:43:02 +10:00
Nyall Dawson
820c40ac9d
[FEATURE] map_layers variable for layout map items
...
Just like map_layers_ids, but returns direct layer values instead
of ids
2018-08-27 14:43:02 +10:00
lbartoletti
87fb27fddb
Merge branch 'master' into reverseLine
2018-08-27 06:30:16 +02:00
Andrea Giudiceandrea
3b9821f439
Update test_qgsdelimitedtextprovider_wanted.py
...
according to PR #7671
2018-08-27 11:55:33 +10:00
Nyall Dawson
f8f5fd1526
Fix bad test
2018-08-27 11:35:57 +10:00
Nyall Dawson
d84252c97c
Fix project defaults to EPSG:4326 when a non-spatial layer is first
...
layer added
Fixes #19690
2018-08-27 11:35:57 +10:00
Nyall Dawson
1b560559e5
Non spatial layers do not have a CRS - API changes only, needs UI change
...
Refs #19689
2018-08-27 11:35:57 +10:00
Matthias Kuhn
3cd68999b0
Merge pull request #7698 from m-kuhn/wfsDateTimeNow
...
Support for now() in WFS filters
2018-08-26 07:43:09 +02:00
Matthias Kuhn
980e83ae0d
Remove debug lines
2018-08-25 13:48:38 +02:00
Matthias Kuhn
157c7dcd8f
Add test that now() returns static results
2018-08-25 13:45:49 +02:00
rldhont
3626cf11a0
[Server][Feature][needs-docs] Testing that exceptions are not cached
2018-08-24 17:36:59 +02:00
Matthias Kuhn
31fadd1c00
Merge pull request #7692 from m-kuhn/arrayRep
...
Adjust representation of arrays and maps in expressions
2018-08-24 15:51:14 +02:00
rldhont
6cb9997a0d
[Server][Feature][needs-docs] Enhancing WMTS GetTile parameters check with tests
2018-08-24 15:50:29 +02:00
rldhont
ba246532b1
[Server][Feature][needs-docs] Enhancing TileMatrixSetLimits
2018-08-24 15:05:52 +02:00
Matthias Kuhn
7e63093987
Fix test
2018-08-24 13:50:01 +02:00
Matthias Kuhn
a5a6f0058a
Merge pull request #7672 from m-kuhn/geomCheckerAutoFixes
...
Add automatical fixes for geometries
2018-08-24 12:32:44 +02:00
Matthias Kuhn
f9da596462
QVariantMaps always have string keys
2018-08-24 08:47:23 +02:00
Matthias Kuhn
04cdc9bf30
Merge pull request #7694 from signedav/trans_extends
...
Improvements of translation-featurs of .qgs project data
2018-08-24 08:43:13 +02:00
Matthias Kuhn
0274bc8645
More test fixes
2018-08-24 08:11:07 +02:00
Matthias Kuhn
70bf49a18d
Adjust tests for array and map expression formatting
2018-08-24 06:09:07 +02:00
Matthias Kuhn
907fb55f82
Update tests to new API
2018-08-23 18:38:24 +02:00
signedav
5ef079970d
Value Relation implementation
...
Values in the Value Relation widgets can be translated now - means changed.
So the setting-change is made to get translated values over another layer.
2018-08-23 17:51:53 +02:00
Matthias Kuhn
51ec333199
Merge pull request #7688 from m-kuhn/array_filter
...
Add array_filter expression function
2018-08-23 15:54:21 +02:00
Matthias Kuhn
d9e59e28a9
Concentration please
2018-08-23 15:14:24 +02:00
Matthias Kuhn
f69e58f261
Revert to specific setters and getters
2018-08-23 14:24:42 +02:00
Nyall Dawson
de30dc981d
Named variables for array_foreach
2018-08-23 21:15:32 +10:00
Nyall Dawson
89cd7858e5
Used named parameters for with_variable function
2018-08-23 21:15:32 +10:00