193 Commits

Author SHA1 Message Date
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
Alessandro Pasotti
a2718daff7 Add test data for gfi server relations 2018-06-14 19:01:03 +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
05f426e061 Remove orig_ogc_fid fields from server filter tests 2018-06-01 21:00:20 +10: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
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
Alessandro Pasotti
f2304c1b15
Merge pull request #6764 from tudorbarascu/featureinfo_values
server tests for GetFeatureinfo different widget values
2018-05-08 15:24:40 +02:00
Blottiere Paul
1afe0d1bb8 Add unit tests 2018-04-26 16:18:29 +01:00
rldhont
120d5b1d11 [Tests][Server] Add unit test for empty contextual legend
Manually port c217cbb4dd140695af74debbe052dbefc1d21e74
2018-04-24 13:17:31 +02:00
rldhont
f914762b46
Merge pull request #6793 from pblottiere/bugfix_owslib
[server][bugfix] Cleaning GetCapabilities response
2018-04-20 14:12:17 +02:00
Blottiere Paul
414f4fac3a Remove empty MetadataURL tag for unit tests 2018-04-13 14:36:31 +01:00
Blottiere Paul
2d340a0de2 Update unit test with symbology depending on @map variables 2018-04-13 09:50:18 +01:00
Blottiere Paul
e8ce121bc5 Add unit test to check symbol's rotation coming from a project variable 2018-04-12 14:21:53 +01:00
Tudor Bărăscu
27b417004b Add GetFeature test with array layer
Also added the missing response xmls (forgot to add them
in previous commits)
2018-04-11 15:31:14 +03:00
Tudor Bărăscu
aae8ce3188 Added disabled GetFeatureInfo test for relation reference widget 2018-04-09 16:32:14 +03:00
Tudor Bărăscu
28dc356fe5 Added disabled GetFeatureInfo test for value relation 2018-04-09 12:14:24 +03:00
Tudor Bărăscu
b7db26233e fix datasource path 2018-04-08 21:12:12 +03:00
Tudor Bărăscu
88e9e84294 test for GetFeatureinfo value map relation values 2018-04-08 19:04:49 +03:00
Alessandro Pasotti
a160e7494c Reference file for the WFS endless loop test 2018-03-19 15:01:57 +01:00
Alessandro Pasotti
39778b16d8 Added test reference file for getfeatureinfo no width 2018-03-11 12:55:28 +01:00
Sandro Mani
184480bcd6 Ensure FILTER_GEOM is transformed to layer CRS in GetFeatureInfo 2018-03-06 13:16:36 +01:00
Alessandro Pasotti
1f2109a51f [server][bugfix][wfs] Allow CRS in BBOX
Fixes #17977 - QGIS server 2.99 doesn't handles BBOX parameter on WFS request
2018-01-30 17:02:08 +01:00
Alessandro Pasotti
a117b6b9ea [layout][server] Update tests and mask images 2018-01-10 21:25:24 +01:00
Blottiere Paul
4aa97d865d Add a test 2017-11-27 09:15:57 +00:00
Blottiere Paul
9283b26762 Update tests 2017-11-16 08:40:45 +00:00
Blottiere Paul
f52300d361 Update tests 2017-11-16 08:04:03 +00:00
Blottiere Paul
534e1e811e Add test 2017-11-10 15:26:21 +00:00
mhugent
a843df8947 Merge pull request #5466 from mhugent/maptip_geometry_optional
[needs-docs] Make maptip and geometry attribute optional in featureinfo response
2017-10-27 16:13:20 +02:00
mhugent
26bd6d722e Merge pull request #5435 from mhugent/wms_print_layers
[needs-docs][feature] Wms print layers
2017-10-27 16:12:19 +02:00
Marco Hugentobler
52896f5545 Add test for maptip 2017-10-27 15:19:00 +02:00
Marco Hugentobler
22a54fa647 Add Unit test 2017-10-26 21:40:16 +02:00
Marco Hugentobler
7d84782546 Add unittest for featureinfo request using the parameter with_geometry 2017-10-26 16:10:40 +02:00
Marco Hugentobler
49a1a5a09f Remove geometries from unit test output (is now only added if requested) 2017-10-26 15:34:14 +02:00
Blottiere Paul
1c9f9df0ea Add test 2017-10-26 14:27:05 +01:00
rldhont
dc6bdc2919 [Server][Tests] Fix WMS tests locally 2017-10-19 14:48:48 +02:00
Blottiere Paul
a3971ee0cd Update unit tests 2017-10-17 10:17:49 +01:00
rldhont
24a68547e2 [Server][WFS] Update GML GetFeature document 2017-10-12 13:50:03 +02:00
rldhont
0d350b8865 [Server][WFS][Feature] Support resultType=hits from GetFeature 1.1.0 2017-10-12 13:49:51 +02:00
rldhont
1e009b47e6 [Server][Tests] Update PyQgsServerWFS test for 1.1.0 2017-10-12 13:49:42 +02:00
rldhont
b8ebbc1455 [Server][Tests] Add PyQgsServerWFS test 2017-10-12 13:49:09 +02:00
Blottiere Paul
a9a2c200e3 Search schemaExtension.xsd in share directory 2017-10-10 08:02:33 +01:00
Blottiere Paul
8a09a197cc Merge pull request #5150 from pblottiere/server_bugfix_ogc_getfeatureinfo_invalid_format
[server][bugfix] Fix OGC test getfeatureinfo:invalid-info_format
2017-10-03 06:24:46 +01:00
Blottiere Paul
203e81fa6b Add tests 2017-09-29 09:30:20 +01:00
Blottiere Paul
04cdf496b7 Add some tests 2017-09-29 09:26:25 +01:00
rldhont
f926033699 [Server] WMS GetFeatureInfo refactoring 2017-07-17 12:39:34 +02:00
rldhont
aa24896ce1 Fix GML2 after GML3 improvements 2017-07-07 13:01:31 +02:00
Nyall Dawson
65a5669b25 Merge pull request #4727 from aaime/stroke_hairline
Fixes 16707, export of hairline results in a different visual thickness
2017-06-27 06:12:12 +10:00
Marco Hugentobler
ef8e58bcc2 Unit test for feature info geometry filter 2017-06-24 12:30:04 +02:00