1136 Commits

Author SHA1 Message Date
rldhont
906022e839 Fix indentation and spelling 2018-08-01 17:14:25 +02:00
Blottiere Paul
d3670de1bc Update unit tests 2018-07-27 08:24:55 +01:00
Thibault Coupin
1feb971daf [WMSServer] Fix QgsServerWMS and remove absolute path in qgs files 2018-07-26 21:51:25 +02:00
Thibault Coupin
0c18d3bc0a [WMSServer] Add unit test for non queryable layer in getfeatureinfo operation, add special case for group. 2018-07-26 12:10:10 +02:00
Thibault Coupin
fd5c8e7fbf [WMSServer] Add unit test for group short name for getcapabilities and getmap operations 2018-07-26 11:10:39 +02:00
Blottiere Paul
3141bb596b Update unit test 2018-07-26 08:40:24 +01:00
Martin Dobias
9ea06e1cbb Add expected iages for 3D rendering tests 2018-07-26 08:34:38 +02:00
Martin Dobias
45d49c2743 Add test data for the 3D auto tests 2018-07-26 08:34:38 +02:00
Blottiere Paul
1a94727dbe
Merge pull request #7461 from pblottiere/server_wfs_post
[server] Fixes Post element in WFS GetCapabilities doc
2018-07-24 12:41:47 +01:00
Blottiere Paul
8b14a5b900 Update unit tests 2018-07-24 08:22:13 +01:00
Alessandro Pasotti
a9f924fcb2
Merge pull request #7441 from elpaso/oauth2-testbed13-client-registration
[oauth] JWT client registration
2018-07-24 09:00:55 +02:00
Nyall Dawson
959dd5b051 Test mask 2018-07-24 03:54:44 +10:00
Nyall Dawson
19f8a0078d [FEATURE] Allow embedding SVG images in projects in base64 format
Allows SVG images for symbology, labels, etc to be directly embedded
inside a project file (or QML style, or QPT print template!)
by encoding the svg as a standard base64 string.

Sponsored by SMEC/SJ
2018-07-24 03:54:44 +10:00
Alessandro Pasotti
d56fc885f6 [oauth] Client registration with JWT
Ported from https://github.com/securedimensions/QGIS-OAuth2-Plugin

The Testbed 13 version provides an additional configuration tab "software statement" which allows a user to automatically register the plugin with a required configuration with the Authorization Server. Of course this can only be leveraged, if the Authorization Server involved supports the registration via digitally signed software statements (JWTs) as described in this ER.
2018-07-19 17:51:07 +02:00
Peter Petrik
21613cd132 use MDAL Groups instead of guessing them from dataset names 2018-07-19 11:30:52 +02:00
Alessandro Pasotti
3d20cfef58
Merge pull request #7279 from tudorbarascu/tests
rework server test to use geopackage and qgz
2018-07-17 10:12:49 +02:00
B. Seignovert
cb144b3cfe [RASTER] Generate band name with GTiff EXTRA_DIM
Band names can also be retrieved from GeoTIFF files.
2018-07-03 09:09:34 +10:00
Tudor Bărăscu
deb9f590fd add disabled server test for gpkg getfeatureinfo filter 2018-06-28 08:07:35 +03:00
Peter Petrik
252e41d3dc fix travis issues: docs, sip, test 2018-06-26 11:07:45 +02:00
Nyall Dawson
4778498c94 Fix SC2034 warnings 2018-06-21 15:33:29 +10:00
Tudor Bărăscu
52664b6b66 rework server test to use geopackage and qgz 2018-06-20 11:22:52 +03:00
Tudor Bărăscu
0b9df82268 remove redundant test 2018-06-19 14:16:01 +03:00
Tudor Bărăscu
05fad59b26 enable test for getfeatureinfo value relation widget values 2018-06-19 12:08:02 +03:00
Alessandro Pasotti
c20e441872
Merge pull request #7244 from elpaso/bugfix-18518-server-gfi-relations
[bugfix][server] respect relations in getfeatureinfo
2018-06-18 08:06:55 +02:00
Alessandro Pasotti
9c8545722d Make setInstance private and QgsConfigCache a friend 2018-06-17 15:05:19 +02:00
Alessandro Pasotti
65c1ed2a17 Typo and SIP_SKIP 2018-06-15 09:02:47 +02:00
Nyall Dawson
76eb29daf3 Unit tests and dox for QgsRasterIterator 2018-06-15 06:39:48 +10:00
Alessandro Pasotti
a2718daff7 Add test data for gfi server relations 2018-06-14 19:01:03 +02:00
Stéphane Brunner
dab4437780
Merge pull request #7208 from arnaud-morvan/wfs_srs_multilayer
[server] Fix BBOX SRS in WFS GetFeature POST with two queries
2018-06-13 11:15:48 +02:00
arnaud.morvan@camptocamp.com
9ebb646683 [server] Fix BBOX SRS in WFS GetFeature POST with two queries
Correctly transform featureRequest.filterRect in
WFS POST GetFeature request with multiple Query elements.
2018-06-08 13:11:14 +02:00
Nyall Dawson
83d44b9fe9 Fix zonal statistics calculations when pixel size is greater than
polygon size

