Skip to content

Commit

Permalink
Merge pull request #288 from mviewer/issue-287
Browse files Browse the repository at this point in the history
Mise à jour des URLS IGN vers la Geoplateforme
  • Loading branch information
lecault authored Jan 5, 2024
2 parents 944ea56 + 70e19ee commit 9a6f4a2
Show file tree
Hide file tree
Showing 5 changed files with 132 additions and 94 deletions.
109 changes: 64 additions & 45 deletions config-php-sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app_conf": {
"studio_title": "GéoBretagne mviewer studio",
"mviewer_version": "3.9",
"mviewerstudio_version": "4.0.1",
"mviewerstudio_version": "4.0.2",
"is_php": "true",
"php": {
"upload_service": "srv/php/store.php",
Expand Down Expand Up @@ -49,13 +49,28 @@
"id": "ortho_ign",
"thumbgallery": "img/basemap/ortho.jpg",
"title": "IGN",
"label": "Photographies aériennes IGN",
"label": "Photographies aériennes",
"type": "WMTS",
"url": "https://wxs.ign.fr/choisirgeoportail/geoportail/wmts?",
"url": "https://data.geopf.fr/wmts",
"layers": "ORTHOIMAGERY.ORTHOPHOTOS",
"format": "image/jpeg",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"plan_ign": {
"id": "plan_ign",
"thumbgallery": "img/basemap/scan-express.jpg",
"title": "IGN",
"label": "Plan IGN v2",
"type": "WMTS",
"url": "https://data.geopf.fr/wmts",
"layers": "GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2",
"format": "image/png",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
Expand All @@ -79,50 +94,69 @@
"url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
"attribution": "<a href=\"https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9\" target=\"_blank\" >Esri world imagery</a>"
},
"ortho1": {
"id": "ortho1",
"thumbgallery": "img/basemap/ortho.jpg",
"title": "GéoBretagne",
"label": "Photo aérienne actuelle GéoBretagne",
"type": "WMTS",
"url": "https://tile.geobretagne.fr/gwc02/service/wmts",
"layers": "satellite",
"format": "image/png",
"style": "_null",
"matrixset": "EPSG:3857",
"fromcapacity": "false",
"attribution": "<a href=\"https://geobretagne.fr/geonetwork/srv/fre/catalog.search#/metadata/3a0ac2e3-7af1-4dec-9f36-dae6b5a8c731\" target=\"_blank\" >partenaires GéoBretagne - Megalis Bretagne - IGN - PlanetObserver</a>"
},
"ortho_ir": {
"id": "ortho_ir",
"thumbgallery": "img/basemap/ir.jpg",
"title": "GéoBretagne",
"label": "Photo aérienne infra rouge GéoBretagne",
"title": "IGN",
"label": "Photographies aériennes infrarouge",
"type": "WMTS",
"url": "https://geobretagne.fr/geoserver/gwc/service/wmts",
"layers": "photo:ir-composite",
"url": "https://data.geopf.fr/wmts",
"layers": "ORTHOIMAGERY.ORTHOPHOTOS.IRC",
"format": "image/jpeg",
"style": "_null",
"matrixset": "EPSG:3857",
"fromcapacity": "false",
"attribution": "<a href=\"https://geobretagne.fr/geonetwork/srv/fre/catalog.search#/metadata/434b82a8-8d3c-4d9f-9eb3-0485f1a63eb6\" target=\"_blank\" >partenaires GéoBretagne - Megalis Bretagne - IGN</a>"
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"ortho_ancienne": {
"id": "ortho_ancienne",
"thumbgallery": "img/basemap/ortho-ancien.jpg",
"title": "IGN",
"label": "Photographies aériennes anciennes",
"type": "WMTS",
"url": "https://data.geopf.fr/wmts",
"layers": "ORTHOIMAGERY.ORTHOPHOTOS.1950-1965",
"format": "image/png",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"osm_google": {
"id": "osm_google",
"thumbgallery": "img/basemap/osm_google.png",
"title": "GéoBretagne",
"label": "OpenStreetMap GéoBretagne",
"type": "WMS",
"url": "https://osm.geobretagne.fr/gwc01/service/wms",
"label": "OpenStreetMap style Google",
"type": "WMTS",
"url": "https://tile.geobretagne.fr/osm/service",
"layers": "osm:google",
"format": "image/png",
"attribution": "GéoBretagne. Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a>, <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>"
"attribution": "GéoBretagne. Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a>, <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"osm_grey": {
"id": "osm_grey",
"thumbgallery": "img/basemap/osm_grey.png",
"title": "GéoBretagne - GéoGrandEst",
"label": "OpenStreetMap style noir et blanc",
"type": "WMTS",
"url": "https://tile.geobretagne.fr/osm/service",
"layers": "osm:grey",
"format": "image/png",
"attribution": "GéoBretagne - GéoGrandEst. Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a>, <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"osm": {
"id": "osm",
"thumbgallery": "img/basemap/osm.png",
"title": "OSM",
"label": "OpenStreetMap",
"label": "OpenStreetMap classique",
"type": "OSM",
"url": "https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",
"attribution": "Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a><a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>"
Expand All @@ -136,21 +170,6 @@
"maxzoom": "20",
"url": "https://tile.openstreetmap.bzh/br/{z}/{x}/{y}.png",
"attribution": "Kendaolerien <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a>"
},
"plan_ign": {
"id": "plan_ign",
"thumbgallery": "img/basemap/scan-express.jpg",
"title": "IGN",
"label": "Plan IGN v2",
"type": "WMTS",
"url": "https://wxs.ign.fr/choisirgeoportail/geoportail/wmts?",
"layers": "GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2",
"format": "image/png",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
}
},
"data_providers": {
Expand Down
109 changes: 64 additions & 45 deletions config-python-sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"app_conf": {
"studio_title": "Mviewer Studio",
"mviewer_version": "3.9",
"mviewerstudio_version": "4.0.1",
"mviewerstudio_version": "4.0.2",
"api": "api/app",
"store_style_service": "api/style",
"mviewer_instance": "/mviewer/",
Expand Down Expand Up @@ -43,13 +43,28 @@
"id": "ortho_ign",
"thumbgallery": "img/basemap/ortho.jpg",
"title": "IGN",
"label": "Photographies aériennes IGN",
"label": "Photographies aériennes",
"type": "WMTS",
"url": "https://wxs.ign.fr/choisirgeoportail/geoportail/wmts?",
"url": "https://data.geopf.fr/wmts",
"layers": "ORTHOIMAGERY.ORTHOPHOTOS",
"format": "image/jpeg",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"plan_ign": {
"id": "plan_ign",
"thumbgallery": "img/basemap/scan-express.jpg",
"title": "IGN",
"label": "Plan IGN v2",
"type": "WMTS",
"url": "https://data.geopf.fr/wmts",
"layers": "GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2",
"format": "image/png",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
Expand All @@ -73,50 +88,69 @@
"url": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
"attribution": "<a href=\"https://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9\" target=\"_blank\" >Esri world imagery</a>"
},
"ortho1": {
"id": "ortho1",
"thumbgallery": "img/basemap/ortho.jpg",
"title": "GéoBretagne",
"label": "Photo aérienne actuelle GéoBretagne",
"type": "WMTS",
"url": "https://tile.geobretagne.fr/gwc02/service/wmts",
"layers": "satellite",
"format": "image/png",
"style": "_null",
"matrixset": "EPSG:3857",
"fromcapacity": "false",
"attribution": "<a href=\"https://geobretagne.fr/geonetwork/srv/fre/catalog.search#/metadata/3a0ac2e3-7af1-4dec-9f36-dae6b5a8c731\" target=\"_blank\" >partenaires GéoBretagne - Megalis Bretagne - IGN - PlanetObserver</a>"
},
"ortho_ir": {
"id": "ortho_ir",
"thumbgallery": "img/basemap/ir.jpg",
"title": "GéoBretagne",
"label": "Photo aérienne infra rouge GéoBretagne",
"title": "IGN",
"label": "Photographies aériennes infrarouge",
"type": "WMTS",
"url": "https://geobretagne.fr/geoserver/gwc/service/wmts",
"layers": "photo:ir-composite",
"url": "https://data.geopf.fr/wmts",
"layers": "ORTHOIMAGERY.ORTHOPHOTOS.IRC",
"format": "image/jpeg",
"style": "_null",
"matrixset": "EPSG:3857",
"fromcapacity": "false",
"attribution": "<a href=\"https://geobretagne.fr/geonetwork/srv/fre/catalog.search#/metadata/434b82a8-8d3c-4d9f-9eb3-0485f1a63eb6\" target=\"_blank\" >partenaires GéoBretagne - Megalis Bretagne - IGN</a>"
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"ortho_ancienne": {
"id": "ortho_ancienne",
"thumbgallery": "img/basemap/ortho-ancien.jpg",
"title": "IGN",
"label": "Photographies aériennes anciennes",
"type": "WMTS",
"url": "https://data.geopf.fr/wmts",
"layers": "ORTHOIMAGERY.ORTHOPHOTOS.1950-1965",
"format": "image/png",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr/services-geoplateforme-diffusion' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"osm_google": {
"id": "osm_google",
"thumbgallery": "img/basemap/osm_google.png",
"title": "GéoBretagne",
"label": "OpenStreetMap GéoBretagne",
"type": "WMS",
"url": "https://osm.geobretagne.fr/gwc01/service/wms",
"label": "OpenStreetMap style Google",
"type": "WMTS",
"url": "https://tile.geobretagne.fr/osm/service",
"layers": "osm:google",
"format": "image/png",
"attribution": "GéoBretagne. Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a>, <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>"
"attribution": "GéoBretagne. Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a>, <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"osm_grey": {
"id": "osm_grey",
"thumbgallery": "img/basemap/osm_grey.png",
"title": "GéoBretagne - GéoGrandEst",
"label": "OpenStreetMap style noir et blanc",
"type": "WMTS",
"url": "https://tile.geobretagne.fr/osm/service",
"layers": "osm:grey",
"format": "image/png",
"attribution": "GéoBretagne - GéoGrandEst. Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a>, <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
},
"osm": {
"id": "osm",
"thumbgallery": "img/basemap/osm.png",
"title": "OSM",
"label": "OpenStreetMap",
"label": "OpenStreetMap classique",
"type": "OSM",
"url": "https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",
"attribution": "Données : les contributeurs d'<a href=\"https://www.openstreetmap.org/\" target=\"_blank\">OpenStreetMap </a><a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">ODbL </a>"
Expand All @@ -130,21 +164,6 @@
"maxzoom": "20",
"url": "https://tile.openstreetmap.bzh/br/{z}/{x}/{y}.png",
"attribution": "Kendaolerien <a href=\"https://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a>"
},
"plan_ign": {
"id": "plan_ign",
"thumbgallery": "img/basemap/scan-express.jpg",
"title": "IGN",
"label": "Plan IGN v2",
"type": "WMTS",
"url": "https://wxs.ign.fr/choisirgeoportail/geoportail/wmts?",
"layers": "GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2",
"format": "image/png",
"fromcapacity": "false",
"attribution": "<a href='https://geoservices.ign.fr' target='_blank'><img src='https://geobretagne.fr/pub/logo/099_ign.jpg'></a>",
"style": "normal",
"matrixset": "PM",
"maxzoom": "22"
}
},
"data_providers": {
Expand Down
4 changes: 2 additions & 2 deletions docs/doc_user/param_appli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,8 @@ En :guilabel:`mode avancé`, il est possible de rajouter un fond de plan personn
- OpenStreetMap GéoBretagne
- BDTOPO IGN
* - URL
- https://wxs.ign.fr/agriculture/geoportail/wmts
- https://osm.geobretagne.fr/gwc01/service/wms
- https://data.geopf.fr/wmts
- https://tile.geobretagne.fr/osm/service
- https://wxs.ign.fr/topographie/geoportail/tms/1.0.0/BDTOPO/{z}/{x}/{y}.pbf
* - Identifiant technique
- LANDUSE.AGRICULTURE2021
Expand Down
Binary file added img/basemap/osm_grey.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions mviewerstudio.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"tabs.app.bgcustom.base.label.ph": "Orthophoto",
"tabs.app.bgcustom.base.title.ph": "Orthophotographie France",
"tabs.app.bgcustom.base.thumb.ph": "https://mavignette.png",
"tabs.app.bgcustom.base.url.ph": "https://wxs.ign.fr/essentiels/geoportail/wmts",
"tabs.app.bgcustom.base.url.ph": "https://data.geopf.fr/wmts",
"tabs.app.bgcustom.base.attribution.ph": "IGN - Licence ouverte Etalab 2.0",
"tabs.app.bgcustom.base.style.ph": "normal",
"tabs.app.bgcustom.base.format.ph": "image/png",
Expand Down Expand Up @@ -816,7 +816,7 @@
"tabs.app.bgcustom.base.label.ph": "Orthophoto",
"tabs.app.bgcustom.base.title.ph": "Orthophotography France",
"tabs.app.bgcustom.base.thumb.ph": "https://mavignette.png",
"tabs.app.bgcustom.base.url.ph": "https://wxs.ign.fr/essentiels/geoportail/wmts",
"tabs.app.bgcustom.base.url.ph": "https://data.geopf.fr/wmts",
"tabs.app.bgcustom.base.attribution.ph": "IGN - Open Licence Etalab 2.0",
"tabs.app.bgcustom.base.style.ph": "normal",
"tabs.app.bgcustom.base.format.ph": "image/png",
Expand Down

0 comments on commit 9a6f4a2

Please sign in to comment.