1223 Commits

Author SHA1 Message Date
Peter Petrik
7a12f11392 fix when GDALGetRasterScale returns 0 (gdal 2.3 affected for some datasets) 2019-02-01 06:56:26 +11:00
Alexander Bruy
d5b42aeec0 add test for temporary directory output 2019-01-29 12:58:11 +02:00
Blottiere Paul
19a77fff80 Update expected file 2019-01-28 11:42:14 +00:00
Blottiere Paul
3c8d5ebda5 Update GetCapabilities tests with new json format 2019-01-28 11:42:14 +00:00
Blottiere Paul
4acc7136f0 Update test 2019-01-28 11:42:14 +00:00
Blottiere Paul
aa55beba8e Update tests 2019-01-28 11:42:14 +00:00
Blottiere Paul
70189194a9 Fix unit test 2019-01-28 11:42:14 +00:00
Blottiere Paul
1b6ed5f45e Update expected files for unit tests 2019-01-28 11:42:14 +00:00
Blottiere Paul
03447f8034 Add unit test for raster layers and json export 2019-01-28 11:42:14 +00:00
Blottiere Paul
9eed93b169 Add an expected file 2019-01-28 11:42:14 +00:00
Blottiere Paul
2f683fc544 Add unit test with multiple layers and features for json 2019-01-28 11:42:14 +00:00
Blottiere Paul
5ef11399aa Update testdata with layers' names 2019-01-28 11:42:14 +00:00
Blottiere Paul
e4cdd7c254 Add unit test for GetFeatureInfo on raster layer in xml 2019-01-28 11:42:14 +00:00
Blottiere Paul
45399d72b4 Add unit test for with_geometry and json export 2019-01-28 11:42:14 +00:00
Blottiere Paul
101cd73125 Add unit test for excluded attributes 2019-01-28 11:42:14 +00:00
Blottiere Paul
62f77629b0 Add unit test for getfeatureinfo with alias in json 2019-01-28 11:42:14 +00:00
Blottiere Paul
562215c4cd Add unit test 2019-01-28 11:42:14 +00:00
Alessandro Pasotti
861a8b7105
Merge pull request #8958 from elpaso/bugfix-20961-wfs-null-transactions
Fix NULL support in WFS server and client
2019-01-24 17:43:27 +01:00
mhugent
b5febe5189
Merge pull request #8922 from mhugent/server_datasource_error
Server: catch datasource error
2019-01-24 17:27:13 +01:00
Alessandro Pasotti
15a81bdf23 Fix OWS project property issue: couldn't unset project title
This is the right behavior, btw there are other issues
in the server component that ignores the main bool
setting WMSServiceCapabilities completely.
2019-01-24 10:15:11 +01:00
Alessandro Pasotti
33788c9416 Fix typo in error message (and related tests) 2019-01-24 09:08:37 +01:00
Alessandro Pasotti
71e01168fe Server WFS NULL values support
- expose nillable in describefeaturetype
- serve xsi:nil="true" in getfeature
- check for NULL in transactions and report an error

Fixes #20961  - plus some other unreported
2019-01-23 22:45:26 +01:00
Alessandro Pasotti
847e7efdca GML parser set NULL values when parsing empty tags
This is part of a bigger fix to support NULL
values in WFS client and server components.
2019-01-23 22:45:25 +01:00
Alessandro Pasotti
49096431bc
Merge pull request #8948 from elpaso/bugfix-20198-server-DescribeFeatureType-typename
Fix server WFS TYPENAME filter in describeFeatureType
2019-01-23 08:45:24 +01:00
Alessandro Pasotti
de29767351
Merge pull request #8950 from elpaso/bugfix-opengis-zug-wmsroot
Fix server WMS short name (unreported)
2019-01-23 08:44:21 +01:00
Nyall Dawson
7d7462c333 Fix loss of project when saving to QGZ format and path contains non-ascii chars
Fixes #19567
2019-01-23 03:37:24 +11:00
Nyall Dawson
9cf2ff31d8 Fix evaluation of data defined properties for subsymbols of subsymbols
Fixes #18384
2019-01-23 03:36:41 +11:00
Marco Hugentobler
80e75342a7 Add test to ensure server throws exception if layer is invalid 2019-01-22 17:17:19 +01:00
Alessandro Pasotti
4e8898d408 Fix server WMS short name (unreported)
This patch fixes a WMS server bug when "Short name" was
set in project settings for service capabilities.

When the short name was set, it was not possible
to load the whole WMS by selecting the root
layer named after the short name.

With tests for both cases (with and without short name).

Funded by Kanton Zug
2019-01-22 14:36:43 +01:00
Alessandro Pasotti
59fd8df336 Fix server WFS TYPENAME filter in describeFeatureType
Fixes #20198

