Skip to content

Commit

Permalink
Correction des informations sur le fournisseur dans les GetCapabiliti…
Browse files Browse the repository at this point in the history
…es WMS et WMTS
  • Loading branch information
Dolite committed Oct 11, 2024
1 parent 1aee756 commit 5f18cec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
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
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

0 comments on commit 5f18cec

Please sign in to comment.