From 6ee31e3ad308a5dacac70ebcfdc76d91865950d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Satabin?= Date: Fri, 16 Oct 2026 18:54:02 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20en=20conformit=C3=A9=20OGC=20API=20Tiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Fixed - Les URL des CRS sont écrites en en http (compatibilité OpenLayers pour API Tiles) --- CHANGELOG.md | 5 +++++ src/utils/CRS.cpp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ea14cb..ca1d07ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ Le format est basé sur [Keep a Changelog](https://keepachangelog.com/) et ce pr ## [Unreleased] +## [5.0.1] - 2026-10-16 + +### Fixed +- Les URL des CRS sont écrites en en http (compatibilité OpenLayers pour API Tiles) + ## [5.0.0] - 2026-10-16 ### Changed diff --git a/src/utils/CRS.cpp b/src/utils/CRS.cpp index e4268e1a..c58e12e5 100644 --- a/src/utils/CRS.cpp +++ b/src/utils/CRS.cpp @@ -207,13 +207,13 @@ std::string CRS::get_url() { std::string code = get_identifier(); if (auth == "EPSG") { - return "https://www.opengis.net/def/crs/EPSG/0/" + code; + return "http://www.opengis.net/def/crs/EPSG/0/" + code; } else if (auth == "IGNF") { return "http://registre.ign.fr/ign/IGNF/crs/IGNF/" + code; } else if (auth == "OGC") { - return "https://www.opengis.net/def/crs/OGC/0/" + code; + return "http://www.opengis.net/def/crs/OGC/1.3/" + code; } else { return request_code;