32 Commits

Author SHA1 Message Date
Jean Felder
c2d8538dd6
server: Use URNs by default for WFS 1.1
QGIS server and the the WFS provider do not have the same behavior
regarding "ESPG:4326" and axis inversion for WFS 1.1.

QGIS server follows Geoserver convention and does not invert the
coordinates with EPSG:4326. However, the WFS provider inverts the
coordinates in that case.

Based on earlier discussions, there is no clear consensus what the
expected behavior is. However, QGIS server would be better using URNs
for WFS 1.1. this would remove this ambiguity.

With this change, the WFS 1.1 requests from QGIS server now expose
URNs by default. There is no change in the 1.0 case.

The unit tests are updated to reflect this change.

Related: https://github.com/qgis/QGIS/pull/57357
2025-09-04 13:26:45 +02:00
pathmapper
37b2f2257d Address code review comments 2025-06-06 14:25:00 +02:00
pathmapper
52a05a08bd Add project setting to enable HTML GetFeatureInfo maptip-only mode 2025-06-06 10:10:55 +02:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +10:00
Nyall Dawson
c2e294c3fa Use class with static public methods instead of namespace
Namespaces don't work well with sip, eg losing the class docstrings.
2025-03-29 07:55:27 +10:00
Denis Rouzaud
30ea619861
sipify 2024-12-10 14:52:35 +01:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
tomass
1180128b72 Option to skip name attribute for groups in wms capabilities document 2023-11-15 19:17:17 +02:00
Nyall Dawson
50c76929e1
Followup 30700f1, ensure links to Qgis members are set in docstrings 2023-03-31 10:46:24 +10:00
Harrissou Sant-anna
79bd12c207 Fix typos in QGIS Server service_url docs 2022-12-09 13:24:37 +10:00
Marco Hugentobler
6373766780 Add project option WMSAddLayerGroupsLegendGraphic 2022-09-29 15:25:05 +02:00
Stéphane Brunner
3202e3ac70 [Server][Feature][needs-docs] Make service URL configurable
The goals are:
* To have better result in the GetCapabilities URL without having to fill it in the Project configuration
* Be able to be set by an integrator with environment variable or by providing headers from a proxy

The server resolution will use the following order:
 - Value defined in the project per service.
 - The ``<service>_SERVICE_URL`` environment variable.
 - The ``SERVICE_URL`` environment variable.
 - The custom ``X-Qgis-<service>-Servcie-Url`` header.
 - The custom ``X-Qgis-Service-Url`` header.
 - Build form the standard ``Forwarded`` header.
 - Build form the pseudo standard ``X-Forwarded-Host`` and ``X-Forwarded-Proto`` headers.
 - Build form the standard ``Host`` header and the server protocol.
 - Build form the server name and the server protocol.
2021-04-15 09:24:41 +02:00
Nyall Dawson
22a4b881d3 Sipify 2021-02-12 15:41:14 +10:00
Nyall Dawson
d5e2051818 Spelling 2021-02-12 15:41:14 +10:00
Nyall Dawson
4b921d9ee9 Respect project "avoid tile artefacts" setting when rendering
a project using WMS services

Fixes #37679
2021-02-12 15:41:14 +10:00
Marco Hugentobler
090cd5c036 Add project setting if attribute form should be considered for feature info 2021-01-15 11:27:22 +01:00
pathmapper
d9c220882b Addressing code review comments 2021-01-05 04:18:51 +10:00
pathmapper
7ef6f6ac64 Run sipify_all to fix qgsserverprojectutils.sip.in 2021-01-05 04:18:51 +10:00
rldhont
656f9e04bc [Bugfix][Server] Use floor and ceil for round extent coordinates in services capabilities 2019-11-20 21:46:56 +01:00
Éric Lemoine
23872fcc41 Improve the API docs 2019-06-18 14:48:23 +02:00
lbartoletti
35c4209bfd New parameter for WMS service: tile_buffer [needs-docs][FEATURE] 2019-06-04 07:20:29 +02:00
David Signer
450e193c85 fix comment since 3.4 2019-04-24 14:22:39 +02:00
David Signer
27fc381600 fix comment 2019-04-12 22:24:42 +02:00
David Signer
1c3cfd1e13 use calculation factor for scale 2019-04-11 11:42:45 +02:00
David Signer
7ef426b0ef using of configured default map units per mm for legend symbols in case no BBOX parameter is passed 2019-04-11 11:42:45 +02:00
Marco Hugentobler
4e29558808 Add doc for new function 2019-01-05 15:19:56 +01:00
Marco Hugentobler
2e7bf12ee1 Possibility to restrict number of atlas features (default: 1) 2019-01-05 15:19:55 +01:00
Denis Rouzaud
711ec1de47 forward declaration of QgsProject 2018-10-08 13:01:16 -08:00
rldhont
6b8d04b081 [Server] Various code cleaning for server cache manager and WMTS service 2018-08-28 14:22:24 +02:00
rldhont
df03b63bc4 [Server][Feature][needs-docs] Add ability to define ResourceURL for WMTS 2018-08-23 14:30:45 +02:00
Denis Rouzaud
8b130f1c14 move auto generated sip file in dedicated folder (server+analysis) 2018-05-14 10:41:52 -04:00