183 Commits

Author SHA1 Message Date
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
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
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