From 0409443b7276d92cff57d90c6e291d341bd9dcc2 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 81cf536..7f3e5bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ Le format est basé sur [Keep a Changelog](https://keepachangelog.com/) et ce pr ## [Unreleased] +### 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 ) {