layers |
limite_administrative |
title |
Limite administrative
|
minZoom |
0
|
onZoomGeo |
0 |
/geodata/ne_110m/coastAdminBoundaryLines
|
4 |
/geodata/ne_10m/coastAdminBoundaryLines
|
7 |
nature in ('Limite côtière','Frontière internationale','Limite de région')
|
9 |
nature in ('Limite côtière','Frontière internationale','Limite de région','Limite de département')
|
11 |
all
|
|
style |
function(feature) {
switch (feature.properties.nature) {
case 'Limite côtière': return {color: 'blue', weight: 1};
case 'Frontière internationale': return {color: 'chocolate', weight: 2};
case 'Limite de région': return {color: 'red', weight: 1};
case 'Limite de département': return {color: 'orange', weight: 1};
case 'Limite d\'arrondissement': return {color: 'lightGrey', weight: 1};
case 'Limite de commune': return {color: 'lightGrey', weight: 1};
}
// /geodata/ne_110m/coastAdminBoundaryLines + /geodata/ne_10m/coastAdminBoundaryLines
switch (feature.properties.featurecla) {
case 'Coastline': return {color: 'blue', weight: 1};
default: return {color: 'chocolate', weight: 2};
}
}
|
styleMap |
nature |
Limite côtière |
|
Frontière internationale |
|
Limite de région |
|
Limite de département |
|
Limite d'arrondissement |
|
Limite de commune |
|
|
featurecla |
|
default |
|
|
displayedByDefault |
1
|
ogrPath |
ADMINISTRATIF/LIMITE_ADMINISTRATIVE.shp
|
indexes |
|
|
coastline |
title |
Limite côtière
|
select |
limite_administrative / nature='Limite côtière'
|
style |
color |
blue
|
weight |
2
|
opacity |
0.65
|
|
|
commune |
title |
commune
|
style |
color |
grey
|
weight |
1
|
opacity |
0.65
|
|
ogrPath |
ADMINISTRATIF/COMMUNE.shp
|
indexes |
|
|
noeud_commune |
title |
noeud_commune
|
minZoom |
0
|
onZoomGeo |
0 |
/geodata/ne_10m/populated_places_simple
|
4 |
statut in ('Préfecture de région')
|
7 |
statut in ('Préfecture de région','Préfecture')
|
9 |
statut in ('Préfecture de région','Préfecture','Sous-préfecture')
|
10 |
statut in ('Préfecture de région','Préfecture','Sous-préfecture') or (population >= 10.0)
|
11 |
population >= 1.0
|
13 |
all
|
|
pointToLayer |
function(feature, latlng) {
var label = feature.properties.nom_comm;
var myIcon = L.icon({
iconUrl: '/yamldoc/label.php?color=DarkSlateGray&font=3&label='+label,
iconSize: [label.length7, 13],
iconAnchor: [label.length7/2, 6],
popupAnchor: [label.length*7/2, 6]
});
return L.marker(latlng, {icon: myIcon});
}
|
displayedByDefault |
1
|
ogrPath |
RESEAU_ROUTIER/NOEUD_COMMUNE.shp
|
indexes |
id_rte500 |
1
|
nom_comm |
|
insee_comm |
|
statut |
|
|
|
noeud_routier |
title |
noeud_routier
|
pointToLayer |
function(feature, latlng) {
switch(feature.properties.nature) {
case 'Carrefour simple': return L.marker(latlng, markerLib.junction);
case 'Rond-point': return L.marker(latlng, markerLib.wendepunkt);
case 'Echangeur partiel': return L.marker(latlng, markerLib.parclo);
case 'Echangeur complet': return L.marker(latlng, markerLib.parclo);
case 'Changement d\'attribut': return L.marker(latlng, markerLib.point55);
case 'Noeud représentatif d\'une commune': return L.marker(latlng, markerLib.point77);
default: return L.marker(latlng, markerLib.warning);
}
}
|
ogrPath |
RESEAU_ROUTIER/NOEUD_ROUTIER.shp
|
|
troncon_route |
title |
troncon de route
|
editorialNote |
Collection trop voluminseuse pour être affichée pour les zoom < 8
|
minZoom |
4
|
onZoomGeo |
4 |
/geodata/ne_10m/roads
|
8 |
vocation in ('Type autoroutier')
|
9 |
vocation in ('Type autoroutier','Liaison principale')
|
10 |
vocation in ('Type autoroutier','Liaison principale','Liaison régionale')
|
11 |
all
|
|
style |
function(feature) {
switch (feature.properties.vocation) {
case 'Type autoroutier': return { color: 'violet', weight: 2};
case 'Liaison principale': return { color: 'red', weight: 1};
case 'Liaison régionale': return { color: 'orange', weight: 1};
case 'Liaison locale': return { color: 'gold', weight: 1};
}
switch (feature.properties.scalerank) {
case '3': return { color: 'violet', weight: 2, opacity: 0.9 };
case '4': return { color: 'violet', weight: 2, opacity: 0.9 };
case '5': return { color: 'red', weight: 1, opacity: 0.9};
case '6': return { color: 'red', weight: 1, opacity: 0.9};
case '7': return { color: 'orange', weight: 1, opacity: 0.9};
case '8': return { color: 'orange', weight: 1, opacity: 0.9};
case '9': return { color: 'orange', weight: 1, opacity: 0.9};
case '10': return { color: 'gold', weight: 1, opacity: 0.9};
}
}
|
displayedByDefault |
1
|
ogrPath |
RESEAU_ROUTIER/TRONCON_ROUTE.shp
|
|
aerodrome |
title |
aerodrome
|
pointToLayer |
function(feature, latlng) { return L.marker(latlng, markerLib.airport); }
|
ogrPath |
RESEAU_ROUTIER/AERODROME.shp
|
|
communication_restreinte |
title |
Communication restreinte
|
ogrPath |
RESEAU_ROUTIER/COMMUNICATION_RESTREINTE.shp
|
|
noeud_ferre |
title |
Noeud ferré
|
ogrPath |
RESEAU_FERRE/NOEUD_FERRE.shp
|
|
troncon_voie_ferree |
title |
Voie ferrée
|
minZoom |
6
|
onZoomGeo |
6 |
nature='LGV'
|
8 |
nature='LGV' or energie='Electrifiée'
|
10 |
all
|
|
style |
function(feature) {
if (feature.properties.nature=='LGV')
return { color: 'black', weight: 2, opacity: 0.65 };
else if (feature.properties.energie=='Electrifiée')
return { color: 'black', weight: 1, opacity: 0.65 };
else
return { color: 'black', weight: 1,
stroke_dasharray:'8,2',
'line-dasharray': [2, 1],
'dasharrayx': [2, 5],
'dasharray': '4, 5',
opacity: 0.65 };
}
|
displayedByDefault |
1
|
ogrPath |
RESEAU_FERRE/TRONCON_VOIE_FERREE.shp
|
|
cote_frontiere |
title |
cote_frontiere
|
ogrPath |
HABILLAGE/COTE_FRONTIERE.shp
|
|
troncon_hydrographique |
title |
Cours d’eau
|
editorialNote |
Collection trop voluminseuse pour être affichée pour les zoom < 8
|
minZoom |
0
|
onZoomGeo |
0 |
/geodata/ne_110m/rivers_lake_centerlines
|
4 |
/geodata/ne_10m/rivers_lake_centerlines_scale_rank
|
8 |
largeur in ('Plus de 50 mètres')
|
9 |
largeur in ('Plus de 50 mètres','Entre 15 et 50 mètres')
|
10 |
largeur in ('Plus de 50 mètres','Entre 15 et 50 mètres','De 0 à 15 mètres')
|
11 |
all
|
|
style |
color |
MediumBlue
|
weight |
1
|
opacity |
0.65
|
|
displayedByDefault |
1
|
ogrPath |
HABILLAGE/TRONCON_HYDROGRAPHIQUE.shp
|
|
zone_occupation_sol |
title |
zone_occupation_sol
|
style |
function(feature) {
switch (feature.properties.nature) {
case 'Eau': return { color: 'blue', weight: 0};
case 'Forêt': return { color: 'lightGreen', weight: 0, opacity: 0.65};
case 'Bâti': return { color: 'darkOrange', weight: 0, opacity: 0.65};
}
}
|
styleMap |
nature |
Eau |
|
Forêt |
color |
lightGreen
|
weight |
0
|
|
Bâti |
color |
darkOrange
|
weight |
0
|
|
|
default |
|
|
ogrPath |
HABILLAGE/ZONE_OCCUPATION_SOL.shp
|
|
zone_batie |
title |
zone_batie
|
select |
zone_occupation_sol / nature='Bâti'
|
style |
color |
orange
|
weight |
2
|
opacity |
0.65
|
|
|
badLayer |
|
badSelect |
title |
badSelect
|
select |
limite administrative / nature='Frontière internationale'
|
|
badOnZoomGeo |
title |
badOnZoomGeo
|
onZoomGeox |
0 |
- /geodata/ne_110m/admin_0_boundary_lines_land
|
1 |
7 |
nature='Limite côtière'
|
|
2 |
|
|
|
|