Fixes #17159
2018-06-08 10:13:13 +10:00
Nyall Dawson
8ddab4476a Ensure zonal stats respsects all user set no data values 2018-06-08 10:13:13 +10:00
Alessandro Pasotti
b307f39f63 Added broken qlr file for the test case 2018-06-07 09:05:16 +02:00
Nyall Dawson
05f426e061 Remove orig_ogc_fid fields from server filter tests 2018-06-01 21:00:20 +10:00
nirvn
5ab3fe4ba0 Add subsetStringChanged signal 2018-05-29 17:10:17 +07:00
rldhont
facf7a22f0
Merge pull request #7007 from arnaud-morvan/server_filter_and_bbox
[server][wfs] Apply BBOX inside And using filterRect
2018-05-28 13:07:07 +02:00
arnaud.morvan@camptocamp.com
12a7be799c [server] Apply BBOX inside And using filterRect
In case of a WFS GetFeature request,
if BBOX is not a direct child of the Filter element,
it is applyed through an intersects_bbox function in the QgsFeatureRequest filterExpression.
This is not compiled by providers like PostgreSQL, causing the whole filter to be interpreted on QGIS side.

When interpreted on QGIS side, the srsname given in the request is not handled properly as geom_from_gml return a geometry object, projection agnostic.
This result in a very long request returning no results.

This is a workaround for this performance and srs issue in the case the BBOX is direct child of an And operator,
itself at first level in Filter element.

This is a bug fix and huge optimisation for the case we have a And with a BBOX and another condition.
2018-05-28 11:25:17 +02:00
Andrea Aime
c923d5b63f Fixes #16706, categorized symbology matching lack of value is not properly encoded in SLD 2018-05-28 13:05:28 +10:00
Martin Dobias
61f84ce7f6
Merge pull request #7008 from PeterPetrik/qgsmeshlayer_2_scalar_vector_datasets
[mesh] Rendering of scalar and vector datasets
2018-05-24 07:43:14 -04:00
Blottiere Paul
96a0b4777c Add unit test 2018-05-17 13:17:28 +01:00
Peter Petrik
3fc99c04c1 code cleanup 2018-05-16 17:02:35 +02:00
Peter Petrik
aea3dccea7 [FEATURE] Rendering of vector data on mesh layers
Rudimentary support of rendering of vector data (e.g. velocity) on mesh map layers.
Rendering can be adjusted by QgsMeshRenderer*Settings. Only in Python
API, no GUI widgets for styling present.
2018-05-16 12:56:35 +02:00
Peter Petrik
3154102aa6 [FEATURE] Scalar/vector data in mesh data providers
Reading and processing scalar (e.g. water depth) and vector (e.g.
velocity) data from mesh data providers (e.g. MDAL)
2018-05-16 12:47:28 +02:00
Blottiere Paul
1956937793 Update getcapabilities document to fit 1.3.0 version 2018-05-15 09:07:22 +01:00
Blottiere Paul
6ea2cd63ba Add unit tests 2018-05-15 09:07:21 +01:00
Nyall Dawson
26174ea9ad Copy cached min/max value to provider test suite 2018-05-15 09:23:48 +10:00
Guilhem
42bedc4f72 Update qgsrasterfilewriter.cpp
Bad geo-referencing bug fix

Using VRT with large coordinate system (like RGF93/CCxx) and high
resolution raster, highest resolution tiles were shifted regardingi
original raster.
It seemed that when creating the VRT file, georeferencing is
truncated while converted to text, leading to loss of precision.
2018-05-12 06:20:29 +10:00
Nyall Dawson
3d03cfba8c Update test masks 2018-05-11 17:48:45 +10:00
Denis Rouzaud
16497ee42c fix edit form test with local HTTP server 2018-05-09 11:04:29 -04:00
Denis Rouzaud
d413c8829a add UI form for testing 2018-05-09 11:01:59 -04:00