From 50b065634483e9ee34b91f91abc6932862aade16 Mon Sep 17 00:00:00 2001 From: VincentMiras Date: Thu, 9 Apr 2026 16:30:23 +0200 Subject: [PATCH] =?UTF-8?q?fix(ogc)=20:=20IGNGPF-5479=20Ajout=20du=20pr?= =?UTF-8?q?=C3=A9fix=20=20pour=20les=20title=20et=20Abstract?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ src/style/Style.cpp | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 515fdb2..8c76e7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ Le format est basé sur [Keep a Changelog](https://keepachangelog.com/) et ce pr - Compilation des artefacts sous ubuntu 24.04 (compatible debian 13 / trixie) +### Fixed + +- `Style` : Ajout des préfix ogc pour le title et l'abstract sur le wmts + ## [3.0.0] - 2026-03-12 ### Added diff --git a/src/style/Style.cpp b/src/style/Style.cpp index 2d0ef49..a88d74c 100644 --- a/src/style/Style.cpp +++ b/src/style/Style.cpp @@ -312,10 +312,10 @@ void Style::add_node_wmts(ptree& parent, bool default_style) { } for (std::string t : titles) { - node.add("Title", t); + node.add("ows:Title", t); } for (std::string a : abstracts) { - node.add("Abstract", a); + node.add("ows:Abstract", a); } if ( keywords.size() != 0 ) {