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:
Sylvain 2022-09-16 10:58:30 +02:00 committed by GitHub
parent c11eb9a07a
commit 72a92eb156
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 77 additions and 1 deletions

View file

@ -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,
// but unclear because of general issues at z14+z15 as of 06/2019
BR.confLayers.osmapaPl = {

View file

@ -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',
'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': {
'nameShort': 'OSM Turistautak',
'mapUrl': 'https://turistautak.openstreetmap.hu/?zoom={zoom}&lat={lat}&lon={lon}&layers=0B00F'

View file

@ -47,6 +47,12 @@ BR.confLayers.tree = {
]
},
'topplus-open',
{
'FR': [
'ignf-aerial',
'ignf-map',
]
},
{
'IL': [
'Israel_Hiking',