diff --git a/CHANGELOG.md b/CHANGELOG.md index 69ea14c..ca1d07e 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 e4268e1..c58e12e 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;