Add ignf aerial pictures and base map (#636)
* add ignf layers * removes ignf-boundaries * Assign France bbox to IGNF layers but don't restrict bounds because world wide coverage in lower zooms Co-authored-by: Sylvain Lafay <sylvain.lafay@gmail.fr> Co-authored-by: Norbert Renner <norbert.renner@gmx.de>
This commit is contained in:
parent
c11eb9a07a
commit
72a92eb156
6 changed files with 77 additions and 1 deletions
|
|
@ -86,6 +86,9 @@ BR.LayersConfig = L.Class.extend({
|
||||||
BR.layerIndex['swisstopo-aerial'].geometry = BR.confLayers.switzerlandPadded;
|
BR.layerIndex['swisstopo-aerial'].geometry = BR.confLayers.switzerlandPadded;
|
||||||
|
|
||||||
BR.layerIndex['1017'].geometry = BR.confLayers.osmapaPl;
|
BR.layerIndex['1017'].geometry = BR.confLayers.osmapaPl;
|
||||||
|
|
||||||
|
BR.layerIndex['ignf-aerial'].geometry = BR.confLayers.franceBbox;
|
||||||
|
BR.layerIndex['ignf-map'].geometry = BR.confLayers.franceBbox;
|
||||||
},
|
},
|
||||||
|
|
||||||
_addLanguageDefaultLayer: function () {
|
_addLanguageDefaultLayer: function () {
|
||||||
|
|
|
||||||
|
|
@ -1444,6 +1444,34 @@ BR.confLayers.switzerlandPadded = {
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
BR.confLayers.franceBbox = {
|
||||||
|
"type": "Polygon",
|
||||||
|
"coordinates": [
|
||||||
|
[
|
||||||
|
[
|
||||||
|
-6.50391,
|
||||||
|
40.9799
|
||||||
|
],
|
||||||
|
[
|
||||||
|
9.84375,
|
||||||
|
40.9799
|
||||||
|
],
|
||||||
|
[
|
||||||
|
9.84375,
|
||||||
|
51.2894
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-6.50391,
|
||||||
|
51.2894
|
||||||
|
],
|
||||||
|
[
|
||||||
|
-6.50391,
|
||||||
|
40.9799
|
||||||
|
]
|
||||||
|
]
|
||||||
|
]
|
||||||
|
};
|
||||||
|
|
||||||
// osmapa.pl (1017): manually derived from z9-z11, no worldwide tiles >z13,
|
// osmapa.pl (1017): manually derived from z9-z11, no worldwide tiles >z13,
|
||||||
// but unclear because of general issues at z14+z15 as of 06/2019
|
// but unclear because of general issues at z14+z15 as of 06/2019
|
||||||
BR.confLayers.osmapaPl = {
|
BR.confLayers.osmapaPl = {
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,16 @@ BR.confLayers.getPropertyOverrides = function() {
|
||||||
'mapUrl': 'http://www.geodatenzentrum.de/geodaten/gdz_rahmen.gdz_div?gdz_spr=deu&gdz_user_id=0&gdz_akt_zeile=5&gdz_anz_zeile=1&gdz_unt_zeile=41',
|
'mapUrl': 'http://www.geodatenzentrum.de/geodaten/gdz_rahmen.gdz_div?gdz_spr=deu&gdz_user_id=0&gdz_akt_zeile=5&gdz_anz_zeile=1&gdz_unt_zeile=41',
|
||||||
'worldTiles': true // World -z9, Europe -z14
|
'worldTiles': true // World -z9, Europe -z14
|
||||||
},
|
},
|
||||||
|
'ignf-aerial': {
|
||||||
|
'country_code': 'FR',
|
||||||
|
'mapUrl': 'https://www.geoportail.gouv.fr/carte?c={lon},{lat}&z={zoom}&l0=ORTHOIMAGERY.ORTHOPHOTOS::GEOPORTAIL:OGC:WMTS(1)&permalink=yes',
|
||||||
|
'worldTiles': true // -z12
|
||||||
|
},
|
||||||
|
'ignf-map': {
|
||||||
|
'country_code': 'FR',
|
||||||
|
'mapUrl': 'https://www.geoportail.gouv.fr/carte?c={lon},{lat}&z={zoom}&l0=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2::GEOPORTAIL:OGC:WMTS(1)&permalink=yes',
|
||||||
|
'worldTiles': true // -z7
|
||||||
|
},
|
||||||
'OpenStreetMap-turistautak': {
|
'OpenStreetMap-turistautak': {
|
||||||
'nameShort': 'OSM Turistautak',
|
'nameShort': 'OSM Turistautak',
|
||||||
'mapUrl': 'https://turistautak.openstreetmap.hu/?zoom={zoom}&lat={lat}&lon={lon}&layers=0B00F'
|
'mapUrl': 'https://turistautak.openstreetmap.hu/?zoom={zoom}&lat={lat}&lon={lon}&layers=0B00F'
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,12 @@ BR.confLayers.tree = {
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
'topplus-open',
|
'topplus-open',
|
||||||
|
{
|
||||||
|
'FR': [
|
||||||
|
'ignf-aerial',
|
||||||
|
'ignf-map',
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'IL': [
|
'IL': [
|
||||||
'Israel_Hiking',
|
'Israel_Hiking',
|
||||||
|
|
|
||||||
15
layers/extra/ignf-aerial.geojson
Normal file
15
layers/extra/ignf-aerial.geojson
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"geometry": null,
|
||||||
|
"properties": {
|
||||||
|
"attribution": {
|
||||||
|
"html": "© <a href='https://www.ign.fr/' target='_blank'>IGN</a>"
|
||||||
|
},
|
||||||
|
"id": "ignf-aerial",
|
||||||
|
"max_zoom": 21,
|
||||||
|
"name": "IGN France - Photographies aériennes",
|
||||||
|
"type": "tms",
|
||||||
|
"url": "https://wxs.ign.fr/ortho/geoportail/wmts?LAYER=ORTHOIMAGERY.ORTHOPHOTOS&EXCEPTIONS=text/xml&FORMAT=image/jpeg&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
|
||||||
|
},
|
||||||
|
"type": "Feature"
|
||||||
|
}
|
||||||
|
|
||||||
15
layers/extra/ignf-map.geojson
Normal file
15
layers/extra/ignf-map.geojson
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"geometry": null,
|
||||||
|
"properties": {
|
||||||
|
"attribution": {
|
||||||
|
"html": "© <a href='https://www.ign.fr/' target='_blank'>IGN</a>"
|
||||||
|
},
|
||||||
|
"id": "ignf-map",
|
||||||
|
"max_zoom": 21,
|
||||||
|
"name": "IGN France - Plan IGN",
|
||||||
|
"type": "tms",
|
||||||
|
"url": "https://wxs.ign.fr/cartes/geoportail/wmts?LAYER=GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2&EXCEPTIONS=text/xml&FORMAT=image/png&SERVICE=WMTS&VERSION=1.0.0&REQUEST=GetTile&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"
|
||||||
|
},
|
||||||
|
"type": "Feature"
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue