193 Commits

Author SHA1 Message Date
Julien Cabieces
4f7975d2dc Fix WMS GetMap 8bit mode with transparency (#31014)
* Fix WMS GetMap 8bit mode with transparency

* Correct indentation

* Remove french text in qgs test project

* Correct render checker for 8bit image

* Remove empty line
2019-08-01 17:14:43 +02:00
rldhont
14883e9c27 [WMTS] Fixing the WMTS GetCapabilities Get element children
The ows Get element has a Constraint child that describe the way to do request to the service. In the case of WMTS, all are KVP.
2019-07-02 14:58:48 +02:00
Blottiere Paul
ee6642477e
Merge pull request #30071 from lbartoletti/wms_tile_buffer
[server]New parameter for WMS service: tile_buffer
2019-06-28 16:22:05 +02:00
rldhont
9140312d26 [Server] wfs utils: Update the way parsing filter and adding a test 2019-06-27 14:20:17 +02:00
Alessandro Pasotti
fdc97ba61f
Fix QGIS Server WFS geometryless DescribeFeatureType (#30390)
Fixes #30381
2019-06-26 13:53:39 +02:00
Alessandro Pasotti
0290342e6e
Merge pull request #30271 from elpaso/bugfix-gh30264-wms-bbox-wrong-transform-empty-layers
Server wms bbox wrong transform on empty layers
2019-06-20 10:55:25 +02:00
Alessandro Pasotti
c838161f64 Catch coord transform exception and log it
Skip the layer if there are any exceptions.
2019-06-20 07:22:57 +02:00
Nyall Dawson
a8d212b129 Fix tests 2019-06-20 09:40:47 +10:00
Alessandro Pasotti
9868d86f0d Reference file for regression 30264 2019-06-19 15:49:59 +02:00
Alessandro Pasotti
6cfc7b09bd Server WMS getcapabilities wrong bbox in case of empty layers
... and different CRS

Fixes #30264
2019-06-19 15:46:51 +02:00
rldhont
0499a933c1 [Test][Server] GetContext: Fix hidden attribute 2019-06-14 14:35:25 +02:00
Alessandro Pasotti
5aa5a841cb Update test because now we are correctly returning null 2019-06-09 12:54:03 +02:00
lbartoletti
d197fd5d6f fix qgis_spelling 2019-06-05 07:57:59 +02:00
lbartoletti
35c4209bfd New parameter for WMS service: tile_buffer [needs-docs][FEATURE] 2019-06-04 07:20:29 +02:00
Alessandro Pasotti
49b381f216 Add missing test control file 2019-05-28 10:59:11 +02:00
Alessandro Pasotti
f37141d807 Server WFS fix describefeaturetype double virtual fields
Fixes #29767
2019-05-27 18:22:50 +02:00
Éric Lemoine
b0ae641b06 Support FILTER values with colons 2019-05-16 11:52:05 +02:00
Alessandro Pasotti
9a612d4e19
Merge pull request #9832 from elpaso/qjson-nlohmann
Fast (and beautiful) json serializing
2019-05-10 11:33:10 +02:00
Alessandro Pasotti
bd3d75fce8 Indent on JSON export 2019-05-03 19:02:58 +02:00
Alessandro Pasotti
290909f9bb Use json objects for server getfeatureinfo 2019-05-02 14:30:18 +02:00
Alessandro Pasotti
956ed06f52 [server] Respect custom layer order for groups in GetMap
Fixes #21917
2019-04-26 12:04:39 +02:00
rldhont
f8880c6e9c [Tests][Server] WMTS - use resolution for bbox calculation 2019-04-24 10:46:21 +02:00
rldhont
012faa6af1 [Bugfix][Server] WMTS: CRS can have axis inverted
The top left element has to respect the axis, like in WMS 1.3.0.
2019-04-18 23:21:40 +02:00
David Signer
fa8e5fa348 add test files and correct image 2019-04-11 17:01:23 +02:00
David Signer
8e62a89c98 add correct layer to testproject 2019-04-11 16:11:00 +02:00
David Signer
96f054e1c1 tests for default mapunits per mm on EPSG:4326 2019-04-11 12:36:35 +02:00
David Signer
679b100f0c tests for default scale on EPSG:2056 2019-04-11 11:42:45 +02:00
Alessandro Pasotti
d995070a8e Add missing reference file for gfi test 2019-04-04 14:28:27 +02:00
Alessandro Pasotti
a8ffb334cc Fix queryable on top getprojectsettings 2019-04-04 13:29:56 +02:00
Alessandro Pasotti
9a689aff55 [server] Allow WMS GetFeatureInfo on root layer and groups
If the group (or the root) has any queryable child, it is flagged as queryable

Also fixes an issue with json enconding with rasters.

Fixes #21697

Funded by: Kanton Zug
2019-04-04 11:47:25 +02:00
Alessandro Pasotti
77b0e23299 Add test reference file for server locale overrides 2019-04-01 16:28:46 +02:00
Alessandro Pasotti
8a32848f85 Add tests for server locale override options 2019-04-01 16:24:24 +02:00
Blottiere Paul
0fe739d987 Update unit tests 2019-03-29 12:12:59 +01:00
rldhont
59e5a68df7
Merge pull request #9526 from rldhont/fix-server-getfeatureinfo-withfilter-withoutcrs
[Bugfix][Server] In WMS GetFeatureInfo CRS param not mandatory when FILTER param
2019-03-21 14:32:06 +01:00
rldhont
4d70a4e28e [Server] Add unit test for WFS GetFeature with BBOX param without EPSG 2019-03-21 09:05:45 +01:00
rldhont
34e67c111e [Bugfix][Server] In WMS GetFeatureInfo CRS param not mandatory when FILTER param
The CRS parameter is considered as mandatory in GetFeatureInfo even if the FILTER parameter is used without I and J parameters.

To fix it, set a fake CRS in the parameter when I/J and X/Y parameters are not defined and FILTER parameter is defined.
2019-03-19 13:54:07 +01:00
David Signer
de96fc75fa tests for scaled symbol sizes 2019-02-25 09:48:52 +01:00
Matthias Kuhn
76ac0f1f3c
Even more test fixes 2019-02-06 20:07:10 +01:00
Matthias Kuhn
0629a1b6da
More test fixes 2019-02-06 20:06:53 +01:00
Matthias Kuhn
a13e50270e
Fix test 2019-02-06 18:21:55 +01:00
Matthias Kuhn
3564838ef2
Fix test 2019-02-06 18:21:29 +01: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