291 Commits

Author SHA1 Message Date
Denis Rouzaud
5ca4ef8f3d
QgsField::ConfigurationFlags: use a negative form for the flags so th… (#38805)
* QgsField::ConfigurationFlags: use a negative form for the flags so that default flags is None

this will make this futureproof, so newly added flags won't cause trouble for compatibility with old projects

* follow up

* remove template class

* fix order of init

* follow up

* Revert "update test projects (open and save)"

This reverts commit c738609d9177ed398ba2a0ae0e1c16448accd5f6.

* DoNotExposeVia -> HideFrom
2020-09-17 10:31:22 +02:00
Alessandro Pasotti
4743c67420 Update tests and fix wfs exposed fields list 2020-09-16 18:41:51 +02:00
Denis Rouzaud
c738609d91 update test projects (open and save) 2020-09-15 17:33:53 +02:00
Blottiere Paul
a7df5c95c5 Remove unused project 2020-09-12 05:29:18 +10:00
mhugent
c8082b9ad8
Merge pull request #38349 from mhugent/wms_layer_visibility_checked
WMS Server: display visibilityChecked property of a layer in GetProjectSettings
2020-08-19 08:30:41 +02:00
Marco Hugentobler
cfa719f8d6 Update test reference files 2020-08-18 16:44:25 +02:00
Alessandro Pasotti
01e75082d6 Fix tests for travis env 2020-08-18 09:34:40 +02:00
Alessandro Pasotti
d0fcbec8c7 Server landingpage makes good use of initial extent 2020-08-17 18:02:26 +02:00
Alessandro Pasotti
a04bbe44ca Address PR comments 2020-08-17 10:27:04 +02:00
Alessandro Pasotti
0c34fc56ae Server landing page add test for empty projects 2020-08-17 09:52:54 +02:00
Alessandro Pasotti
facfeb6825 Update tests for the travis env 2020-08-08 09:03:45 +02:00
Alessandro Pasotti
00853d1ab1 Typo 2020-08-06 17:09:51 +02:00
Alessandro Pasotti
158170470f Server landing page test data 2020-08-06 16:19:19 +02:00
Blottiere Paul
ce9e1fffc6 Update unit tests 2020-07-09 09:53:48 +02:00
Alessandro Pasotti
a4b8f72da2 Server WFS3 API: implement sorting
Also revert 2e57d114257ecbc09d44abeee5f7460c20b7b785
because it broke landing page HTML link to OPENAPI
overriding content negotiation.
2020-06-26 11:57:28 +02:00
Alessandro Pasotti
80656cca38 Add test data for GML transformation context 2020-06-09 19:16:48 +02:00
Nyall Dawson
dc1b0aca72 Update tests 2020-06-08 13:30:22 +10:00
Alessandro Pasotti
ec0368edb2 Revert "Add unit test for WFS Post GetFeature Within for EPSG 4326."
This reverts commit d92564a5d0ee2b4862a110bd8b13c4ed78dd43e6.
2020-06-05 08:19:58 +02:00
Alessandro Pasotti
e167ec87ef Revert "Add unit test for WFS GetFeature Within for EPSG 3857 and 'fake' EPSG 3857."
This reverts commit fabdb6442997101779fce7e3d2420d532adc29e9.
2020-06-05 08:19:58 +02:00
Ismail Sunni
fabdb64429 Add unit test for WFS GetFeature Within for EPSG 3857 and 'fake' EPSG 3857. 2020-06-03 08:07:17 +10:00
Ismail Sunni
d92564a5d0 Add unit test for WFS Post GetFeature Within for EPSG 4326. 2020-06-03 08:07:17 +10:00
Even Rouault
e0beec4dfb [Server, WCS] Fix several non compliance errors in CoverageDescription output
There were several non-compliance in the CoverageDescription output to a
DescribeCoverage request. The corrected result has been validated against the
OGC WCS 1.0.0 schema.

Fixes #36504
2020-05-27 19:09:30 +02:00
Alessandro Pasotti
d859bb9530 More getfeatureinfo test updates 2020-05-26 12:03:08 +02:00
Alessandro Pasotti
1e54c6b8f3 Server: respect "use layer ids" option in json getfeatureinfo
Fixes #36262
2020-05-26 10:30:07 +02:00
Nyall Dawson
7cdfef920a More timezone mess 2020-05-14 18:58:53 +10:00
Jorge Gustavo Rocha
285fb3fe1f Fix test_wms_getschemaextension test 2020-04-13 16:30:00 +01:00
Jorge Gustavo Rocha
9a15a3f591 Fix tag order for root layer tag 2020-04-13 14:39:05 +01:00
Jorge Gustavo Rocha
ceaf887eca Fixes #35717 #35710 2020-04-13 14:39:05 +01:00
Jorge Gustavo Rocha
4795ed4d78 Updating QGIS Server WMS GetCapabilities test data 2020-04-13 14:39:05 +01:00
Marco Hugentobler
4cd464059c Revert test gpkg files 2020-03-30 08:26:16 +02:00
Marco Hugentobler
934e30f30e Adapt expected test output 2020-03-27 14:38:32 +01:00
Blottiere Paul
b4275674cf Update expected json 2020-03-23 10:01:31 +01:00
Blottiere Paul
0cf9a81b36 More fixes in output json for unit tests 2020-03-11 16:07:26 +01:00
Blottiere Paul
2a6e007408 Fix test for json landing page 2020-03-11 13:37:31 +01:00
Blottiere Paul
438cedfc5f Update json result 2020-03-11 11:00:16 +01:00
Blottiere Paul
c56889ab0a Update html anding page for tests 2020-03-11 10:58:40 +01:00
rldhont
1402d0d6d7 [Bugfix][Server] WMS GetFeatureInfo provides bounding box when configured
Some providers always retrieve geometry even if the NoGeometry flags is used in request. So in WMS GetFeatureInfo the bounding box even if it as not been configured.

The `WIT_GEOMETRY` parameter has been introduced to force getting the geometry. The project can contain a parameter to add wkt geometry in the WMS GetFeatureInfo response: `wmsFeatureInfoAddWktGeometry`

To provide something more homogeneous:
* The wkt geometry is only provided if the project has been configured to provide wkt geometry and the request contains WITH_GEOMETRY.
* The bounding box is provided if the project has been configured to provide wkt geometry
* The bounding box is not provided if the project has not been configured to provide wkt geometry
2020-02-28 14:04:04 +01:00
Alessandro Pasotti
f1c6bdf00c Move jsonformatter to own dir, add license and src
Fixes #34586
2020-02-23 18:08:36 +01:00
Marco Hugentobler
ad3db5e786 Adapt unit test output 2020-02-12 12:08:36 +01:00
Matthias Kuhn
577e7210db Merge pull request #33952 from m-kuhn/server_wms_equal_layer_name
[server] do not drop layers with duplicate names
2020-02-08 23:04:49 +01:00
Juergen E. Fischer
14e73164ac wfs server: don't report unsupported DWithin/Beyond in capabilities and properly report failure to decode filters containing them 2020-01-30 09:19:34 +01:00
Matthias Kuhn
b25c043015 Add unit test 2020-01-22 15:46:00 +01:00
Marco Hugentobler
9fca4982d3 Add unit test for opacity in GetProjectSettings 2020-01-21 09:07:59 +01:00
Marco Hugentobler
ae204986ef Adapt expected getprojectsettings output 2020-01-20 15:11:26 +01:00
rldhont
6fdc99be1e [Tests][Server] Add WMS GetFeatureInfo GML tests 2019-11-29 11:58:59 +10:00
Jorge Gustavo Rocha
529aea6f4e Fix WMTS Capabilities document and related tests 2019-11-25 10:12:09 +10:00
rldhont
b14d7a8d0e
Merge pull request #32800 from rldhont/fix-server-round-precision-extent
[Bugfix][Server] Correctly round extent coordinates in services capabilities
2019-11-21 19:02:29 +01:00
rldhont
a60ea5d78e [Server] Update WMS GetProjectSettings tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00
rldhont
0808c2babb [Server] Update WCS tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00
rldhont
90f325a810 [Server] Update WMS tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00