Bonjour,
Depuis 3 jours je n'ai plus accès au fond de carte SCAN25 WTMS.
Depuis la bascule Géoservices, j'utilisais sans problème la clé provisoire conseillée "ign_scan_ws", de la façon suivante :
var layerIgnMaps = L.tileLayer("https://data.geopf.fr/private/wmts?SERVICE=WMTS&VERSION=1.0.0&apikey="+CLE_GEOSERVICES+"&REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&LAYER=GEOGRAPHICALGRIDSYSTEMS.MAPS&STYLE=normal&FORMAT=image/jpeg&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}", {
attribution: '©IGN <a href="https://geoservices.ign.fr/" target="_blank"><img src="images/geoservices.png" style="height: 12px;width: 56px;"></a> ',
maxNativeZoom: 18,
maxZoom: 20
});
J'obtiens maintenant l'erreur :
<!DOCTYPE html>
<html>
<head>
<title>Error Page</title>
</head>
<body>
<h1>Error 400</h1>
<p>GET request : Invalid Route. Missing /wmts or /tms in route path/rok4/wmts</p>
</body>
</html>
J'ai essayé d'utiliser les clés disponibles dans mon compte GéoServices, j'ai alors l'erreur suivante :
<html>
<head><title>401 Authorization Required</title></head>
<body>
<center><h1>401 Authorization Required</h1></center>
</body>
</html>
Je ne vois pas que faire pour résoudre le problème.
Si quelqu'un pouvait m'aider...
Merci d'avance.
Cordialement
Michel Delord
Partager