with tests
2019-01-22 14:28:36 +01:00
Alessandro Pasotti
0e0146d82d
Merge pull request #8924 from elpaso/bugfix-20927-server_exp_filter
Server WFS EXP_FILTER bugfixes
2019-01-22 08:05:32 +01:00
Alessandro Pasotti
9b7e1912d4 Add tests for WFS GetFeature EXP_FILTER
Fixes #20927 - QGIS Server: WFS issue using the EXP_FILTER parameter
2019-01-21 12:37:21 +01:00
Martin Dobias
8709ab61eb
Merge pull request #8893 from wonder-sk/rule-based-3d-renderer
Rule-based 3D renderer
2019-01-18 12:58:11 +01:00
Nyall Dawson
349946c669 Layer and layer node items have access to map layer expression context scope 2019-01-18 20:36:30 +11:00
Nyall Dawson
7ba5998db2 Calculate correct legend size when using expression based labels 2019-01-18 20:36:30 +11:00
Nyall Dawson
d70b60d48f [FEATURE][layouts] Allow expressions to be embedded inside legend item text
This feature allows for expressions to be embedded directly inside
legend item text (e.g. group, subgroup and item text). The expressions
are evaluated at render time, with full knowledge of the legend's
expression context (so can utilise variables from the layout/layout item/
etc)

There's no UI for this yet (that will come in 3.8), but expressions are
entered using the standard [% 1 + 2 %] format.

E.g. a legend item text of

    My layer (rendered at 1:[% @map_scale %])

will show in the output as

    My layer (renderer at 1:1000)
2019-01-18 20:36:30 +11:00
Martin Dobias
f069342b35 Rendering test for rule-based 3D renderer 2019-01-17 21:02:31 +01:00
rldhont
81aa143923 [Server][Feature][needs-docs] WMTS tile matrices configuration
In QGIS Server 3.4, the WMTS API has been added in which the tile matrices are calculated except fro EPSG:3857 and EPSG:4326.

This commit adds the capability to select the tile matrices to use with the project and to configure the top-left corner and the last level of the tile matrix. In the case of EPSG:3857 and EPSG:4326, the user can only choose the last level of the tile matrices.

Funded by Ifremer.
2019-01-17 15:29:30 +01:00
Martin Dobias
d2834bbb44 fix 3d mesh test 2019-01-16 11:02:20 +01:00
Peter Petrik
d695c4b34b [feature] [3d] [mesh] Display mesh faces in 3D view as terrain 2019-01-16 11:02:20 +01:00
Nyall Dawson
83340d0dfb [layouts] Fix loss of composition variables when converting 2.x compositions 2019-01-16 20:26:11 +11:00
Peter Petrik
cd9a84e11c [feature] [mesh] Mesh Calculator
Similarly to raster calculator, mesh calculator can take dataset groups from current mesh layer and
combine them with various aritmentic/logical operators to new dataset group.
2019-01-14 12:32:36 +01:00
Matthias Kuhn
918bfef51e
Add a test for transaction save local default value generation with gpkg 2019-01-09 18:13:13 +01:00
Matthias Kuhn
15ddb27093
Merge pull request #8721 from signedav/json-for-valuerelations
Storing Value Releation multi-selection as JSON
2019-01-08 15:17:31 +01:00
signedav
6e91349baa json gpkg tests 2019-01-08 11:50:35 +01:00
Nyall Dawson
0de94dd1fe [layouts] Fix incorrectly rendered item background and frame when item is
non-opaque

Fixes #20909
2019-01-08 16:24:37 +10:00
Alessandro Pasotti
1ba6b97f74
[server] Fix layer order rendering when layers are in groups (#8796)
* [server] Fix layer order rendering when layers are in groups

Fixes #20810

* Update test images

* [server] Fix order of layers in subgroups

basically: layers in WMS is specified in a comma separated
list where leftmost layer is drawn first (it's at the bottom)
and QGIS layer order is exactly the opposite: first layer
in the TOP (topmost) is drawn last (it is at the top).

For this reason the server reverses the list before passing
it to the renderer.

* Fix order of layers in test

* Update src/server/services/wms/qgswmsrenderer.cpp
2019-01-07 13:13:30 +01:00
signedav
e9e7c397e9 add author and reader tables to test valuerelations with json 2019-01-07 11:39:48 +01:00
mhugent
54a5fae0b7
Merge pull request #8781 from mhugent/get_atlas_print
[server][needs-docs] Get atlas print
2019-01-07 10:42:23 +01:00
Matthias Kuhn
0c71e720a3
JSON Support for GeoPackage [FEATURE]
Merge pull request #8707 from signedav/json-for-gpkg
Integration of JSON type of GeoPackage
2019-01-07 10:35:30 +01:00