Skip to content

Release 6.1.1 #45

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 6.1.1

### [Fixed]

* `WMS` : correction de l'URL du site du fournisseur du service dans le GetCapabilities
* `WMTS` : correction du nom du fournisseur du service dans le GetCapabilities

## 6.1.0

### [Added]
Expand Down
6 changes: 3 additions & 3 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
description: Le serveur implémente les standards ouverts de l’Open Geospatial Consortium (OGC) WMS 1.3.0 et WMTS 1.0.0, ainsi que le TMS (Tile Map Service).
version: "__version__"
servers:
- url: http://localhost/rok4
- url: https://tuiles.ign.fr/rok4

tags:
- name: OGC API Common
Expand Down Expand Up @@ -2166,12 +2166,12 @@ components:
- lanczos_3
- lanczos_4

crs:
extra_crs:
type: array
items:
type: string

tms:
extra_tilematrixsets:
type: array
items:
type: string
Expand Down
2 changes: 1 addition & 1 deletion src/services/wms/getcapabilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ DataStream* WmsService::get_capabilities ( Request* req, Rok4Server* serv ) {
}

service_node.add("OnlineResource.<xmlattr>.xmlns:xlink", "http://www.w3.org/1999/xlink");
service_node.add("OnlineResource.<xmlattr>.xlink:href", endpoint_uri);
service_node.add("OnlineResource.<xmlattr>.xlink:href", services->provider_site);

services->contact->add_node_wms(service_node, services->service_provider);

Expand Down
2 changes: 1 addition & 1 deletion src/services/wmts/getcapabilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ DataStream* WmtsService::get_capabilities ( Request* req, Rok4Server* serv ) {
identification_node.add("ows:AccessConstraints", services->access_constraint);

ptree& provider_node = root.add("ows:ServiceProvider", "");
provider_node.add("ows:ProviderName", services->provider_site);
provider_node.add("ows:ProviderName", services->service_provider);
provider_node.add("ows:ProviderSite.<xmlattr>.xlink:href", services->provider_site);

services->contact->add_node_wmts(provider_node);
Expand Down